You are not logged in.
Pages: 1
Hi,
I'm confused about how pacman clears the cache when doing pacman -Scc. When executing such command, which packages are deleted? According to the man page of pacman, I get the idea that it removes all of the .pkg.tar.gz files corresponding to not-installed packages. Does this mean that it won't remove older versions of .pkg.tar.gz files for currently installed packages? I'm asking this since I see a lot of old package versions stored in cache, which pacman -Scc doesn't remove, for example:
-rw-r--r-- 1 root root 19044175 2008-08-02 15:45 xulrunner-1.9.0.1-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18667279 2008-10-06 12:19 xulrunner-1.9.0.3-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18671745 2008-11-23 23:11 xulrunner-1.9.0.4-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18751997 2008-12-21 22:12 xulrunner-1.9.0.5-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18751745 2009-01-01 01:37 xulrunner-1.9.0.5-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18331675 2009-02-12 21:49 xulrunner-1.9.0.6-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18747126 2009-03-08 22:38 xulrunner-1.9.0.7-1-x86_64.pkg.tar.gz
(xulrunner is installed).
If this is the expected behavior for pacman -Scc, is there a way to instruct pacman to just keep the latest version of each package in the cache?
Thanks
Offline
pacman -Sc keeps everything installed and deletes older version of packages. pacman -Scc clears everything.
Offline
... nevermind... I didn't noticed that the default answer was 'N' , so when I hit enter nothing was deleted...
Offline
I see a lot of old package versions stored in cache, which pacman -Scc doesn't remove
Strange.
pacman -Sc can keep either installed packages or current packages. See "man pacman.conf" for more info.
Offline
Pages: 1