deprecate InstallProtect as a cpu-eating no-op
authorDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 24 May 2013 08:20:38 +0000 (10:20 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 9 Jun 2013 13:12:07 +0000 (15:12 +0200)
commitf3c736f9b6fdef1d8045846c465d675858eb1471
treefa27d6d869fb9584a3ae82434bbcc0799dc3ff72
parent42d51f333e8ef522fed02cdfc48663488d56c3a3
deprecate InstallProtect as a cpu-eating no-op

In the past packages were flagged "Protected" so that install/
remove markings where issued before the ProblemResolver.
Nowadays, the marking methods check if they are allowed to modify
the marking of a package instead, so that markings set by FromUser
calls are not overwritten anymore by automatic calls which elimates
the need for InstallProtect which just eats CPU now.

The method itself is left untouched for now in case frontend needs it
still for some wierd usecase, but they should be eliminated.
apt-pkg/algorithms.cc
apt-pkg/algorithms.h
cmdline/apt-get.cc