How to use the "--removenewestdupes" parameter with the package-cleanup command?

Solution Verified - Updated -


  • package-cleanup --removenewestdupes gives a help page, instead of removing the newest packages.


  • Red Hat Enterprise Linux (RHEL) 7
  • yum-utils

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In