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

Bug#699759: apt: score computation may prefer obsolete installed packages over their successors



On Sat, May 04, 2013 at 02:20:42PM +0200, Andreas Beckmann wrote:
> Followup-For: Bug #699759
> Control: tag -1 patch
> 
> Hi,
> 
> I'm attaching a patch that just skips regative scores from rdeps. I
> thought I sent this long ago ...
> It has gotten a lot of testing for doing piuparts squeeze->wheezy
> upgrades with apt/wheezy+patch (backported to squeeze). Compared to
> apt/wheezy (backported to squeeze, too) this solves the score issue
> for a few upgrade paths and does not introduce new problems.
> 
> This has mainly an effect on "leaf" packages with scores <= 2.
> "Skewing" the score by +/- 1 makes a big difference here.
> 
> I'd like to see if this issue could be solved in an early point release
> for wheezy, too, to have a more sane scoring at work for wheezy->jessie
> upgrades.

This would obviously only work for people having the point release
installed. As far as I am aware, updates from one release to the
next are supported, without any installed updates. So, people with
the update might have a different result than those without the
update. I don't know whether this is a problem for anyone, but I
wanted to let you know.

Side note: For Wheezy -> Jessie upgrades we should be in the 
position to upgrade APT first, and then use jessie's APT to
upgrade the remaining system to jessie. This might involve
upgrading libc6, libgcc1, and libstdc++6. This should be
possible now because libapt-pkg and libapt-inst are split
out from the apt/apt-utils binaries. If that works, we
might want to consider this way as the official upgrade
strategy (because we can then fix other stuff more
easily for those upgrades)

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


Reply to: