GNU bug report logs - #37940
endless "try upgrading both" cycles

Previous Next

Package: guix;

Reported by: Arne Babenhauserheide <arne_bab <at> web.de>

Date: Sun, 27 Oct 2019 09:55:01 UTC

Severity: normal

Full log


Message #14 received at 37940 <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 37940 <at> debbugs.gnu.org, Mark H Weaver <mhw <at> netris.org>
Subject: Re: bug#37940: endless "try upgrading both" cycles
Date: Mon, 28 Oct 2019 01:03:48 +0100
[Message part 1 (text/plain, inline)]
Hi Mark and Ludovic,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi Arne & Mark,
>
> Mark H Weaver <mhw <at> netris.org> skribis:
>> Arne Babenhauserheide <arne_bab <at> web.de> writes:
>>> When installing a package while some packages are not up to date, guix
>>> can require adding more and more packages to guix install:
>> [...]
>>> guix install: error: profile contains conflicting entries for util-linux
>>> guix install: error:   first entry: util-linux <at> 2.34 /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34
>>> guix install: error:    ... propagated from glib <at> 2.60.6
>>> guix install: error:    ... propagated from poppler <at> 0.79.0
>>> guix install: error:   second entry: util-linux <at> 2.32.1 /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1
>>> hint: Try upgrading both `poppler' and `util-linux', or remove one of them from the profile.
>>
>> I just wanted to briefly mention that if you use the "declarative
>> approach" to specifying user profiles, via the --manifest option to
>> "guix package", you will avoid this problem entirely.  I've been happily
>> using that approach for years, and I literally cannot remember the last
>> time I saw a "conflicting entries" message.  I heartily recommend it.

I’m just using guix install when I need a new package and guix remove
to clean up. Shouldn’t that be equivalent?

> Indeed.  Even if you don’t use the declarative approach, usually just
> upgrade everything (“guix upgrade”) and you won’t have any problems
> either.
>
> Problems arise when you try to upgrade only part of the packages.

This problem cuts in when the system is not fully up to date and I use
guix install.

> Now, it doesn’t sound right that ‘util-linux’ is propagated from glib
> and from poppler…?

Poppler needs glib at runtime and glib needs tools from util-linux at
runtime?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.