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

2013-06-01 Thread Andreas Beckmann
On 2013-05-08 21:39, Michael Vogt wrote: >> 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/whee

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

2013-05-09 Thread Andreas Beckmann
On 2013-05-09 18:43, David Kalnischkies wrote: > In general, I wonder a bit why we are not just +2 all priority scores and > have therefore always positive (unsigned) numbers. I tried this when I looked into this priority issue ... I think I even added 3 s.t. there would be no (interesting) packag

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

2013-05-09 Thread Andreas Beckmann
On 2013-05-09 17:10, Julian Andres Klode wrote: > On Sat, May 04, 2013 at 02:20:42PM +0200, Andreas Beckmann wrote: >> 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 obvi

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

2013-05-09 Thread David Kalnischkies
In general, I wonder a bit why we are not just +2 all priority scores and have therefore always positive (unsigned) numbers. On Thu, May 9, 2013 at 5:10 PM, Julian Andres Klode wrote: > This would obviously only work for people having the point release > installed. As far as I am aware, updates

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

2013-05-09 Thread Julian Andres Klode
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->whe

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

2013-05-08 Thread Andreas Beckmann
On 2013-05-08 21:39, Michael Vogt wrote: > I merged this into the recent unstable upload and its also available > in the debian-wheezy branch. Should I do a proposed-updates upload > with this fix right away or shall we wait a little bit to see how well > the change works in unstable first? Thanks

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

2013-05-08 Thread Michael Vogt
On Sat, May 04, 2013 at 02:20:42PM +0200, Andreas Beckmann wrote: > Followup-For: Bug #699759 > Control: tag -1 patch Thanks for your bugreport and your patch. > 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 testin

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

2013-05-04 Thread Andreas Beckmann
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

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

2013-02-16 Thread Andreas Beckmann
On 2013-02-04 18:58, Andreas Beckmann wrote: > Suggestions for alternative propagation functions: > // ignore negatives, they already contributed > // PrioDepends/PrioRecommends to our score > Score += max(0, RDepScore) So far I have made a few experiments with this solution and I can confi

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

2013-02-04 Thread Julien Cristau
Control: severity -1 important On Mon, Feb 4, 2013 at 18:58:40 +0100, Andreas Beckmann wrote: > Package: apt > Version: 0.9.7.7 > Severity: serious > > Hi, > > there is a problem in apt's score computation (algorithms.cc, > MakeScores()) w.r.t. to the negative scores for "optional" and "extra"

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

2013-02-04 Thread Andreas Beckmann
Package: apt Version: 0.9.7.7 Severity: serious Hi, there is a problem in apt's score computation (algorithms.cc, MakeScores()) w.r.t. to the negative scores for "optional" and "extra" packages. Adding abs(negative score) to some package may give in incorrect boost to that package. Setting sever