我有 RHEL6.5。我正在尝试安装一些必需的软件包。以下是响应
Error Downloading Packages:
glibc-2.12-1.132.el6.i686: failure: Packages/glibc-2.12-1.132.el6.i686.rpm from Local: [Errno 256] No more mirrors to try.
cracklib-2.8.16-4.el6.i686: failure: Packages/cracklib-2.8.16-4.el6.i686.rpm from Local: [Errno 256] No more mirrors to try.
nss-softokn-freebl-3.14.3-9.el6.i686: failure: Packages/nss-softokn-freebl-3.14.3-9.el6.i686.rpm from Local: [Errno 256] No more mirrors to try
.
db4-4.7.25-18.el6_4.i686: failure: Packages/db4-4.7.25-18.el6_4.i686.rpm from Local: [Errno 256] No more mirrors to try.
libselinux-2.0.94-5.3.el6_4.1.i686: failure: Packages/libselinux-2.0.94-5.3.el6_4.1.i686.rpm from Local: [Errno 256] No more mirrors to try.
pam-1.1.1-17.el6.i686: failure: Packages/pam-1.1.1-17.el6.i686.rpm from Local: [Errno 256] No more mirrors to try.
audit-libs-2.2-2.el6.i686: failure: Packages/audit-libs-2.2-2.el6.i686.rpm from Local: [Errno 256] No more mirrors to try.
Error code: 1
Failed to install pam.i686
#################################################################################################
ERROR: Failed to install some required packages.
Verify if yum repository is configured. (yum repolist)
You could configure a local repository using the local.repo template in installation directory.
#################################################################################################
以下是 yum repolist 命令的输出:
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
repo id repo name status
Local Local Media Repository 3,690
repolist: 3,690
exiting setup...
答案1
我只需导航到包文件位置并直接安装即可。
谢谢