Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Xbps-rindex -

From Void Linux Wiki
Revision as of 02:36, 4 November 2015 by Benjamin Hoffmeyer (talk | contribs) (Created page with "=== xbps-rindex - Create, update and administer local repositories === This command only has 3 operation modes: <ul> <li><p>Add [-a, --all]: adds the specified packages into...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

xbps-rindex - Create, update and administer local repositories

This command only has 3 operation modes:

  • Add [-a, --all]: adds the specified packages into the specified repository and removes previous entry if found:

    $ xbps-rindex -a /path/to/repository/*.xbps

The -f, --force option can be used to forcefully register a package into the repository index, even if the same version is already registered.

  • Clean [-c, --clean]: cleans the index of the specified repository by removing outdated or invalid entries (nonexistent packages, unmatched hashes, etc):

    $ xbps-rindex -c /path/to/repository
  • Remove-obsoletes [-r, --remove-obsoletes]: removes obsolete packages in repository (outdated, broken and unmatched hashes):

    $ xbps-rindex -r /path/to/repository