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淘汰。我们将一些基础设施转移到 Centos6,旧机器上安装了软件包。当我们管理这些机器时,它抛出了错误。perl-gettextperl-gettextLocalepuppetcannot install package

但是,yum这么说不太好。我是在尝试安装该软件包后才知道这一点的rpm -ivh /path/to/package

相关内容