How does "--delete" option of 'reposync' remove the old packages?

Solution Unverified - Updated -

Issue

  • How does "--delete" option of reposync remove the old packages?
  • What happens if it is used with "-n" option on a synchronized repository?
  • What happens if it is used with the "exclude=" option in yum.conf?

Environment

  • Red Hat Enterprise Linux v.8

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