当我在 Fedora 17 上进行软件更新时,我收到以下消息提示:
There are unfinished transactions remaining. Please run yum-complete-transaction as root.
我按照说明进行操作,但收到此错误:
Error: Trying to remove "yum", which is protected
** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows:
32:bind-libs-9.9.2-7.P2.fc17.x86_64 is a duplicate with 32:bind-libs-9.9.2-5.P1.fc17.x86_64
32:bind-license-9.9.2-7.P2.fc17.noarch is a duplicate with 32:bind-license-9.9.2-5.P1.fc17.noarch
firefox-19.0.2-1.fc17.x86_64 has installed conflicts xulrunner(x86-64) > ('0', '19.1', None): xulrunner-20.0-1.fc17.x86_64
1:java-1.7.0-openjdk-1.7.0.17-2.3.8.3.fc17.x86_64 is a duplicate with 1:java-1.7.0-openjdk-1.7.0.9-2.3.8.0.fc17.x86_64
libipa_hbac-1.9.4-1.fc17.x86_64 is a duplicate with libipa_hbac-1.8.6-1.fc17.x86_64
sssd-1.9.4-1.fc17.x86_64 is a duplicate with sssd-1.8.6-1.fc17.x86_64
sssd-client-1.9.4-1.fc17.x86_64 is a duplicate with sssd-client-1.8.6-1.fc17.x86_64
tzdata-java-2013b-2.fc17.noarch is a duplicate with tzdata-java-2013b-1.fc17.noarch
xulrunner-20.0-1.fc17.x86_64 is a duplicate with xulrunner-19.0.2-1.fc17.x86_64
如何解决这个问题?
安装
yum-utils
包,然后运行package-cleanup --cleandupes
(查看其他选项的手册页),然后重试。您可能需要更新yum
并且可能需要提前更新rpm
。