I have a bunch of shared libs installed on my system which aren't dependencies of some concrete package but are needed for non-apt-managed libraries I've built from source (like latest SDL, Allegro, SFML, ...) and other software built from source. The problem is that those libraries are seen by APT as unused, and are therefore candidates for auto-removal, and those get mixed up with legitimate unused packages that are free to remove.
Is there a way to mark packages as used so that they are not suggested for auto-removal? My first thought was to build my own metapackage just to hold the dependencies (like for example ubuntu-desktop is), but I don't know how to do that.
apt-get install yyy
andxxx
installed as a dependency. Then you removedyyy
andxxx
was marked for autoremoval. Now you doapt-get install xxx
. – Vitalie Ciubotaru Jun 12 '12 at 09:12apt-get install
(since I know of no other way of installing them), but they are still offered for auto-removal. – Boris B. Jun 12 '12 at 09:13