Skip to content

Commit

Permalink
Documentation update for reposync (RhBug:2132383,2182004)
Browse files Browse the repository at this point in the history
The update describe the behavior when `-n` and `--download-metadata`
is used.

https://bugzilla.redhat.com/show_bug.cgi?id=2132383
https://bugzilla.redhat.com/show_bug.cgi?id=2182004
  • Loading branch information
j-mracek authored and pkratoch committed Mar 28, 2023
1 parent 95ff945 commit 48b29df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/reposync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ All general DNF options are accepted. Namely, the ``--repoid`` option can be use
Delete local packages no longer present in repository.

``--download-metadata``
Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c on it.
Download all repository metadata. Downloaded copy is instantly usable as a repository, no need to run createrepo_c
on it. When the option is used with `--newest-only`, only latest packages will be downloaded, but metadata will
still contain older packages. It might be useful to update metadata using `createrepo_c --update` to remove
the packages with missing RPM files from metadata. Otherwise, DNF ends with an error due to the missing files
whenever it tries to download older packages.

``-g, --gpgcheck``
Remove packages that fail GPG signature checking after downloading. Exit code is ``1`` if at least one package was removed.
Expand Down

0 comments on commit 48b29df

Please sign in to comment.