2013-07-15 77 views
0

我试图安装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。任何人都可以帮助我恢复百胜或重新安装它将受到高度赞赏。

谢谢!

+0

这里是一个链接。我不能担保,因为我从来不需要重新安装yum。 http://hacktux.com/yum/force/reinstall – 2013-07-15 23:50:47

+0

这不是编译失败的安装失败。这根本不应该触及你系统上的任何东西。你有什么实际的yum问题?你为什么试图自己手动安装yum? –

+0

@EtanReisner我用rpm来安装yum。但是有很多依赖,然后我安装了其中的一些。后来我意识到需要太多的依赖关系,所以我放弃了使用这种方式。我在这个链接中下载了一个二进制版本(http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz),并试图使&& make install yum,然后由于某些原因失败列在我的问题日志中。 – damingzi

回答

0

如果要卸载 你可以做转-e百胜

然后

使用安装它:

RPM -ivh yum-(版本)的.rpm

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

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