Re: [gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12

2020-08-23 Thread Hogren

Thank you Ashley to help me to read the ebuild/emerge syntax !

With your advice, docker is installing !!


Thank thank thank :)

Bye


Hogren

On 22/08/2020 22:09, Ashley Dixon wrote:

On Sat, Aug 22, 2020 at 09:48:00PM +0200, Hogren wrote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] app-emulation/docker-19.03.12::gentoo USE="container-init
overlay seccomp -apparmor -aufs -btrfs -device-mapper -hardened" 0 KiB
[blocks B  ] sys-apps/systemd[-cgroup-hybrid(+)]
("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking
app-emulation/docker-19.03.12)

Total: 1 package (1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.

   (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
     sys-apps/systemd required by @selected

   (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for merge)
pulled in by
     app-emulation/docker

systemd is not blocking Docker; Docker is blocking systemd. From the ebuild
(gentoo.git/app-emulation/docker/docker-19.03.12.ebuild):
 
 RDEPEND="

 ${COMMON_DEPEND}
 !sys-apps/systemd[-cgroup-hybrid(+)]

 [...]

I.e., "block systemd unless the `cgroup-hybrid` flag is set". The `(+)` suffix
means that the flag is assumed to be enabled if it does not exist [1]. For your
particular case (systemd v. 245.5), this suffix is irrelevant.

Just re-emerge systemd with USE="cgroup-hybrid" and see if that helps.

 Ashley.

[1] 
https://devmanual.gentoo.org/general-concepts/dependencies/#use-dependency-defaults





Re: [gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12

2020-08-22 Thread Ashley Dixon
On Sat, Aug 22, 2020 at 09:48:00PM +0200, Hogren wrote:
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N ] app-emulation/docker-19.03.12::gentoo USE="container-init
> overlay seccomp -apparmor -aufs -btrfs -device-mapper -hardened" 0 KiB
> [blocks B  ] sys-apps/systemd[-cgroup-hybrid(+)]
> ("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking
> app-emulation/docker-19.03.12)
> 
> Total: 1 package (1 new), Size of downloads: 0 KiB
> Conflict: 1 block (1 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
>     sys-apps/systemd required by @selected
> 
>   (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
>     app-emulation/docker

systemd is not blocking Docker; Docker is blocking systemd. From the ebuild
(gentoo.git/app-emulation/docker/docker-19.03.12.ebuild):

RDEPEND="
${COMMON_DEPEND}
!sys-apps/systemd[-cgroup-hybrid(+)]

[...]

I.e., "block systemd unless the `cgroup-hybrid` flag is set". The `(+)` suffix
means that the flag is assumed to be enabled if it does not exist [1]. For your
particular case (systemd v. 245.5), this suffix is irrelevant.

Just re-emerge systemd with USE="cgroup-hybrid" and see if that helps.

Ashley.

[1] 
https://devmanual.gentoo.org/general-concepts/dependencies/#use-dependency-defaults

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


[gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12

2020-08-22 Thread Hogren

Hello world !


I suppose this problem is really easy to solve for many people here. But 
I failed to deal with it !


I had systemd and docker since a long time.

For the first time, I can't make an update of my system.

Recently, I tried to run "emerge --newuse --update --autounmask-write 
--deep --with-bdeps=y @world". I see the problem. I unmerged docker. I 
run again the precedent command.


All was right.

So, I try to emerge docker : "emerge --verbose app-emulation/docker"


This is the output :

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] app-emulation/docker-19.03.12::gentoo 
USE="container-init overlay seccomp -apparmor -aufs -btrfs 
-device-mapper -hardened" 0 KiB
[blocks B  ] sys-apps/systemd[-cgroup-hybrid(+)] 
("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking 
app-emulation/docker-19.03.12)


Total: 1 package (1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
    sys-apps/systemd required by @selected

  (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for 
merge) pulled in by

    app-emulation/docker


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages



Anyone can help me ?

Thank you !

Hogren