devkitPro pacman¶
- ID
dkp-pacman- Links
- Upstream stars
⭐ 200
- Last commit
2024-08-02
- Version requirement
>= 6
- Platforms
🐧 Linux · 🍎 macOS
- Operations
installed·outdated·orphans·search·install·upgrade·upgrade_all·remove·sync·cleanup·doctor- purl types
pkg:alpm/·pkg:dkp-pacman/- CLI name
dkp-pacman- Every call
dkp-pacman --noconfirm --color never <command>- Issues and PRs
- Source
devkitPro’s pacman fork, covering the console homebrew toolchains.
devkitPro ships its own pacman build under the dkp-pacman name so it can
sit beside a distribution’s own pacman without colliding, pointed at the
devkitPro repositories holding the devkitARM, devkitA64 and devkitPPC
toolchains and the libraries built against them.
Every operation, parser and forced argument is inherited from Pacman
unchanged: the fork tracks upstream closely enough that its version banner
still comes from the same printf(" .--. Pacman v%s - libalpm v%s")
call, so the inherited Pacman.version_regexes reads it as-is.
The AUR helpers below wrap pacman; this one is pacman itself, so it keeps
the default_sudo inherited from Pacman.
What mpm adds to dkp-pacman¶
Through mpm, dkp-pacman gains:
a one-command
cleanup --orphansthat removes every orphaned dependency at once--extendedsearch, to match against package descriptions
Bigger still, mpm reaches across every manager at once: mpm installed and mpm outdated cover dkp-pacman alongside aura, pacaur, pacman, pamac, paru, pikaur, shelly, trizen, yay and any 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 dkp-pacman commands, in mpm¶
You already know dkp-pacman: 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 |
|---|---|---|
|
✅ |
|
|
✅ |
Only packages tracked in a sync database are reported; foreign packages (AUR builds, |
|
✅ |
|
|
✅ |
Extended search backfilled by |
|
✅ |
A package already installed as a dependency is marked explicit by |
|
✅ |
|
|
✅ |
|
|
✅ |
The |
|
✅ |
|
|
✅ |
The |
|
✅ |
Configuration¶
Ignore
dkp-pacmanon thempmCLI by passing the--no-dkp-pacmanoption.Ignore it for every run in your configuration:
[mpm] dkp-pacman = false
Raise the timeout of all
dkp-pacmancalls:[mpm.overrides.dkp-pacman] timeout = 900
Run
mpm config-template dkp-pacmanto print all overridable settings for your configuration file:[mpm.overrides.dkp-pacman] cli_names = [ "dkp-pacman", ] cli_search_path = [] dry_run = false ignore_auto_updates = true plan = false post_args = [] pre_args = [ "--noconfirm", "--color", "never", ] pre_cmds = [] requirement = ">=6.0.0" stop_on_error = false unmaintained = false version_cli_options = [ "--version", ] version_regexes = [ ".*Pacman\\s+v(?P<version>\\S+)", ]
The arguments and environment variables listed in the box atop this page are forced on every dkp-pacman call, so runs stay quiet, non-interactive and reproducible: the defaults you would set in CI anyway.
Recipes¶
A few jobs you would otherwise script around dkp-pacman, one mpm command each:
Snapshot and clone a machine:
mpm --dkp-pacman dump dkp-pacman.toml, thenmpm restore dkp-pacman.tomlon the next one.Export a compliance SBOM:
mpm --dkp-pacman sbom(CycloneDX by default,--spdxfor SPDX).Gate CI on health:
mpm --dkp-pacman doctorrelays devkitPro pacman’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 devkitPro pacman’s release-age gating, from the cooldown support table:
Status: ❌ None (pacman fork over devkitPro’s own repositories)
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.
Version check¶
The version is extracted from the output of dkp-pacman --version with:
r".*Pacman\s+v(?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.Resolve
pkg:alpm,pkg:conda,pkg:deb,pkg:melpa,pkg:pypiandpkg:rpmpURLs to these managers too, alongside the ones already handling each type.Add devkitPro’s
pacmanfork, covering the console homebrew toolchains, with the full operation set inherited frompacman.