mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-02 15:07:45 +02:00
package manager: added pacman cache clearing
This commit is contained in:
parent
83ec160f33
commit
7297d3f2ce
@ -15,10 +15,17 @@ yay is also a wrapper for pacman so yay can be used instead of pacman to
|
||||
install and update both AUR and main repository programs.
|
||||
It features the same syntax.
|
||||
|
||||
### Troubleshooting
|
||||
### Usage
|
||||
|
||||
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.
|
||||
|
||||
#### Clean Cache
|
||||
|
||||
The cache of all packages except the one installed can be deleted by running the following command.
|
||||
|
||||
```sh
|
||||
pacman -Sc
|
||||
```
|
||||
|
||||
#### Update Mirrorlist
|
||||
|
||||
@ -30,6 +37,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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user