bpkg-pkg-purge(1)
π bpkg-pkg-purge(1) β General Commands Manual π
okay so bestie, welcome to the pkg-purge page from the bpkg manual set. this is the one where we make a package disappear. let's get into it β¨
πΈ NAME πΈ
bpkg-pkg-purge β purge package. yes, that's the whole thing. it purges. iconic behavior honestly.
π¦ SYNOPSIS π¦
bpkg pkg-purge [options] pkg
β¨ DESCRIPTION β¨
okay so here's the tea β β the pkg-purge command removes the package directory and archive from the filesystem and removes the package from the configuration. like, gone gone. no cap.
now, only packages in the fetched and unpacked state (peep bpkg-pkg-status(1) for that whole situation) can be purged. plus broken packages β but only if you specify the --force|-f option. (scroll down to that option's description for the deets on purging broken packages, bestie, it's giving β¨special caseβ¨).
and if you specify the --keep|-k option? then the package archive does not get removed. again, option description below has the full lore on that mode. π«Ά
π PKG-PURGE OPTIONS π
--keep|-kβ Keep the package archive. heads up though: in this mode the package is still retained in the configuration's database, in thefetchedstate. so like, not a full ghosting. π»--force|-fβ Purge a broken package. in this modebpkgwill verify that the package directory and archive no longer exist, and then remove the package from the configuration. checks first, deletes second. queen behavior π--directory|-ddir β Assume configuration is in dir rather than in the current working directory.
π COMMON OPTIONS π
these are the shared ones, summarized below β the full β¨deluxeβ¨ description lives in bpkg-common-options(1).
-vβ Print essential underlying commands being executed.-Vβ Print all underlying commands being executed.--quiet|-qβ Run quietly, only printing error messages.--verboselevel β Set the diagnostics verbosity to level between0and6.--stdout-formatformat β Representation format to use for printing to stdout.--jobs|-jnum β Number of jobs to perform in parallel.--no-resultβ Don't print informational messages about the outcome of performing a command or some of its parts.--structured-resultfmt β Write the result of performing a command in a structured form.--progressβ Display progress indicators for long-lasting operations, such as network transfers, building, etc.--no-progressβ Suppress progress indicators for long-lasting operations, such as network transfers, building, etc.--diag-colorβ Use color in diagnostics.--no-diag-colorβ Don't use color in diagnostics.--buildpath β The build program to be used to build packages.--build-optionopt β Additional option to be passed to the build program.--fetchpath β The fetch program to be used to download resources.--fetch-optionopt β Additional option to be passed to the fetch program.--fetch-timeoutsec β The fetch and fetch-like (for example,git) program timeout.--pkg-proxyurl β HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories.--gitpath β The git program to be used to fetch git repositories.--git-optionopt β Additional common option to be passed to the git program.--sha256path β The sha256 program to be used to calculate SHA256 sums.--sha256-optionopt β Additional option to be passed to the sha256 program.--tarpath β The tar program to be used to extract package archives.--tar-optionopt β Additional option to be passed to the tar program.--opensslpath β The openssl program to be used for crypto operations.--openssl-optionopt β Additional option to be passed to the openssl program.--authtype β Types of repositories to authenticate.--trustfingerprint β Trust repository certificate with a SHA256 fingerprint.--trust-yesβ Assume the answer to all authentication prompts is yes.--trust-noβ Assume the answer to all authentication prompts is no.--git-capabilitiesup=pc β Protocol capabilities (pc) for a git repository URL prefix (up).--pagerpath β The pager program to be used to show long text.--pager-optionopt β Additional option to be passed to the pager program.--options-filefile β Read additional options from file.--default-optionsdir β The directory to load additional default options files from.--no-default-optionsβ Don't load default options files.--keep-tmpβ Don't remove the bpkg's temporary directory at the end of the command execution and print its path at the verbosity level2or higher.
π§ DEFAULT OPTIONS FILES π§
wanna know the whole default-options-files situation? go read bpkg-default-options-files(1) for the overview, bestie. for the pkg-purge command specifically, the search start directory is the configuration directory. π±
these options files get searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-pkg-purge.options
and the following pkg-purge command options cannot be specified in the default options files:
--directory|-d
soz, that one's gotta come from your actual command line. rules are rules π
π BUGS π
found a bug? send bug reports to the users@build2.org mailing list. tell them we sent you. π
β COPYRIGHT β
Copyright (c) 2014-2024 the build2 authors.
Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
and that's the whole page, bestie!! π this was bpkg version 0.17.0, from June 2024, and it's page bpkg-pkg-purge(1) of the manual. slay, go purge responsibly πβ¨π¦
π¦ where this page comes from
- fedora 43: bpkg 0.17.0-5.fc43 Β· MIT
- fedora 44: bpkg 0.17.0-7.fc44 Β· MIT
- nixos 26.05: bpkg 0.17.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms