XBPS-RINDEX(1)
π xbps-rindex β the glow-up page for your local binary package repos π
okay bestie, welcome to xbps-rindex(1), from the General Commands Manual fam β this is the little icon that creates, updates and yeets obsolete binary packages living in your local repositories. she's giving librarian-with-a-clipboard energy and honestly? we stan. β¨
πΈ SYNOPSIS πΈ
xbps-rindex [OPTIONS] MODE [ARGUMENTS]
π¦ DESCRIPTION π¦
The xbps-rindex utility creates, updates and removes obsolete binary packages stored in local repositories. that's it, that's the whole vibe β she keeps your repo tidy so you don't have to. no cap. π
β¨ OPTIONS β¨
-d,--debugβ turns on extra debugging output, printed to stderr. loud and proud, we love a transparent queen. π--compression none | gzip | bzip2 | xz | lz4 | zstdβ picks the repodata compression format. if you don't set it, it defaults tozstd. so if you're not specifying, zstd is your main character. π-C,--hashcheckβ while cleaning, check not just that the file exists but that it has the correct file hash too. literally a vibe check for your files. this flag is only useful with thecleanmode. π-f,--forceβ forcefully register a binary package into the local repository, overwriting the existing entry. or forcefully create a package signature even if one already exists. this flag is only useful with theaddorsign-pkgmodes. she does not ask permission. π«Ά-h,--helpβ shows the help message. classic, iconic, always there for you. π₯°-V,--versionβ shows the version information. π«--signedbystring β this one is required to sign a repository: a description of the person signing the repository, i.e. name and email. put your name on it, bestie, you're the signer. βοΈ--privkeykey β path to the private RSA key used to sign the repository. if unset, it defaults to~/.ssh/id_rsa. π
π MODE π
pick a mode, any mode β but like, actually pick one. this is the whole point. π
-a,--add/path/to/repository/binpkg.xbps ...β registers the binary package into the local repository. the specified binary package is only added to the index if its version is greater than the one currently stored β so if it's not newer, she's not interested. use-fto forcefully register existing packages. multiple binary packages can be specified as arguments. absolute path to the local repository is expected. π₯-c,--clean/path/to/repositoryβ removes obsolete entries found in the local repository. absolute path to the local repository is expected. spring cleaning but make it rpm-adjacent. π§Ή-r,--remove-obsoletes/path/to/repositoryβ removes obsolete packages from the repository. packages that are not currently registered in the repository's index will be removed (out of date, invalid archives, etc). absolute path to the local repository is expected. bye boo ππ-s,--sign/path/to/repositoryβ initializes a signed repository with your specified RSA key. note this only adds some metadata to the repository archive to be able to sign packages. if the--privkeyargument is not set, it defaults to~/.ssh/id_rsa. β¨-S,--sign-pkg/path/to/repository/binpkg.xbps ...β signs a binary package archive with your specified RSA key. if the--privkeyargument is not set, it defaults to~/.ssh/id_rsa. if there's an existing signature, it won't be overwritten; use the-foption to force the creation. no sneaky overwrites in this house. π«
π ENVIRONMENT π
XBPS_ARCHβ overrides theuname(2)machine result with this value. useful to install packages with a fake architecture. lowkey cosplay for your CPU. πXBPS_TARGET_ARCHβ sets the target architecture to this value. this variable differs fromXBPS_ARCHin that it allows you to install packages partially, because the configuration phase is skipped (the target binaries might not be compatible with the native architecture). πXBPS_PASSPHRASEβ if this is set, it will use this passphrase for the RSA private key when signing a repository. otherwise it will ask you to enter the passphrase on the terminal. no passphrase stored in plain sight, mwah. π
π¦ SEE ALSO π¦
xbps-alternatives(1), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1), xbps-digest(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(1), xbps-uchroot(1), xbps-uunshare(1), xbps.d(5)
the whole squad, fr fr. go read them, they're all icons. π
π AUTHORS π
- Juan Romero Pardines
<xtraeme@gmail.com> - Enno Boland
<gottox@voidlinux.org>
π BUGS π
probably, but I try to make this not happen. use it under your own responsibility and enjoy your life. π
report bugs at https://github.com/void-linux/xbps/issues β please do, the maintainers are lovely and they want to know. π«Ά
and that's the tea, bestie π this page came courtesy of Debian, dated Feb 9, 2023, and it's XBPS-RINDEX(1) forever and always β now go forth and let your repo be immaculate. π
β¨π
π¦ where this page comes from
- alpine 3.24: xbps-doc 0.60.6-r1 Β· BSD-2-Clause AND BSD-3-Clause AND ISC
- nixos 26.05: xbps 0.60.7
- nixpkgs unstable: xbps 0.60.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms