pacman --sync --noconfirm --clean --clean does not clean /var/cache/pacman/pkg/
Closed this issue · 2 comments
gutenye commented
I tested on my Arch Linux.
# pacman --sync --noconfirm --clean --clean
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N]
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n]
removing unused sync repositories...
Though it did clean /var/lib/pacman
, but not /var/cache/pacman/pkg
, I use rm -rf /var/cache/pacman/pkg/*
instead.
nfnty commented
Very interesting, thanks. This should also be reported upstream. Will implement fix soon.
gutenye commented
I've reported https://bbs.archlinux.org/viewtopic.php?pid=1529458#p1529458, the solution is echo "y\ny" | pacman -Scc