Ensure that for each all package at least one pseudopackage is installed
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 14 Mar 2010 13:45:00 +0000 (14:45 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 14 Mar 2010 13:45:00 +0000 (14:45 +0100)
commit1f530ccb32c17b70b05dd5feee706dc1098a7251
tree15520acabd229e76e172260783d1148af293421e
parent5e5d20643487fd1693af418bd1201be5802c232d
Ensure that for each all package at least one pseudopackage is installed

Removing pseudo packages is cool so far, the problem is that we will
remove with the not required removing so many pseudo packages that
we will have after the remove a few packages with NO installed pseudo
package (e.g. metapackages are good candidates) - so we will walk over
all these packages and try to find a pseudopackage for this package
we can install without breaking something.
apt-pkg/depcache.cc