GNU bug report logs -
#37940
endless "try upgrading both" cycles
Previous Next
To reply to this bug, email your comments to 37940 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Sun, 27 Oct 2019 09:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arne Babenhauserheide <arne_bab <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 27 Oct 2019 09:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
When installing a package while some packages are not up to date, guix
can require adding more and more packages to guix install:
$ LANG=C guix install gtk+ dbus dbus-c++ dbus-glib glib libsoup rest libnotify poppler pcre libffi
The following packages will be upgraded:
dbus 1.12.12 -> 1.12.16 /gnu/store/nlb24nrrrkn2h9vflnqigcf2hx58rvyx-dbus-1.12.16
dbus-c++ 0.9.0 -> 0.9.0 /gnu/store/f67vzh5hp4jd2y34hiz8jdd9wymv1j8x-dbus-c++-0.9.0
dbus-glib 0.108 -> 0.108 /gnu/store/0riy07j7njqf2avcr9n5asrdxapd2np4-dbus-glib-0.108
glib 2.56.3 -> 2.60.6 /gnu/store/fbnpd7vjifm6ijyij4hi18mnsnf76983-glib-2.60.6
libsoup 2.66.2 -> 2.68.2 /gnu/store/pabg3nkgmxg5cglimz7fklnk4n4dypb1-libsoup-2.68.2
rest 0.8.1 -> 0.8.1 /gnu/store/xpvpfhf93rz4jkvi9pp2p5cvh4jcbv1h-rest-0.8.1
libnotify 0.7.7 -> 0.7.7 /gnu/store/djpm5rvn35aaasfsgh7y3kqis71av5fy-libnotify-0.7.7
poppler 0.72.0 -> 0.79.0 /gnu/store/8xysjsr4nh72m4334vff987x52pxyfmn-poppler-0.79.0
pcre 8.42 -> 8.43 /gnu/store/5j6w0x3aq0i5r9565w92lrh016vlmv2d-pcre-8.43
libffi 3.2.1 -> 3.2.1 /gnu/store/ain96mrdwqd4s9shdd3s7m4syp5icdx5-libffi-3.2.1
The following package will be installed:
gtk+ 3.24.10 /gnu/store/6x13nr57i1qml20kjl30l7b767cw0d0b-gtk+-3.24.10
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.
Since Guix already knows about these requirements, it would be great if
I could tell it to just pull in all additional updates to be able to
install the package. Or at least tell me about all the required upgrades
in one step. Something like
guix install: error: profile contains conflicting entries
guix install: error: conflict N: 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
guix install: error: conflict N+1: util-linux
guix install: error: first entry: util-linux <at> 2.34 /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34
guix install: error: second entry: util-linux <at> 2.32.1 /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1
guix install: error: ... propagated from fontconfig <at> 2.13.1
hint: Try upgrading removing dbus from the profile or upgrading all
dependent packages with
hint: guix install gtk+ dbus dbus-c++ dbus-glib glib libsoup rest libnotify poppler pcre libffi util-linux ...
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Sun, 27 Oct 2019 17:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37940 <at> debbugs.gnu.org (full text, mbox):
Hi Arne,
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.
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Sun, 27 Oct 2019 22:47:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 37940 <at> debbugs.gnu.org (full text, mbox):
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.
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.
Now, it doesn’t sound right that ‘util-linux’ is propagated from glib
and from poppler…?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Mon, 28 Oct 2019 00:05:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 37940 <at> debbugs.gnu.org (full text, mbox):
[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)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Wed, 30 Oct 2019 11:21:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 37940 <at> debbugs.gnu.org (full text, mbox):
Hello Ludo,
Ludovic Courtès <ludo <at> gnu.org> writes:
[...]
> Now, it doesn’t sound right that ‘util-linux’ is propagated from glib
> and from poppler…?
Glib propagates 'util-linux' since it was updated to 2.58.1 (and poppler
propagates glib). This isn't the first time it's caused trouble [0].
Marius has proposed a patch to fix it, which is intended for
'core-updates' (It hasn't been pushed yet AFAIK).
Regards,
Diego
[0]: http://issues.guix.gnu.org/issue/37732
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37940
; Package
guix
.
(Thu, 31 Oct 2019 09:29:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 37940 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
On Mon, 28 Oct 2019 01:03:48 +0100
Arne Babenhauserheide <arne_bab <at> web.de> wrote:
> > 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?
That doesn't mean glib has to propagate the thing into the profile.
Quite the opposite, Guix is one of the few projects which rightly make the
distinction whether some dependency is an internal implementation detail of
a package or whether it's required in the public interface.
With glib's goal of abstracting stuff from UNIX away I seriously doubt they
intend util-*linux*, of all things, to be part of their public interface.
But you are right that Guix's glib propagates util-linux. That is most likely
a bug, or it's because of pkg-config files (which also could be solved another
way).
Checking glib-2.50.3, none of their pkg-config files (.pc) mention libmount,
so not sure what's going on.
glib-2.60.6 uses meson which apparently doesn't use pkg-config (?).
[Message part 2 (application/pgp-signature, inline)]
This bug report was last modified 5 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.