You are not logged in.
I want to clean pacman's cache, but here's what I get:
$ paccache -d
==> no candidate packages found for pruningMaybe that's because the "standard" directory is empty:
$ tree /var/cache/pacman
/var/cache/pacman
└── pkg
1 directory, 0 filesBut I correctly specified the cache directory I wanted to use:
$ grep "Cache" /etc/pacman.conf
CacheDir = /home/wil93/.pacmancacheIn fact, pacman has always used it:
$ du -sh .pacmancache
14G .pacmancacheCould it be a pacman/paccache bug?
Last edited by wil93 (2014-06-06 19:15:59)
Offline
paccache -h shows below
-c, --cachedir <dir> scan 'cachedir' for packages (default: /var/cache/pacman/pkg).So, probably it does not pick cache dir value from pacman.conf.
Try giving the -c option.
Edit: Went through the code of paccache and yes the cache dir is declared in it. fixed tags.
declare cachedir=/var/cache/pacman/pkg delim=$'\n' keep=3 movedir= scanarch=Last edited by vik_k (2014-06-06 18:59:06)
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Thank you.
I guess it would be nice if the default cache directory was changed from </var/cache/pacman/pkg> to <whatever is specified in pacman.conf>.
Edit: I created a feature request for this.
Last edited by wil93 (2014-06-06 19:23:37)
Offline