Subject: endless "try upgrading both" cycles

From: Arne Babenhauserheide <[email-masked]>
Date: Sun, 27 Oct 2019 10:54:16 +0100

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: [email-masked] /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34
guix install: error:    ... propagated from [email-masked]
guix install: error:    ... propagated from [email-masked]
guix install: error:   second entry: [email-masked] /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: [email-masked] /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34
guix install: error:    ... propagated from [email-masked]
guix install: error:    ... propagated from [email-masked]
guix install: error:   second entry: [email-masked] /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1
guix install: error: conflict N+1: util-linux
guix install: error:   first entry: [email-masked] /gnu/store/xymkwf57x988q8cny2is1dgzrbr9xdfi-util-linux-2.34
guix install: error:   second entry: [email-masked] /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1
guix install: error:    ... propagated from [email-masked]

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