On Sat, 19 Jan 2008 07:43:29 -0000, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
Hi!
I've found an issue that appeared after the change in -Sc behaviour. It now removes "uninstalled" packages from cache which is good for majority of users, but is bad for shared pacman cache users. With a pacman cache shared between machines it is impossible to correctly clean it with pacman if a set of installed packages on them is different. I remember there was at least one script posted here or on forums that removes old version of packages from a specified directory (it was provided as a helpful tool for managing local repositories AFAIR), but I cannot find it. Could someone who have this (or similar) script please share it? It needs to be posted to our wiki page about a shared cache, and maybe Phil's rucksack script needs to be modified as well.