Cleaning orphaned packages from Arch Linux installation

Arch Linux forum user itsbrad212 had link to scripts he has written. One of them was updatescript where I learned about pacman option -Qqdt which will print out list of orphaned packages.

Running that I found out that I had over 60 packages installed that my system didn’t need. I ended up using his script to clean them. First script does complete system upgrade and then loops around orphan removal function until there are no orphans left in system.

Offcourse you could this manually as well. Safety of removing orphans is discussed for example in this thread.

You can leave a response, or trackback from your own site.

4 Responses to “Cleaning orphaned packages from Arch Linux installation”

  1. [...] This post was mentioned on Twitter by spot tops. spot tops said: RT @archlinux_es: [Ingles] #archlinux Cleaning orphaned packages from Arch Linux installation http://bit.ly/cTwhW6 !archlinux [...]

  2. fabioamd87 says:

    this script removed “polkit”, foundamental on my system….
    i get no network manager working, not halt-reboot icon… no internet…
    i solved downloading the package from another pc and install it with pacman…

  3. thepanu says:

    Interesting. Did it remove anything else that it shouldn’t have had? In the forum thread I linked to one user pasted output of orphan list and it included lots of packages that shouldn’t have been there. I had no that sort of problems.

Leave a Reply

Subscribe to RSS Feed Follow me on Twitter!