| DOWNGRADE(8) | System Manager's Manual | DOWNGRADE(8) |
downgrade —
downgrade arch linux packages
downgrade |
[-h] [--ala-only]
[--ala-url=url]
[--cached-only]
[--ignore=prompt|always|never]
[--latest | --oldest]
[--maxdepth=num]
[--pacman-cache=file]
[--pacman-conf=file]
[--pacman-log=file]
[--pacman=command]
[--prefer-cache]
[--unignore name [name ...]]
[--version]
[name ...]
[-- pacman-option ...] |
The downgrade utility is a terminal user
interface ("TUI") for downgrading arch linux packages.
Packages can be located and installed from the local pacman(8) cache or the remote Arch Linux Archive ("ALA").
Calling downgrade for the
terraform package, for example, might show:
- 1) terraform 0.11.11 2 remote - 2) terraform 0.11.12 1 /var/cache/pacman/pkg + 3) terraform 0.11.13 1 remote + 4) terraform 0.11.13 1 /var/cache/pacman/pkg - 5) terraform 0.12.0 1 remote - 6) terraform 0.12.0 1 /var/cache/pacman/pkg 7) terraform 0.12.1 1 remote Available packages (community): 7/7 >
indicator:
-|+enumerationpackage-namepackage-epochpackage-versionpackage-releaselocation:
/path/to/cache/dir|remote--pacman=commandpacman.--pacman-conf=file--pacman-cache=file--pacman-log=file--maxdepth=num2.--ala-url=url--ala-only--cached-only--ignore=prompt|always|never--unignore
package [package ...]--latest
|
--oldest--ignore.--prefer-cache--cached-only,
--prefer-cache does query the ALA if no package
could be matched in cache.--version-h,
--helpIf multiple names are given, each is presented for version
selection first, and remote packages are downloaded, before all
selections are installed together via a single pacman
-U invocation. This allows for a coherent set of dependent
packages to be dowgraded together.
As per the usage syntax, any options supplied after the
-- character sequence will be treated as pacman
options.
By default, downgrade will search both local caches and the ALA.
AUR helper cache directories (~/.cache/yay, ~/.cache/paru/clone) are automatically included if present, so AUR packages are found without extra configuration.
If only one package with its corresponding location matches, the package will be installed without further prompt from the user.
downgrade allows the use of the following version-filtering
operators: =, ==,
=~, <=,
>=, < and
>.
Note that =~ represents a regex match
operator and =/== are
aliases.
The downgrade utility exits 0 on
success, and >0 if an error occurs.
Common errors are:
pacman
-U returned non-zeroIgnorePkg
additionsSee downgrade.conf(5).
Downgrade packages checking both local cache and the A.L.A, which is the default behavior:
downgrade foo bar
downgrade --pacman-cache
/path/to/cache --pacman-cache
/path/to/other/cache foo
bar
downgrade 'foo=1.0.0-1'
'bar>=1.2.1-1' 'baz=~^1.2'
downgrade --cached-only foo
downgrade --ala-only foo
downgrade --latest
--prefer-cache --ignore
-never 'foo=1.0.0-1'
downgrade 'downgrade>9.0.0'
Patrick Brisbin
<pbrisbin@gmail.com>
Atreya Shankar
<shankar.atreya@gmail.com>
Open a GitHub issue on https://github.com/archlinux-downgrade/downgrade.
find(1), fzf(1), su(1), downgrade.conf(5), pacman.conf(5), pacman(8), sudo(8), vercmp(8).
| September 9, 2026 | Debian |