0

我正在尝试使用 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"

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

谢谢

4

1 回答 1

1

问题是我们的网络管理员阻止了从那台机器访问互联网。Yum 只是超时了。

于 2012-05-29T17:47:46.467 回答