yum 無法安裝軟體套件

yum 無法安裝軟體套件
[root@mypc yum.repos.d]# yum search perl-Locale-gettext
Loaded plugins: dellsysid, fastestmirror
Repository tmz-puppet is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * atomic: www6.atomicorp.com
 * base: mirror.trouble-free.net
 * epel: mirrors.tummy.com
 * extras: eq-centosrepo.hopto.org
 * rpmforge: mirror.hmc.edu
 * updates: mirror.team-cymru.org
=================================================================== N/S Matched: perl-Locale-gettext ====================================================================
perl-Locale-gettext.x86_64 : Internationalization for Perl

  Name and summary matches only, use "search all" for everything.
[root@mypc yum.repos.d]

[root@mypc yum.repos.d]# yum install perl-Locale-gettext
Loaded plugins: dellsysid, fastestmirror
Repository tmz-puppet is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * atomic: mir01.syntis.net
 * base: mirrors.gigenet.com
 * epel: mirror.us.leaseweb.net
 * extras: centos.mirror.lstn.net
 * rpmforge: mirror.hmc.edu
 * updates: centos.mirror.choopa.net
Setting up Install Process
Nothing to do
[root@mypc yum.repos.d]# 

這裡出了什麼問題?

答案1

您問題中的輸出與已安裝的軟體包一致。從以下命令中你會得到什麼?

# yum list | grep -i perl-Locale-gettext
perl-Locale-gettext.x86_64               1.05-1.el6.rf                 rpmforge
# rpm -qa | grep -i perl-Locale-gettext
#

您是在 Dell.com IT 環境中執行此操作嗎?

答案2

所以,問題是該軟體包perl-Locale-gettext已被perl-gettext我已經perl-gettext安裝過時了。我們將一些基礎設施轉移到 Centos6,舊的盒子已經Locale安裝了軟體包。當我們過去puppet管理這些盒子時,它會拋出cannot install package錯誤。

但是,yum卻沒有那麼好心地說出這樣的話。我只是在嘗試通過執行安裝包後才知道這一點rpm -ivh /path/to/package

相關內容