Is there a chance to add a --clean-old trigger to pacman that removes only old packages? I use my package cache with an nfs-share to provide them for the whole LAN (to reduce the inet bandwith). I won't clear the cache, because of new installations (OOo, gcc, xfree86... are huge!). So it would be a great feature for me to delete only the outdated packages.
What about : pacman -Sc ?
Remove old packages from the cache. When pacman downloads pack-
ages, it saves them in /var/cache/pacman/pkg. If you need to
free up diskspace, you can remove these packages by using the
--clean option. Using one --clean (or -c) switch will only
remove old packages. Use it twice to remove all packages from
hmm... last time I run pacman -Sc all of /vac/cache/pacman/pkg has been cleaned up. Since when is -Scc possible?