0

我试图使用命令 make && make install 安装 yum-3.4.3,但显示以下日志失败:

infra-bld4:/tmp/hxu2/yum-3.4.3> make
for d in rpmUtils yum etc docs po; do make PYTHON=python -C $d; [ $? = 0 ] || exit 1 ; done
make-3.79.1-p7[1]: Entering directory `/tmp/hxu2/yum-3.4.3/rpmUtils'
echo "Nothing to do"
Nothing to do
make-3.79.1-p7[1]: Leaving directory `/tmp/hxu2/yum-3.4.3/rpmUtils'
make-3.79.1-p7[1]: Entering directory `/tmp/hxu2/yum-3.4.3/yum'
echo "Nothing to do"
Nothing to do
make-3.79.1-p7[1]: Leaving directory `/tmp/hxu2/yum-3.4.3/yum'
make-3.79.1-p7[1]: Entering directory `/tmp/hxu2/yum-3.4.3/etc'
echo "Nothing to do"
Nothing to do
make-3.79.1-p7[1]: Leaving directory `/tmp/hxu2/yum-3.4.3/etc'
make-3.79.1-p7[1]: Entering directory `/tmp/hxu2/yum-3.4.3/docs'
echo "Nothing to do"
Nothing to do
make-3.79.1-p7[1]: Leaving directory `/tmp/hxu2/yum-3.4.3/docs'
make-3.79.1-p7[1]: Entering directory `/tmp/hxu2/yum-3.4.3/po'
msgfmt -o ca.mo ca.po -c
msgfmt: ca.po: field `Language-Team' still has initial default value
msgfmt: found 1 fatal error
make-3.79.1-p7[1]: *** [ca.mo] Error 1
make-3.79.1-p7[1]: Leaving directory `/tmp/hxu2/yum-3.4.3/po'
make-3.79.1-p7: *** [subdirs] Error 1
infra-bld4:/tmp/hxu2/yum-3.4.3> 

因为我尝试重新安装yum,但是安装中途失败了,糟糕的是我破坏了系统中原来的yum。任何人都可以帮助我恢复 yum 或重新安装它,我们将不胜感激。

谢谢!

4

1 回答 1

0

如果要卸载,可以执行 rpm -e yum

然后

安装它使用:

rpm -ivh yum-(版本).rpm

如果 yum 对于本地安装工作正常,但它无法访问红帽网络,请验证是否安装了以下软件包。如果没有,请安装它们:

rhnsd
yum-rhn-plugin
yum-security
rhn-check
rhn-setup
rhn-setup-gnome
yum-downloadonly
rhn-client-tools
rhn-virtualization-common
rhn-virtualization-host
pirut
yum-updatesd
于 2013-07-18T19:14:48.480 回答