You are not logged in.
Pages: 1
the Pacman cache is not deleted even though the "/var/cache/pacman/pkg" directory is full.
[andre@I-NET ~]$ sudo paccache -r
[sudo] Passwort für andre:
==> no candidate packages found for pruning
Offline
It keeps at least three versions of each package by default so if you have a very large number of packages and limited storage space for that directory it could still be full afterwards.
Can we see
df -h
du -h /var/cache/pacman/pkg
pacman -Q | wc -l
Para todos todo, para nosotros nada
Offline
[andre@I-NET ~]$ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
dev 16G 0 16G 0% /dev
run 16G 1,4M 16G 1% /run
/dev/sda2 457G 12G 422G 3% /
tmpfs 16G 8,3M 16G 1% /dev/shm
/dev/sda1 510M 111M 400M 22% /boot
tmpfs 16G 1,1M 16G 1% /tmp
/dev/sdc2 909G 2,0G 861G 1% /home
/dev/sdb1 1,9T 419G 1,5T 23% /run/media/andre/platte2
tmpfs 3,2G 76K 3,2G 1% /run/user/1000
/dev/sdd1 30G 1,2G 29G 4% /run/media/andre/USB_P
[andre@I-NET ~]$ du -h /var/cache/pacman/pkg
2,4G /var/cache/pacman/pkg
[andre@I-NET ~]$ pacman -Q | wc -l
975
If the last 3 packets are kept, then it is clear that nothing will be deleted.
I thought that the directory is emptied with the command...
Offline
See pacman -Sh for clearing it. No need for paccache for that.
Offline
You really should read the man page before running commands. Obligatory XKCD link: https://xkcd.com/293/
EDIT: @Scimmia, I think that should be `pacman -Scc`. EDIT2: oh, I see what you mean. Disregard.
Last edited by Head_on_a_Stick (2023-02-07 20:12:03)
Para todos todo, para nosotros nada
Offline
You really should read the man page before running commands. Obligatory XKCD link: https://xkcd.com/293/
EDIT: @Scimmia, I think that should be `pacman -Scc`.
yes sorry
I'm a bit lazy to read...
Many thanks for the help
Offline
Pages: 1