1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-03 15:27:45 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
TiynGER
546b52e217 merge 2025-02-05 03:54:14 +01:00
TiynGER
7297d3f2ce package manager: added pacman cache clearing 2025-02-05 03:53:04 +01:00

View File

@ -41,10 +41,17 @@ commit list.
Next to `download` a `.tar.gz` file can be downloaded which includes a `PKGBUILD` file.
Afterwards it needs to be [uncompressed](/wiki/linux/tar.md#uncompressing-a-tar-archive).
#### Clear Cache
The cache of all packages except the one installed can be deleted by running the following command.
```sh
pacman -Sc
```
### Troubleshooting
This section addresses various errors that can happen when using the package managers yay and
pacman.
This section addresses various uses of the pacman and yay package managers.
#### Update Mirrorlist
@ -56,6 +63,11 @@ This can be fixed by updating it with the following command:
curl -o /etc/pacman.d/mirrorlist https://archlinux.org/mirrorlist/all/
```
### Troubleshooting
This section addresses various errors that can happen when using the package managers yay and
pacman.
#### Error While Importing Keys
Both `yay` and `pacman` use [GPG keys](/wiki/linux/gpg.md).