[Aptitude-devel] Bug#693144: aptitude should honour explicit installation request in connection with markauto package

Elmar S. Heeb elmar at heebs.ch
Tue Nov 13 15:36:00 UTC 2012

Package: aptitude
Severity: normal


If I deinstall a package aptitude will correctly deinstall all
dependencies which are markauto and not required by any other package.
However, if I explicitly request that such a dependent package remains
installed aptitude will still deinstall it.


Take a squeeze or sid base installation and install rsstail which
requires openssl (among others)
  aptitude install rsstail

Sometime later decide that you don't need rsstail anymore but that you
want to keep openssl
  aptitude install rsstail- openssl+

Since openssl was installed as a dependency it is markauto as far as
aptitudes package state database is concerned.  The explicit request to
install openssl (with the + action) is still ignored.  If I execute the
same command (the latter of the two) a second time, openssl will be
installed again.

Regards,     -- Elmar

Elmar Heeb       Tel-M: +41 79 628 7524
Bläsistrasse 49  Tel-P: +41 44 342 0168
CH-8049 Zürich   Tel-G: +41 44 633 2591

More information about the Aptitude-devel mailing list