Reposync man page inaccuracies in RHEL 6 and RHEL 7
Issue
Several articles mention the -l flag that can be passed to reposync, but the man page doesn't seem to mention this flag. However, since reposync is a Python script, one can see several undocumented flags that the script will take:
("-l", "--plugins", default=False, action="store_true",
help="enable yum plugin support")
("-m", "--downloadcomps", default=False, action="store_true",
help="also download comps.xml")
("-e", "--cachedir",
help="directory in which to store metadata")
("-d", "--delete", default=False, action="store_true",
help="delete local packages no longer present in repository")
("--norepopath", dest='norepopath', default=False, action="store_true",
help="Don't add the reponame to the download path. Can only be used when syncing a single repository (default is to add the reponame)")
RHEL 7 documentation includes the -l option, but is lacking options -e, -d, -m, and --norepopath.
Environment
Red Hat Enterprise Linux (RHEL) 5
Red Hat Enterprise Linux (RHEL) 6
Red Hat Enterprise Linux (RHEL) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
