You are not logged in.
Pages: 1
I have been using Archlinux for almost a year now. I started to notice that my root filesystem size has been increasing. It now stays at 6GB. I wanted to know if there are any ways of cleaning up the system of leftover files.
I asked in irc and read in newsletter about pacman -Qdt and removed all orphan files. I still cant believe 6GB has been filled. Is it possible for pacman to list the packages in the order of decreasing size?
Have anybody faced a problem like this ? What should be the approach to cleanup the sytem?
There is no reason
Offline
Maybe you have a lot of old files in your package cache. Try a "pacman -Sc" to remove old packages and a "pacman -Scc" to remove all pacakges from your cache.
Offline
That cleaned up 300MB. It seems I have installed a *lot* of packages. Can pacman output the packages in the order of decreasing size?
Oops, or is any other approach ?
There is no reason
Offline
pacman -Qet
lists packages that were installed explicity and are not required by any other package.
Maybe you find some packages you don't need anymore this way.
Offline
That cleaned up 300MB. It seems I have installed a *lot* of packages. Can pacman output the packages in the order of decreasing size?
pacman can't, but there are many ways to do it. A simple script using pacman, or using directly /var/lib/pacman, or a tool using libalpm.
http://bbs.archlinux.org/viewtopic.php? … 78#p320678
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Whoa! I removed all those packages that were'nt used, and now, the root filesystem size is 3.9GB. Yay! thanks.:cool:
There is no reason
Offline
Pages: 1