[Aptitude-devel] Bug#815551: aptitude: safe-upgrade removes manually installed package if dependency is on hold

Sven Joachim svenjoac at gmx.de
Sat Feb 27 20:46:11 GMT 2016


On 2016-02-25 17:57 +0100, Sven Joachim wrote:

> On 2016-02-25 13:55 +0000, Manuel A. Fernandez Montecelo wrote:
>
>> 2016-02-23 23:52 To Sven Joachim:
>>>2016-02-23 17:20 Sven Joachim:
>>>>On 2016-02-22 23:27 +0000, Manuel A. Fernandez Montecelo wrote:
>>>>
>>>>>Have you used 0.7.5 until now and this only happens after upgrading
>>>>>aptitude to .6?
>>>>
>>>>Yes.
>>>>
>>>>>Did something else happen since the last time that you
>>>>>ran safe-upgrade, e.g. upgrade of apt?
>>>>
>>>>No, the last upgrade of the apt packages was on 2016-02-10, twelve days
>>>>before the aptitude upgrade.
>>>>
>>>>>Also, if you hold and then unhold wine and iceweasel-l10n-de, it keeps
>>>>>trying to remove them as unused, or did it only happen the first time
>>>>>(before marking them as hold)?
>>>>
>>>>It keeps trying to remove them.
>>>
>>>I tried to reproduce it with my versions installed (44) and no luck.
>
> Maybe that's because those are the candidate versions, whereas mine are not?

Seems that's indeed the reason.  I bisected the problem, and found
commit 377f72b53c ("Reinstate auto-installed flag when marking packages
to keep in apt cache (Closes: #508428)") to be the culprit.

>> BTW, do you have many packages set on hold, or only these ones or very
>> few?
>
> Apart of the mentioned packages, only one.

That package has a reverse dependency which is also held back, and I can
see that it has been marked as auto-installed as well, which is not
surprising (anymore).

Cheers,
       Sven



More information about the Aptitude-devel mailing list