sys-apps/sysvinit („sys-apps/sysvinit“ is blocking sys-apps/systemd-236-r5)

 

localhost /home/fridolin # emerge -avuND world

* IMPORTANT: 18 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

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

Calculating dependencies... done!
[ebuild U ] net-dns/libidn-1.33-r2::gentoo [1.33-r1::gentoo] USE="nls -doc -emacs -java -mono -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild N ] dev-python/lxml-3.8.0::gentoo USE="threads -doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 3.707 KiB
[ebuild N ] dev-libs/libgamin-0.1.10-r5::gentoo USE="-debug -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 463 KiB
[ebuild N ] app-admin/gamin-0.1.10-r1::gentoo ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild N ] app-admin/gam-server-0.1.10-r2::gentoo USE="-debug" 388 KiB
[ebuild N ] virtual/fam-0-r1::gentoo ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild N #] net-fs/samba-4.5.15::gentoo USE="acl client cups fam ldap pam system-mitkrb5 systemd -addc -addns -ads -cluster -dmapi -gnutls -gpg -iprint -quota (-selinux) -syslog (-system-heimdal) {-test} -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 20.534 KiB
[ebuild U ] sys-apps/systemd-236-r5:0/2::gentoo [233-r6:0/2::gentoo] USE="acl gcrypt kmod lz4 pam policykit seccomp ssl sysv-utils* (-apparmor) -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2% -lzma -nat -qrcode (-selinux) {-test} -usrmerge% -vanilla -xkb (-doc%)" ABI_X86="(64) -32 (-x32)" 6.655 KiB
[blocks B ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)

Total: 8 packages (2 upgrades, 6 new), Size of downloads: 31.744 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-236-r5:0/2::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/systemd-206:0= required by (gnome-base/gvfs-1.32.1-r1:0/0::gentoo, installed)
>=sys-apps/systemd-217:0 required by (virtual/udev-217:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (sys-apps/dbus-1.10.18:0/0::gentoo, installed)
>=sys-apps/systemd-206:0/2= required by (gnome-base/gvfs-1.32.1-r1:0/0::gentoo, installed)
>=sys-apps/systemd-44:0= required by (gnome-extra/gnome-system-monitor-3.24.0:0/0::gentoo, installed)
>=sys-apps/systemd-209:0/2= required by (sys-apps/gnome-disk-utility-3.24.1:0/0::gentoo, installed)
>=sys-apps/systemd-209:0= required by (sys-apps/gnome-disk-utility-3.24.1:0/0::gentoo, installed)
>=sys-apps/systemd-44:0/2= required by (x11-misc/colord-1.3.4:0/2::gentoo, installed)
sys-apps/systemd required by (gnome-base/gnome-settings-daemon-3.24.3:0/0::gentoo, installed)
>=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-apps/systemd-212-r5:0/2[abi_x86_64(-)]) required by (virtual/libudev-232:0/1::gentoo, installed)
>=sys-apps/systemd-183 required by (net-misc/modemmanager-1.6.4:0/1::gentoo, installed)
sys-apps/systemd required by (net-vpn/openvpn-2.4.4:0/0::gentoo, installed)
sys-apps/systemd:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-apps/systemd:0=[abi_x86_64(-)]) required by (media-sound/pulseaudio-11.1:0/0::gentoo, installed)
>=sys-apps/systemd-186:0=[pam] required by (gnome-base/gdm-3.24.3:0/0::gentoo, installed)
>=sys-apps/systemd-186:0= required by (sys-apps/accountsservice-0.6.45:0/0::gentoo, installed)
>=sys-apps/systemd-209:0= required by (net-misc/networkmanager-1.8.4:0/0::gentoo, installed)
sys-apps/systemd required by (net-print/cups-2.1.4:0/0::gentoo, installed)
>=sys-apps/systemd-44:0/2= required by (gnome-extra/gnome-system-monitor-3.24.0:0/0::gentoo, installed)
sys-apps/systemd:0= required by (sys-auth/polkit-0.113-r4:0/0::gentoo, installed)
sys-apps/systemd[pam] required by (sys-auth/pambase-20150213-r1:0/0::gentoo, installed)
>=sys-apps/systemd-31 required by (gnome-base/gnome-shell-3.24.3:0/0::gentoo, installed)
>=sys-apps/systemd-183:0/2= required by (gnome-base/gnome-session-3.24.2:0/0::gentoo, installed)
>=sys-apps/systemd-205:0= required by (sys-fs/lvm2-2.02.145-r2:0/0::gentoo, installed)
>=sys-apps/systemd-209:0/2= required by (net-misc/networkmanager-1.8.4:0/0::gentoo, installed)
>=sys-apps/systemd-44:0= required by (x11-misc/colord-1.3.4:0/2::gentoo, installed)
sys-apps/systemd:0/2=[abi_x86_64(-)] required by (media-sound/pulseaudio-11.1:0/0::gentoo, installed)
>=sys-apps/systemd-31 required by (gnome-base/gnome-control-center-3.24.3:2/2::gentoo, installed)
>=sys-apps/systemd-209 required by (sys-fs/udisks-2.7.4-r1:2/2::gentoo, installed)
sys-apps/systemd required by (x11-base/xorg-server-1.19.5:0/1.19.5::gentoo, installed)
sys-apps/systemd:0/2= required by (sys-auth/polkit-0.113-r4:0/0::gentoo, installed)
sys-apps/systemd required by (sys-apps/util-linux-2.30.2:0/0::gentoo, installed)
>=sys-apps/systemd-205:0/2= required by (sys-fs/lvm2-2.02.145-r2:0/0::gentoo, installed)
>=sys-apps/systemd-183:0= required by (gnome-base/gnome-session-3.24.2:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (dev-qt/qtcore-5.7.1-r3:5/5.7::gentoo, installed)
>=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-7:0/0::gentoo, installed)
sys-apps/systemd required by (sys-process/procps-3.3.12-r1:0/5::gentoo, installed)
>=sys-apps/systemd-38 required by (virtual/logger-0:0/0::gentoo, installed)
>=sys-apps/systemd-186:0/2=[pam] required by (gnome-base/gdm-3.24.3:0/0::gentoo, installed)
sys-apps/systemd:0= required by (sys-apps/dbus-1.10.18:0/0::gentoo, installed)
sys-apps/systemd required by (virtual/tmpfiles-0:0/0::gentoo, installed)
sys-apps/systemd:= required by (dev-qt/qtcore-5.7.1-r3:5/5.7::gentoo, installed)
sys-apps/systemd:0= required by (net-fs/samba-4.5.15:0/0::gentoo, ebuild scheduled for merge)
>=sys-apps/systemd-186:0/2= required by (sys-apps/accountsservice-0.6.45:0/0::gentoo, installed)

(sys-apps/sysvinit-2.88-r9:0/0::gentoo, installed) pulled in by
>=sys-apps/sysvinit-2.86-r6[selinux?] (>=sys-apps/sysvinit-2.86-r6) required by (sys-apps/openrc-0.34.11:0/0::gentoo, installed)

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

The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by gnome-base/gnome-control-center-3.24.3::gentoo[cups]
# required by gnome-base/gnome-shell-3.24.3::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/samba:
=net-fs/samba-4.5.15

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No] no

* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.

 

Es wird nach den Abhängigkeiten des Paketes geschaut:

sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd

Das Paket net-fs/samba ist für die Kompilierung verschiedener Pakete erforderlich. Daher wird gefragt, ob net-fs/samba in die Datei package.unmask geschrieben werden soll. Damit wird verhindert, dass das Paket maskiert wird.

The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by gnome-base/gnome-control-center-3.24.3::gentoo[cups]
# required by gnome-base/gnome-core-apps-3.24.2::gentoo
# required by gnome-base/gnome-3.24.2::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/samba:
=net-fs/samba-4.5.15

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No] yes

Autounmask changes successfully written.

* IMPORTANT: config file '/etc/portage/package.unmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.

* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.

Nach der Aktualisierung von Konfigurationsdateien wird etc-update ausgeführt:

localhost /etc/portage/package.mask # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/portage/package.unmask (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): 1

File: /etc/portage/._cfg0000_package.unmask
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
5) Save update as example config
Please select from the menu above (-1 to ignore this update): 1
Replacing /etc/portage/package.unmask with /etc/portage/._cfg0000_package.unmask

Exiting: Nothing left to do; exiting. :)

 

Da ich net-fs/samba in die package.use eingetragen hatte ist es sinnvoller, diese dort zu löschen.

localhost /etc/portage/package.mask # nano -w /etc/portage/package.mask/
libtool openrc perl samba
localhost /etc/portage/package.mask # nano -w /etc/portage/package.mask/samba
localhost /etc/portage/package.mask # rm samba

 

Dies brachte noch keine Besserung. Daher versuche ich eine Deinstallation von sysvinit

localhost /etc/portage/package.mask # emerge -C sysvinit
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.

sys-apps/sysvinit
selected: 2.88-r9
protected: none
omitted: none

All selected packages: =sys-apps/sysvinit-2.88-r9

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) sys-apps/sysvinit-2.88-r9...

* GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: net-fs/samba-4.5.10-r1
* - /usr/lib64/samba/libsamba-security-samba4.so
* - /usr/lib64/samba/libsamba3-util-samba4.so
* - /usr/lib64/samba/libldbsamba-samba4.so
* - /usr/lib64/libsamba-util.so.0
* - /usr/lib64/libsamba-util.so.0.0.1
* - /usr/lib64/libndr-krb5pac.so.0
* - /usr/lib64/libndr-krb5pac.so.0.0.1
* - /usr/lib64/libndr-nbt.so.0
* - /usr/lib64/libndr-nbt.so.0.0.1
* - /usr/lib64/samba/libflag-mapping-samba4.so
* - /usr/lib64/samba/libinterfaces-samba4.so
* - /usr/lib64/samba/libsmbd-shim-samba4.so
* - /usr/lib64/samba/libiov-buf-samba4.so
* - /usr/lib64/samba/libgse-samba4.so

 

Da openrc blockiert versuchte ich das Paket zu deinstallieren. Leider ist es Bestandteil des Systemkerns. Das System kann durch Deinstallation demoliert werden.

localhost /etc/portage/package.mask # emerge -C openrc
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.

!!! 'sys-apps/openrc' (virtual/service-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.

sys-apps/openrc
selected: 0.34.11
protected: none
omitted: none

All selected packages: =sys-apps/openrc-0.34.11

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3^C

Exiting on signal Signals.SIGINT

(sys-apps/sysvinit-2.88-r9:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/sysvinit-2.86-r6[selinux?] (>=sys-apps/sysvinit-2.86-r6) required by (sys-apps/openrc-0.34.11:0/0::gentoo, installed)

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

Jetzt macht Portage den Vorschlag, die Versionsumer mit einzutragen.

The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by sys-apps/openrc-0.34.11::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/sysvinit:
=sys-apps/sysvinit-2.88-r9

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No] yes

Autounmask changes successfully written.

* IMPORTANT: config file '/etc/portage/package.unmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.

* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.

Aktualisierung der Konfigurationsdateien:

 

localhost /etc/portage/package.mask # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/portage/package.unmask (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): 1

File: /etc/portage/._cfg0000_package.unmask
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
5) Save update as example config
Please select from the menu above (-1 to ignore this update): 1
Replacing /etc/portage/package.unmask with /etc/portage/._cfg0000_package.unmask
mv: '/etc/portage/package.unmask' überschreiben? y

Exiting: Nothing left to do; exiting. :)

 

Leider bringt auch dies nicht die Lösung. Ich hole mir jetzt im Forum Hilfe. https://forums.gentoo.org/viewtopic-p-8174878.html#8174878

 

Nachdem ich durch eselect news read aktuelle Infos vom Portage gelesen habe, bekam ich die Lösung:

 

2018-01-23-systemd-blocker
Title systemd sysv-utils blocker resolution
Author Mike Gilbert <floppym@gentoo.org>
Posted 2018-01-23
Revision 1

Starting with systemd-236, the sysv-utils USE flag is enabled by
default.

The sysv-utils USE flag controls installation of symlinks for several
key commands:

/sbin/halt -> ../bin/systemctl
/sbin/init -> ../lib/systemd/systemd
/sbin/reboot -> ../bin/systemctl
/sbin/poweroff -> ../bin/systemctl
/sbin/runlevel -> ../bin/systemctl
/sbin/shutdown -> ../bin/systemctl
/sbin/telinit -> ../bin/systemctl

These commands are otherwise provided by sys-apps/sysvinit. This package
is blocked by systemd when the sysv-utils USE flag is enabled.

Enabling sysv-utils should cause Portage to un-merge sysvinit and OpenRC
if they are currently installed. emerge may emit a warning message
before doing so; if you are booting with systemd, this message is safe
to ignore.

If you wish to keep sysvinit (and openrc) installed, you may disable the
sysv-utils USE flag locally.

If you run into unresolvable blockers with sysv-utils enabled, ensure
that you do not have any reverse dependencies of sys-apps/sysvinit
selected (in your world file).

Common packages to look for:

sys-apps/sysvinit
sys-apps/openrc
net-misc/netifrc

The equery command from gentoolkit may help track down installed
packages that depend on openrc.

equery depends sys-apps/openrc

 

Wenn systemd in der make.conf  hinterlegt ist, muss es ohne sysv-utils kompiliert werden. Dies erfolgt über 

localhost# USE="-sysv-utils" emerge -av systemd