You are not logged in.
I'd like to clean up my /var directory, which keeps filling up, but i would like to keep the current package and one prior to that. I'm not finding a way to do that. Is it possible?
Offline
pacman -Scwill remove all the packages that are NOT installed. But I don't think there is a way to keep the current + 1 earlier copies of the installed packages.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
You would need to script something yourself.
Offline
Take a look at my script cache-clean in http://wiki.archlinux.org/index.php/Clean_Cache
Last edited by alterkacker (2009-04-29 19:32:38)
Offline