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

Re: aptitude is dangerous - any replacement?



On 2017-03-21 21:39:40 +0100, Sven Joachim wrote:
> On 2017-03-21 21:19 +0100, Vincent Lefevre wrote:
> > aptitude ignores the apt preferences.
> 
> Huh?  At least on my systems, it obeys them.

Perhaps with your configuration. And this is probably also true when
the full resolver is not involved. But this is not the general case.

By default, the apt preferences are such that unstable is preferred
over experimental. But as explained in

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795228

this is not the case with aptitude's resolver:

| With the SolutionCost of "removals", aptitude doesn't take into account
| installing by priorities or non-default releases, it just tries to
| minimise the removals, so seing that it could solve the problem by
| upgrading to 2.7-1~exp1, it just did that.

-- 
Vincent Lefèvre <vincent@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)


Reply to: