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

Re: Bug#639290: upgrade from squeeze to wheezy fails on i386 (pre-depends loop)



> APT currently in wheezy can't as well (as it's more or less the same code).
> Quiet a few very complex problems with the ordering are "well" known -
> so well that we even had a GSoC project this year to have someone to
> work on these longstanding issues.
> And indeed a few preliminary tests with Chris Baines code are promising
> that even this specific problem is fixed (and the follow-up "error", even
> through APT ignores this one for the sake of the universe)

Thanks David for trying this out with my code, I have been trying to get
around to working out exactly what state this problem was in and having
a look at it my self, but I had not managed to as of yet.

I ran the helpful test case you provided with my code (output attached).
Have you noticed any way in which dealing with this problem can be
improved (in my code), it appears to work in the test case, I have not
tried it in reality? 

Thanks,

Chris
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  libc6 libdb5.1 multiarch-support perl-base
The following NEW packages will be installed:
  libdb5.1 multiarch-support
The following packages will be upgraded:
  libc6 perl perl-base
CreateOrderList(): Adding Immediate flag for apt
  ImmediateAdd(): Adding Immediate flag to libc6 [ i386 ] < 2.11.2-10 -> 2.13-16 > ( other ) cause of Depends apt
  ImmediateAdd(): Adding Immediate flag to perl-base [ i386 ] < 5.10.1-17squeeze1 -> 5.12.4-4 > ( other ) cause of Depends apt
Beginning to order
Done ordering
  SmartUnPack multiarch-support3 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
 (install version 2.13-16)
Inst multiarch-support (2.13-16 wheezy [i386]) []
  SmartUnPack libdb5.1 (install version 1.8.3-10)
  PreDepends order for libdb5.1
  Trying to SmartConfigure multiarch-support
    SmartConfigure multiarch-support (2.13-16)
    Unpacking libc6 to avoid loop
      SmartUnPack libc6 (replace version 2.11.2-10 with 2.13-16)
        Unpacking perl to avoid break
        SmartUnPack perl (replace version 5.10.1-17squeeze1 with 5.12.4-4)
Inst perl [5.10.1-17squeeze1] (5.12.4-4 wheezy [i386]) []
Inst libc6 [2.11.2-10] (2.13-16 wheezy [i386]) []
        SmartConfigure libc6 (2.13-16)
Conf libc6 (2.13-16 wheezy [i386]) []
Conf multiarch-support (2.13-16 wheezy [i386]) []
Inst libdb5.1 (1.8.3-10 wheezy [i386]) []
  SmartUnPack perl-base (replace version 5.10.1-17squeeze1 with 5.12.4-4)
  PreDepends order for perl-base
Inst perl-base [5.10.1-17squeeze1] (5.12.4-4 wheezy [i386])
    SmartConfigure perl-base (5.12.4-4)
Conf perl-base (5.12.4-4 wheezy [i386])
  SmartConfigure perl (5.12.4-4)
    SmartConfigure libdb5.1 (1.8.3-10)
Conf libdb5.1 (1.8.3-10 wheezy [i386])
Conf perl (5.12.4-4 wheezy [i386])
Skipping already done libc6
== VS ==
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libdb5.1 multiarch-support
The following packages will be upgraded:
  apt libc6 perl perl-base
CreateOrderList(): Adding Immediate flag for apt
  ImmediateAdd(): Adding Immediate flag to libc6 [ i386 ] < 2.11.2-10 -> 2.13-16 > ( other ) cause of Depends apt
  ImmediateAdd(): Adding Immediate flag to perl-base [ i386 ] < 5.10.1-17squeeze1 -> 5.12.4-4 > ( other ) cause of Depends apt
  ImmediateAdd(): Adding Immediate flag to libdb5.1 [ i386 ] < none -> 1.8.3-10 > ( other ) cause of Depends apt
    ImmediateAdd(): Adding Immediate flag to multiarch-support [ i386 ] < none -> 2.13-16 > ( other ) cause of PreDepends libdb5.1
Beginning to order
Done ordering
  SmartUnPack libc64 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 (replace version 2.11.2-10 with 2.13-16)
    Unpacking perl to avoid break
    SmartUnPack perl (replace version 5.10.1-17squeeze1 with 5.12.4-4)
Inst perl [5.10.1-17squeeze1] (5.12.4-4 wheezy [i386]) []
Inst libc6 [2.11.2-10] (2.13-16 wheezy [i386]) []
    SmartConfigure libc6 (2.13-16)
Conf libc6 (2.13-16 wheezy [i386]) []
  SmartUnPack multiarch-support (install version 2.13-16)
Inst multiarch-support (2.13-16 wheezy [i386]) []
    SmartConfigure multiarch-support (2.13-16)
Conf multiarch-support (2.13-16 wheezy [i386]) []
  SmartUnPack libdb5.1 (install version 1.8.3-10)
  PreDepends order for libdb5.1
Inst libdb5.1 (1.8.3-10 wheezy [i386]) []
    SmartConfigure libdb5.1 (1.8.3-10)
Conf libdb5.1 (1.8.3-10 wheezy [i386]) []
  SmartUnPack perl-base (replace version 5.10.1-17squeeze1 with 5.12.4-4)
  PreDepends order for perl-base
Inst perl-base [5.10.1-17squeeze1] (5.12.4-4 wheezy [i386])
    SmartConfigure perl-base (5.12.4-4)
Conf perl-base (5.12.4-4 wheezy [i386])
  SmartConfigure perl (5.12.4-4)
Conf perl (5.12.4-4 wheezy [i386])
  SmartUnPack apt (replace version 1.0 with 1.0)
Inst apt [1.0] (1.0 wheezy [all])
    SmartConfigure apt (1.0)
Conf apt (1.0 wheezy [all])

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: