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

Re: WARNING! New Perl/Perl-base upgrade removes 141 Sid/Unstable packages



Andre Majorel <aym-naibed@teaser.fr> wrote:
> On 2016-09-28 10:46 -0500, John Hasler wrote:
>> Vincent Lefevre writes:

>>> Things like that should not happen. But this is not a bug in the
>>> perl packages. This is a misfeature of apt / aptitude, which want to
>>> remove packages instead of holding the new packages (well, AFAIK,
>>> aptitude has improved, but is still not perfect).

>> Aptitude can't read your mind.  When you tell it to install something
>> it assumes that you mean what you say and proposes solutions to any
>> conflicts based on various heuristics.

> When there's some kind of conflict during a package installation or
> upgrade, the first solutions proposed by aptitude almost invariably
> involve large numbers of package removals. 

There is an option to tune the resolver. I have got the following in my
/etc/apt/apt.conf:

,----
| // tweak Aptitude to not suggest removals as first option
| Aptitude::ProblemResolver::SolutionCost "removals";
`----

S°

-- 
Sigmentation fault. Core dumped.


Reply to: