This is ultimately not very productive, but I’ve had free time lately for obvious worldly reasons.

I feel as if I’m missing something obvious, but is there any way to completely remove a package and its directories through pacman without running

rm -rf /path/to/directory]

manually after

pacman -Rs package_name

and hoping you get everything?

Otherwise, my best solution so far has been to run

tree 

with options where I can browse through my directories and check file-by-file.

I’ve unintentionally developed a neurosis where I want my system as clean as possible since I’ve put enough time into it. Which may be dumb, but yeah.

  • @zan
    link
    14 years ago

    You can use pacman -Qo in a recursive loop on directories under /usr, /etc, /opt, and /var and see if any package owns them. Note that many packages generate entries all over the place post-install or as part of their setup procedures on first run but an unowned folder under /usr is generally suspect of orphanage.