Fedora

Fedora 17 軟體更新中剩餘的未完成事務

  • April 14, 2013

當我在 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

引用自:https://serverfault.com/questions/499142