How do I delete old packages in local repository server?

Solution Verified - Updated -


A local repository server downloads newest rpm package by reposync -n command.
Many packages duplicate in some versions in a directory after more than once the "reposync -n" command executes.
How do I delete the old packages?


Red Hat Enterprise Linux Server

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