[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598452: apt-get autoremove wants to remove essential packages



Hi Andris,

2010/9/29 Andris Kalnozols <andris@hpl.hp.com>:
> the "apt-get autoremove" command now considers the running
> kernel and other essential packages as removable:

Thanks for your detailed bugreport!

Its true that apt 0.8.5 wants to remove packages which should
be protected by the APT::NeverAutoRemove settings.
I don't know if it is a good or bad thing that you are still right
that 0.8.0 (and even ~exp before) were effected, too -
it was just hidden by another small bug #594689 which got
fixed in 0.8.1.

And what should i say, this one is as silly as the other one:
The essence of the patch to fix this problem here is:
-     bool InRootSet(const pkgCache::PkgIterator &pkg) { return
pkg.end() == true && Match(pkg.Name()); };
+     bool InRootSet(const pkgCache::PkgIterator &pkg) { return
pkg.end() == false && Match(pkg.Name()); };

I love it(TM)!


Sorry for the inconvenience, a fixed version will be released soon…


Best regards

David Kalnischkies



Reply to: