首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >yum安装失败并损坏了原始yum

yum安装失败并损坏了原始yum
EN

Stack Overflow用户
提问于 2013-07-16 07:47:54
回答 1查看 1.4K关注 0票数 0

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

代码语言:javascript
复制
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。

谢谢!

EN

回答 1

Stack Overflow用户

发布于 2013-07-19 03:14:48

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

然后

使用以下命令安装它:

.rpm -ivh yum-(版本) rpm

如果yum在本地安装中运行良好,但它无法访问Red Hat Network,请验证是否安装了以下软件包。如果没有,请安装它们:

代码语言:javascript
复制
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
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17665790

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档