bpkg-pkg-update(1)
π bpkg-pkg-update β the bpkg-pkg-update(1) glow-up β¨
okay bestie, welcome to the General Commands Manual section of the bpkg cinematic universe π this one's called bpkg-pkg-update and it does exactly what it says on the tin: it updates packages. iconic behavior honestly.
πΈ NAME πΈ
bpkg-pkg-update β update package π¦
β SYNOPSIS β
bpkg pkg-update|update [options] [vars] pkg...
bpkg pkg-update|update [options] [vars] --all|-a
bpkg pkg-update|update [options] [vars] (--all-pattern <pattern>)...
π DESCRIPTION π
so like, pkg-update updates the packages you name (that's form one), or all the held packages (form two β peep bpkg-pkg-status(1) for the deets on what "held" even means), or all the held packages that match any of the wildcard patterns you throw at it (form three). and yes, you can also drag the dependencies along for the ride: hit it with --immediate|-i for the immediate ones, or --recursive|-r for all of them, recursively, no cap π₯
under the hood it's not doing some wild sorcery β it's basically just running b update (or one of its update-for-* variants; see --for|-f). π«Ά in that first form, the packages you specify must have already been configured with bpkg-pkg-build(1) or bpkg-pkg-configure(1). no skipping steps, babes.
extra command line variables (vars, usually config.*) can be passed straight to the build system β¨ those variables apply to all the specified packages, but you can also scope them so they only apply to specific packages using the argument grouping mechanism β go read bpkg-argument-grouping(1) for the full tea π
π PKG-UPDATE OPTIONS π
--all|-aβ update all held packages. every single one. the whole squad. π--all-pattern patternβ update the held packages that match the wildcard pattern. repeat this option to match multiple patterns, queen π heads up tho: you may need to quote the pattern so your shell doesn't expand it before bpkg even sees it π--immediate|-iβ also update immediate dependencies π§--recursive|-rβ also update all dependencies, recursively. down the whole tree, we go π--for|-f operationβ instead of the defaultupdatebuild system operation, do theupdate-for-operationvariant, where operation is normallyinstallortestβ--directory|-d dirβ assume the configuration is in dir rather than in the current working directory π
π COMMON OPTIONS π
these are the shared ones β the full-length director's cut lives in bpkg-common-options(1) π
-vβ print the essential underlying commands being executed.-Vβ print all the underlying commands being executed. every last one. we're nosy today π--quiet|-qβ run quietly, only printing error messages π€«--verbose levelβ set the diagnostics verbosity to level, somewhere between0and6π--stdout-format formatβ the representation format to use when printing to stdout.--jobs|-j numβ how many jobs to perform in parallel. multitasking queen π--no-resultβ don't print informational messages about the outcome of performing a command or some of its parts.--structured-result fmtβ write the result of performing a command in a structured form.--progressβ display progress indicators for long-lasting operations, like network transfers, building, etc. β³--no-progressβ suppress those progress indicators for long-lasting operations, like network transfers, building, etc.--diag-colorβ use color in diagnostics πΈ--no-diag-colorβ don't use color in diagnostics.--build pathβ the build program to be used to build packages.--build-option optβ an additional option to pass to the build program.--fetch pathβ the fetch program to be used to download resources.--fetch-option optβ an additional option to pass to the fetch program.--fetch-timeout secβ the fetch and fetch-like (for example,git) program timeout β°--pkg-proxy urlβ the HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories.--git pathβ thegitprogram to be used to fetch git repositories.--git-option optβ an additional common option to pass to thegitprogram.--sha256 pathβ thesha256program to be used to calculate SHA256 sums π--sha256-option optβ an additional option to pass to thesha256program.--tar pathβ thetarprogram to be used to extract package archives.--tar-option optβ an additional option to pass to thetarprogram.--openssl pathβ theopensslprogram to be used for crypto operations π--openssl-option optβ an additional option to pass to theopensslprogram.--auth typeβ the types of repositories to authenticate.--trust fingerprintβ trust a 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-capabilities up=pcβ protocol capabilities (pc) for a git repository URL prefix (up).--pager pathβ the pager program to be used to show long text.--pager-option optβ an additional option to pass to the pager program.--options-file fileβ read additional options from file.--default-options dirβ the directory to load additional default options files from.--no-default-optionsβ don't load default options files, periodt.--keep-tmpβ don't remove bpkg's temporary directory at the end of the command execution, and print its path at verbosity level2or higher. lil souvenir π
π§ DEFAULT OPTIONS FILES π§
peep bpkg-default-options-files(1) for the big-picture overview of default options files π
for the pkg-update command, the search start directory is the configuration directory. the following options files are searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-pkg-update.options
and these pkg-update command options cannot be specified in the default options files, bestie:
--directory|-d
π BUGS π
found a bug? send bug reports to the users@build2.org mailing list π¬
π 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. slay π
and that's the whole page, babe β this was bpkg-pkg-update(1) from bpkg 0.17.0, dated June 2024. mwah, go update something π
β¨
π¦ 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