Void XBPS¶
- ID
xbps- Links
- Upstream stars
⭐ 1,156
- Last commit
2026-05-01
- Version requirement
>= 0.59
- Platforms
🐧 Linux
- Operations
installed·outdated·orphans·search·install·upgrade·upgrade_all·remove·sync·cleanup·doctor- purl types
pkg:xbps/- CLI name
xbps-install- Issues and PRs
- Source
X Binary Package System used by Void Linux.
XBPS is split across several sibling binaries: xbps-query for
read-only operations, xbps-install for installs, sync and
upgrades, and xbps-remove for uninstalls and cache cleanup.
What mpm adds to xbps¶
Through mpm, xbps gains --exact and --extended search, to narrow to exact names or match descriptions.
Bigger still, mpm reaches across every manager at once: mpm installed and mpm outdated cover xbps alongside every other manager you run in one table, mpm upgrade --all updates them together, and mpm sbom exports the whole machine as one bill of materials.
Every mpm command also gains --dry-run and --plan previews, cross-scheme version comparison and purl identifiers. See manager augmentations for how each one is built.
Your xbps commands, in mpm¶
You already know xbps: each operation maps one-to-one onto mpm, in an interface shared by every manager.
To… |
With |
With |
|---|---|---|
List what’s installed |
|
|
List outdated packages |
|
|
Search for a package |
|
|
Install a package |
|
|
Upgrade one package |
|
|
Upgrade everything |
|
|
Remove a package |
|
|
List orphaned dependencies |
|
|
Clear caches |
|
|
Run health checks |
|
|
Prefix any command above with --dry-run to simulate the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.
Operations¶
Operation |
Supported |
Notes |
|---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Exact and extended search backfilled by |
|
✅ |
A package already installed as a dependency is marked explicit by |
|
✅ |
|
|
✅ |
|
|
✅ |
The |
|
✅ |
|
|
✅ |
The |
|
✅ |
Configuration¶
Ignore
xbpson thempmCLI by passing the--no-xbpsoption.Ignore it for every run in your configuration:
[mpm] xbps = false
Raise the timeout of all
xbpscalls:[mpm.overrides.xbps] timeout = 900
Run
mpm config-template xbpsto print all overridable settings for your configuration file:[mpm.overrides.xbps] cli_names = [ "xbps-install", ] cli_search_path = [] dry_run = false ignore_auto_updates = true plan = false post_args = [] pre_args = [] pre_cmds = [] requirement = ">=0.59" stop_on_error = false unmaintained = false version_cli_options = [ "--version", ] version_regexes = [ "XBPS:\\s+(?P<version>\\S+)", ]
Recipes¶
A few jobs you would otherwise script around xbps, one mpm command each:
Snapshot and clone a machine:
mpm --xbps dump xbps.toml, thenmpm restore xbps.tomlon the next one.Export a compliance SBOM:
mpm --xbps sbom(CycloneDX by default,--spdxfor SPDX).Gate CI on health:
mpm --xbps doctorrelays Void XBPS’s own diagnosis and exits non-zero on trouble.
Privilege escalation¶
System-wide manager: mpm wraps its privileged operations in sudo out of the box. Instead of letting the tool prompt mid-run, mpm primes the credential cache up-front, with a single branded password prompt at most. Turn escalation off for rootless setups with --no-sudo or the per-manager sudo override.
Its privileged operations are cleanup, install, remove, sync, upgrade, upgrade_all.
See privilege escalation for the full policy.
Cooldown¶
State of Void XBPS’s release-age gating, from the cooldown support table:
Status: ❌ None
A cooldown only pays off where a compromised release can be withdrawn while the clock runs, and can only be emulated where the registry dates its releases. From the retraction table:
Registry: Distro binary archives (
pkg:deb,pkg:rpm,pkg:alpm,pkg:apk)Retraction: Index revert: removal is an archive operation and the mirror is rebuilt without the package. Debian, for one, requires filing an
RM:bug againstftp.debian.org(developers-reference)Publish date: ❌ the version string is the distro maintainer’s build, carrying no upstream publication date
With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --cooldown best-effort opts back in.
Reference traces¶
A collection of raw native outputs captured from the manager’s own CLI and recorded in the manager source. If you know Void XBPS well and a transcript below looks wrong, or a newer release changed its output format, report it.
$ xbps-query --list-pkgs
ii acl-2.4.0_1 Access Control List filesystem support
ii acpid-2.0.34_4 ACPI Daemon (acpid) With Netlink Support
ii alsa-firmware-1.2.4_1 Advanced Linux Sound Architecture (ALSA) firmware
$ xbps-install --update --dry-run
sl-5.05_1 update x86_64 https://repo-default.voidlinux.org/current 36429 9469
$ xbps-query --list-orphans
figlet-2.2.5_6
Version check¶
The version is probed by running:
$ xbps-install --version
XBPS: 0.60.7 API: 20250629 GIT: UNSET
and extracted with:
r"XBPS:\s+(?P<version>\S+)"
Upstream project¶
Metrics |
|
|---|---|
Activity |
|
Popularity |
|
Metadata |
|
Changelog¶
8.0.0(2026-09-20)Mark a package already installed as a dependency as explicitly installed when
mpm installormpm restorenames it, sompm cleanup --orphanskeeps it.Fix version detection, whose
XBPS:banner was read as the version, dropping the manager from the pool on every Void Linux host. Closes #2074.Fix
search, which returned no results: the long--repositoryoption takes a URL and was consuming the--searchthat followed it.
7.4.0(2026-07-25)Plain
cleanupno longer removes orphaned packages: their native sweeps moved behindcleanup --orphans. This also stopsemerge’s cleanup from triggering its pre-depclean world upgrade unless--orphansis given.removeno longer cascades to orphaned dependencies by default: a plain removal keeps them. Use the newremove --orphansto restore the previous behavior.
6.4.0(2026-04-27)Add XBPS (Void Linux) package manager with
installed,outdated,search,install,upgrade,remove,sync, andcleanupsupport.