Gentoo Archives: gentoo-user

From: Hogren <hogren@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12
Date: Sun, 23 Aug 2020 08:10:49
Message-Id: 0c2bb7a2-0383-3d22-90b4-a826ed79a01e@iiiha.com
In Reply to: Re: [gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12 by Ashley Dixon
1 Thank you Ashley to help me to read the ebuild/emerge syntax !
2
3 With your advice, docker is installing !!
4
5
6 Thank thank thank :)
7
8 Bye
9
10
11 Hogren
12
13 On 22/08/2020 22:09, Ashley Dixon wrote:
14 > On Sat, Aug 22, 2020 at 09:48:00PM +0200, Hogren wrote:
15 >> These are the packages that would be merged, in order:
16 >>
17 >> Calculating dependencies... done!
18 >> [ebuild  N     ] app-emulation/docker-19.03.12::gentoo USE="container-init
19 >> overlay seccomp -apparmor -aufs -btrfs -device-mapper -hardened" 0 KiB
20 >> [blocks B      ] sys-apps/systemd[-cgroup-hybrid(+)]
21 >> ("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking
22 >> app-emulation/docker-19.03.12)
23 >>
24 >> Total: 1 package (1 new), Size of downloads: 0 KiB
25 >> Conflict: 1 block (1 unsatisfied)
26 >>
27 >>  * Error: The above package list contains packages which cannot be
28 >>  * installed at the same time on the same system.
29 >>
30 >>   (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
31 >>     sys-apps/systemd required by @selected
32 >>
33 >>   (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for merge)
34 >> pulled in by
35 >>     app-emulation/docker
36 > systemd is not blocking Docker; Docker is blocking systemd. From the ebuild
37 > (gentoo.git/app-emulation/docker/docker-19.03.12.ebuild):
38 >
39 > RDEPEND="
40 > ${COMMON_DEPEND}
41 > !sys-apps/systemd[-cgroup-hybrid(+)]
42 >
43 > [...]
44 >
45 > I.e., "block systemd unless the `cgroup-hybrid` flag is set". The `(+)` suffix
46 > means that the flag is assumed to be enabled if it does not exist [1]. For your
47 > particular case (systemd v. 245.5), this suffix is irrelevant.
48 >
49 > Just re-emerge systemd with USE="cgroup-hybrid" and see if that helps.
50 >
51 > Ashley.
52 >
53 > [1] https://devmanual.gentoo.org/general-concepts/dependencies/#use-dependency-defaults
54 >