You are not logged in.

#1 2007-09-19 11:13:02

ianegg
Member
Registered: 2007-06-18
Posts: 38

Removing the explicitly installed flag for all dependency packages

From what I gather, pacman -Rs won't remove any packages marked as explicitly installed, which causes a couple of problems for me:

Say I need to reinstall all my packages for whatever reason; they'll all be marked as explicitly installed, so from that point on I wouldn't be able to search for orphans.

There other case I can think of would be when I reinstall a dependency of some package for whatever reason, then later delete that top package with -Rs, that would mean the dependency and anything it depends on would remain on my system even if I don't really need it.

Does pacman support, or are there any scripts that will go through the package databse and mark all packages that are depended on by other packages as dependencies rather than explicitely installed? Basically reset the explicit flag for anything that isnt a leaf on the tree.

Offline

Board footer

Powered by FluxBB