1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-08-23 05:07:46 +02:00

linux/package managers: arch ignore packages

This commit is contained in:
tiyn 2025-08-21 04:30:12 +02:00
parent 4405c3da1e
commit aa314c3352

View File

@ -19,6 +19,18 @@ It features the same syntax.
This section addresses various usages of the arch linux package managers.
#### Ignoring Packages
Packages can be ignored by adding the package in `/etc/pacman.conf` under `IgnorePkg`.
In the following example `waybar` is ignored from updates.
To add more packages just add them separated by spaces.
```txt
IgnorePkg = waybar
```
To unignore the package from updates remove it from this line.
#### Downgrading Packages
Packages of the AUR can be downgraded by using the
@ -31,6 +43,8 @@ sudo downgrade v4l2loopback-dmks
```
Afterwards the target version can be selected and the downgrading process will conclude.
After the downgrade of a package you will get asked if you want to
[ignore future updates](#ignoring-packages).
#### Manual Installation of a `PKGBUILD` File