fedora 11 使用yum update,然后中断(ctrl+c)引发问题求助
1,提示需要首先运行,yum-complete-transaction,但是在网上查到是下面的解决方案:
处理步骤:
# 安装 yum-complete-transaction
yum install yum-utils
# 运行 yum-complete-transaction
yum-complete-transaction –cleanup-only
# 清除可能存在的重复包
package-cleanup –dupes
# 清除可能存在的损坏包
package-cleanup –problems
但是采用之后存在问题:
CRITICAL:yum.verbose.cli.yumcompletets:配置错误: Error accessing file for config
file:///root/leanup-only
如何解决??
2,再次运行yum update时出现下面的情况:
yum-complete-transaction
--> 丢失的依赖
相关: PackageKit = 0.4.6-8.fc11 被包 PackageKit-glib-0.4.6-8.fc11.i586 (installed) 所需要
错误: python-devel conflicts with python
错误: 丢失的依赖相关: PackageKit = 0.4.6-8.fc11 被包
PackageKit-glib-0.4.6-8.fc11.i586 (installed) 所需要
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
You have new mail in /var/spool/mail/root
------解决方案--------------------
输入yum clean all
再试试!
------解决方案--------------------
这个挺麻烦的,前几天刚把这个问题给弄了
yum update ----skip-broken可以把坏了的包个乎略了,这样就可以update成功