1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-27 05:39:45 +01:00

Merge branch 'master' of github:/tiyn/wiki

This commit is contained in:
2025-09-22 00:33:19 +02:00
18 changed files with 298 additions and 63 deletions

View File

@@ -19,22 +19,36 @@ It features the same syntax.
This section addresses various usages of the arch linux package managers.
#### Downgrading Packages
#### 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
[Downgrade](https://github.com/archlinux-downgrade/downgrade) program.
This program can then easily be used to an AUR package.
This works like the following assuming the package `v4l2loopback-dmks` needs to be downgraded.
```sh
```sh
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
A `PKGBUILD` file is a [shell](/wiki/linux/shell.md) script that contains the installation
A `PKGBUILD` file is a [shell](/wiki/linux/shell.md) script that contains the installation
information that is required by the Arch Linux.
Using the `makepkg` command it can be installed like the following command shows.
@@ -80,7 +94,7 @@ paccache -rvuk0
Since `yay` mirrors the usage of `pacman` it can be used the same way and will clean both caches.
```sh
```sh
yay -Sc
```
@@ -295,3 +309,18 @@ This is especially the case on [Arch Linux-systems](/wiki/linux/arch-linux.md) b
packages are also installed via [Pacman or Yay](#arch-linux-pacman-and-yay).
In this case the global Version has to be changed to `system` or the package installed to the
non-system Python version.
#### Error `exists in filesystem`
This section is based on a
[reddit post by 194668PT](https://www.reddit.com/r/archlinux/comments/17jempk/pacman_exists_in_filesystem_errors/).
If an error shows up that describes that a file of a package `exists in filesystem` usually a
permission/owner error happened.
This can happen when running `pacman -Syyu`.
To update the package either way the following command can be used.
`<package name>` should be exchanged for the package that throws the error.
```sh
sudo pacman -S --overwrite "*" <package name>
```