[Aptitude-devel] Bug#663134: aptitude: safe-upgrade fails on libgcc1 version skew

Sven Joachim svenjoac at gmx.de
Sat Mar 10 14:17:22 UTC 2012


On 2012-03-10 14:53 +0100, Daniel Hartwig wrote:

> On 10 March 2012 18:00, Sven Joachim <svenjoac at gmx.de> wrote:
>> On 2012-03-10 04:17 +0100, Daniel Hartwig wrote:
>>
>>>
>>> However, the output of the programs does differ.  Aptitude
>>> safe-upgrade reports that it can not resolve the dependency problems
>>> (correct), and that the user should try using the full resolver (which
>>> would remove at least one of the packages; this is a useful option for
>>> a user)
>>
>> Note that this affects unrelated upgradable packages, since "aptitude
>> safe-upgrade" does not find a solution, while the full resolver will
>> upgrade them.
>>
>
> Is that so in some situation?

I'm pretty sure, although I unfortunately don't have logs to prove it.

> Your original report only had the two
> out-of-sync gcc packages available, which, of course, can not be
> upgraded.

Right, because I made the mistake of running
"aptitude --full-resolver safe-upgrade" which took care of the others.
A plain safe-upgrade only gave an error message.

> But this test only has two packages, available each on two archs.  If
> you have a real world scenario where this doesn't work please provide
> the details.

Unfortunately most of the details are no longer available, but here is
the excerpt from the last "aptitude --full-resolver safe-upgrade":

,----
| Aptitude 0.6.5: Protokoll
| Sa, Mär  3 2012 07:40:10 +0000
| 
| WICHTIG: Dieses Protokoll zeigt nur geplante Aktionen an. Aktionen, die wegen
| dpkg-Problemen fehlschlagen, sind vielleicht nicht abgeschlossen.
| 
| 10 Pakete werden installiert und 0 Pakete entfernt.
| 55,3 kB der Festplatte werden freigegeben
| ===============================================================================
| [HALTEN, ABHÄNGIGKEITEN] gcc-4.6-base
| [HALTEN, ABHÄNGIGKEITEN] libgcc1
| [AKTUALISIERUNG] bsdutils 1:2.20.1-3 -> 1:2.20.1-4
| [AKTUALISIERUNG] libblkid1 2.20.1-3 -> 2.20.1-4
| [AKTUALISIERUNG] libmount1 2.20.1-3 -> 2.20.1-4
| [AKTUALISIERUNG] libselinux1 2.1.0-4.1 -> 2.1.9-2
| [AKTUALISIERUNG] libsemanage-common 2.1.0-2 -> 2.1.6-2
| [AKTUALISIERUNG] libsemanage1 2.1.0-2 -> 2.1.6-2
| [AKTUALISIERUNG] libsepol1 2.1.0-1.2 -> 2.1.4-1
| [AKTUALISIERUNG] libuuid1 2.20.1-3 -> 2.20.1-4
| [AKTUALISIERUNG] mount 2.20.1-3 -> 2.20.1-4
| [AKTUALISIERUNG] util-linux 2.20.1-3 -> 2.20.1-4
| ===============================================================================
| 
| Protokoll abgeschlossen.
`----

Before that, I had run "aptitude safe-upgrade" which failed:

,----
| Unable to resolve dependencies for the upgrade: no solution found.
| Unable to safely resolve dependencies, try running with --full-resolver.
`----

Cheers,
       Sven





More information about the Aptitude-devel mailing list