[Aptitude-devel] Bug#762932: Bug#762932: aptitude: in an upgrade with 'U', aptitude chose to downgrade a package

Vincent Lefevre vincent at vinc17.net
Sun Sep 20 19:20:16 UTC 2015


On 2015-09-20 16:27:39 +0200, Axel Beckert wrote:
> Vincent Lefevre wrote:
> > Note that I use the following option:
> > 
> > Aptitude::ProblemResolver::SolutionCost "removals";
> >
> > so that packages don't get removed.
> 
> Which IMHO clearly says "you may prefer downgrades over removals".

This is not what was said when this was discussed (in debian-user?).
It was said that this was just preventing removals. I've never said
that I wanted downgrades, which should never be proposed (unless
explicitly requested by the user).

> I'd don't consider this "grave" at all, as it neither "makes the
> package in question unusable or mostly so", nor "causes data loss",
> nor "introduces a security hole allowing access to the accounts of
> users who use the package".

Well, then it should be "critical" because

  https://www.debian.org/Bugs/Developer.en.html

says "makes unrelated software on the system (or the whole system)
break" (not all downgrades break the system, but this is a possibility).

> I though never ran into that issue (despite having
> Aptitude::ProblemResolver::Remove-Level set to "maximum" which should
> have a very similar effect), so I assume that possible further
> non-default settings could have caused this. Please post all your
> Aptitude resolver related settings (or confirm that the above
> mentioned setting is the only one).

Aptitude::UI::Package-Display-Format "%c%a%M %p %Z %24v %24V";
Aptitude::ProblemResolver::SolutionCost "removals";

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Aptitude-devel mailing list