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

Sven Joachim svenjoac at gmx.de
Tue Feb 23 17:20:23 GMT 2016


On 2016-02-22 23:27 +0000, Manuel A. Fernandez Montecelo wrote:

> 2016-02-22 10:57 Sven Joachim:
>>Package: aptitude
>>Version: 0.7.6-1
>>Severity: important
>>
>>I have the packages iceweasel and libwine on hold, and all of a sudden
>>"aptitude safe-upgrade" declares packages that depend on them as unused
>>and wants to remove them:
>>
>>,----
>>| $ LANG=C aptitude -s -V -D safe-upgrade
>>| Resolving dependencies...
>>| The following packages will be REMOVED:
>>|   iceweasel-l10n-de{u} [1:38.6.1esr-1~deb8u1]  wine{u} [1.6.2-22]  wine32{u} [1.6.2-22] (D: wine)
>>| 0 packages upgraded, 0 newly installed, 3 to remove and 6 not upgraded.
>>| Need to get 0 B of archives. After unpacking 1014 kB will be freed.
>>|
>>| Note: Using 'Simulate' mode.
>>| Do you want to continue? [Y/n/?]
>>| Would download/install/remove packages.
>>`----
>>
>>None of these three packages is marked as manually installed:
>>
>>,----
>>| $ LANG=C aptitude versions libwine wine wine32 iceweasel iceweasel-l10n-de
>>| Package iceweasel:
>>| ih 38.6.1esr-1~deb8u1  100
>>| ph 44.0.2-1 unstable 500
>>| ph 45.0~b5-1 experimental 101
>>|
>>| Package iceweasel-l10n-de:
>>| i  1:38.6.1esr-1~deb8u1  100
>>| p  1:44.0.2-1 unstable 500
>>| p  1:45.0~b5-1 experimental 101
>>|
>>| Package libwine:
>>| ihA 1.6.2-22  100
>>| phA 1.8.1-2 unstable 500
>>|
>>| Package wine:
>>| i  1.6.2-22  100
>>| p  1.8.1-2 unstable 500
>>|
>>| Package wine32:
>>| i  1.6.2-22  100
>>| p  1.8.1-2 unstable 500
>>`----
>>
>>A workaround is to put the affected packages on hold as well, but this
>>ought not to be necessary.
>
> 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.

Thanks for your help.

Cheers,
       Sven



More information about the Aptitude-devel mailing list