Translated message

A translation of this page exists in English.

如何从失败的 yum 事务中删除重复的软件包

Solution In Progress - Updated -

Issue

  • 如何删除在 Red Hat Enterprise Linux 上安装的多个版本的软件包的旧版本?
  • 在 yum 事务失败后,yum-complete-transaction 无法完成,重复的软件包仍然存在。
  • yum 失败并显示
    is a duplicate with
  • package-cleanup --cleandupes 失败并显示 Error: Depsolving loop limit reached

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content