[pacman-dev] Behaviour on -Scc flag

Filip Matzner floop at floop.cz
Sun Nov 26 12:11:36 UTC 2017

Greetings everyone,

I would like to discuss the behaviour of
pacman -Scc --noconfirm

Currently, it does not clean any package in the cache dir, because the
default answer is 'N'. In my opinion it should clean the packages, since
there are already two 'c's in the flag, so the user probably knows what is
he doing. I believe there should be "yesno" instead of "noyes" on
<https://git.archlinux.org/pacman.git/tree/src/pacman/sync.c#n191>. What do
you think?

(btw, I found out because a docker image contained all the downloaded
packages even though the cache was cleaned with -Scc)

Yours Sincerely,

More information about the pacman-dev mailing list