无法使用yum更新,看到错误PYCURL ERROR 7 - “无法连接到主机”备选方案?

时间:2012-04-18 05:37:25

标签: sysadmin yum rhel rhel5

我正在尝试使用yum更新PHP模块,但是收到错误。

以下是我正在尝试和看到的内容:

 yum install php-ldap

结果:

Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
          : subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-ldap.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch        Version              Repository                 Size
================================================================================
Installing:
 php-ldap      x86_64      5.3.3-3.el6_2.6      rhel-x86_64-server-6       36 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 36 k
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:


Error Downloading Packages:
  php-ldap-5.3.3-3.el6_2.6.x86_64: failed to retrieve getPackage/php-ldap-5.3.3-          3.el6_2.6.x86_64.rpm from rhel-x86_64-server-6
error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"

我今晚真的需要安装这个模块。我有什么选择?

由于

1 个答案:

答案 0 :(得分:1)

问题是我们的网络管理员已阻止从该计算机访问互联网。百胜刚过时了。