View previous topic :: View next topic |
Author |
Message |
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Wed Feb 26, 2014 10:39 pm Post subject: [SOLVED] masking systemd |
|
|
Hi all,
Is it possible to mask systemd and continue with openrc?
I have masked gnome 3+, but udev-208-r1 keeps pulling systemd-208-r2.
Regards,
Costa
Last edited by ktsaou on Thu Feb 27, 2014 6:05 pm; edited 1 time in total |
|
Back to top |
|
|
jonathan183 Guru
Joined: 13 Dec 2011 Posts: 318
|
Posted: Wed Feb 26, 2014 10:47 pm Post subject: Re: masking systemd |
|
|
You can mask systemd, just add sys-apps/systemd to /etc/portage/package.mask
but then you are likely to need to either use an older version of udev or switch to another device manager ... in my case I use mdev, others use an older version of udev or eudev. You could also do without a device manager and use static-dev.
There are alternative system configurations https://wiki.gentoo.org/wiki/Alternate_system_configurations ... Gentoo still has a number of options |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Thu Feb 27, 2014 12:18 am Post subject: |
|
|
Works well here - systemd masked in package.mask, -systemd in make.conf, and udev-208. This system is running mate from overlay. I don't see udev-208-r1, are you looking at the virtual by any chance? |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 1:48 am Post subject: |
|
|
Most probably I do use the virtual.
How do I change that? |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Thu Feb 27, 2014 12:34 pm Post subject: |
|
|
Make sure the USE flags of the virtual, and the provider match:
Code: |
$ sudo emerge -pv --nodeps sys-fs/udev sys-fs/eudev sys-apps/systemd virtual/udev
|
If virtual/udev has USE="introspection" or ABI_X86="32" or anything else enabled, then make sure the provider, sys-fs/udev or sys-fs/eudev has them enabled too.
This is the most usual reason for unwanted systemd installation. |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 1:21 pm Post subject: |
|
|
Code: | # emerge -pv --nodeps sys-fs/udev sys-fs/eudev sys-apps/systemd virtual/udev
These are the packages that would be merged, in order:
[ebuild U ] sys-fs/udev-208 [204] USE="acl firmware-loader gudev introspection kmod openrc -doc (-selinux) -static-libs (-hwdb%*) (-keymap%*)" ABI_X86="(64%*) (-32) (-x32)" 2,328 kB
[ebuild N ] sys-fs/eudev-1.3 USE="gudev introspection modutils openrc rule-generator -doc -hwdb -keymap -kmod (-selinux) -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" 1,641 kB
[ebuild N ] sys-apps/systemd-208-r2:0/1 USE="acl filecaps firmware-loader gudev introspection kmod lzma pam policykit python tcpd -audit -cryptsetup -doc -gcrypt -http -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 8 kB
[ebuild U ] virtual/udev-208-r1 [200] USE="gudev introspection kmod (-selinux) -static-libs (-hwdb%*) (-keymap%*)" ABI_X86="(64%*) (-32) (-x32)" 0 kB
Total: 4 packages (2 upgrades, 2 new), Size of downloads: 3,976 kB
|
Any ideas? |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Feb 27, 2014 1:34 pm Post subject: |
|
|
ktsaou wrote: | # emerge -pv --nodeps sys-fs/udev sys-fs/eudev sys-apps/systemd virtual/udev
...
Any ideas? |
Yeah, quit trying to emerge all three of them. Pick one, EITHER sys-fs/udev OR sys-fs/eudev OR sys-apps/systemd
The virtual will take care of itself. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 1:50 pm Post subject: |
|
|
Ok. Did it. I had to also update openrc.
Now, when I try to update world, I get this:
Quote: |
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
media-libs/libpng:0
(media-libs/libpng-1.5.17-r1::gentoo, installed) pulled in by
media-libs/libpng:0/0= required by (x11-libs/cairo-1.12.14-r4::gentoo, installed)
media-libs/libpng:0/0= required by (dev-qt/qtgui-4.8.5-r1::gentoo, installed)
>=media-libs/libpng-1.4:0/0= required by (net-libs/webkit-gtk-1.8.3-r201::gentoo, installed)
media-libs/libpng:0/0= required by (media-libs/jbig2dec-0.11-r1::gentoo, installed)
media-libs/libpng:0/0= required by (app-text/poppler-0.24.3::gentoo, installed)
media-libs/libpng:0/0= required by (media-libs/openjpeg-1.5.1::gentoo, installed)
media-libs/libpng:0/0= required by (media-video/mjpegtools-2.1.0::gentoo, installed)
(and 2 more with the same problems)
(media-libs/libpng-1.6.8::gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/libpng-1.6.6[apng] required by (mail-client/thunderbird-24.3.0::gentoo, ebuild scheduled for merge)
>=media-libs/libpng-1.4:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (x11-libs/motif-2.3.4-r1::gentoo, installed)
(and 1 more with the same problems)
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(sys-apps/systemd-208-r2::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/systemd-44-r1[pam] required by (sys-auth/pambase-20120417-r3::gentoo, ebuild scheduled for merge)
>=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-2::gentoo, ebuild scheduled for merge)
(sys-fs/udev-208::gentoo, installed) pulled in by
sys-fs/udev required by @selected
>=sys-fs/udev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?] (>=sys-fs/udev-208[abi_x86_64(-),gudev,introspection,kmod]) required by (virtual/udev-208-r1::gentoo, installed)
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by sys-apps/gentoo-systemd-integration-2
# /etc/portage/package.mask:
=sys-apps/systemd-208-r2
NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.
|
|
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 2:07 pm Post subject: |
|
|
I tried to mask sys-apps/gentoo-systemd-integration and added -systemd to make.conf.
Same results:
Quote: |
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
media-libs/libpng:0
(media-libs/libpng-1.5.17-r1::gentoo, installed) pulled in by
media-libs/libpng:0/0= required by (x11-libs/cairo-1.12.14-r4::gentoo, installed)
media-libs/libpng:0/0= required by (dev-qt/qtgui-4.8.5-r1::gentoo, installed)
>=media-libs/libpng-1.4:0/0= required by (net-libs/webkit-gtk-1.8.3-r201::gentoo, installed)
media-libs/libpng:0/0= required by (media-libs/jbig2dec-0.11-r1::gentoo, installed)
media-libs/libpng:0/0= required by (app-text/poppler-0.24.3::gentoo, installed)
media-libs/libpng:0/0= required by (media-libs/openjpeg-1.5.1::gentoo, installed)
media-libs/libpng:0/0= required by (media-video/mjpegtools-2.1.0::gentoo, installed)
(and 2 more with the same problems)
(media-libs/libpng-1.6.8::gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/libpng-1.6.6[apng] required by (mail-client/thunderbird-24.3.0::gentoo, ebuild scheduled for merge)
>=media-libs/libpng-1.4:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (x11-libs/motif-2.3.4-r1::gentoo, installed)
(and 1 more with the same problems)
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(sys-apps/systemd-208-r2::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/systemd-44-r1[pam] required by (sys-auth/pambase-20120417-r3::gentoo, ebuild scheduled for merge)
>=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-2::gentoo, ebuild scheduled for merge)
(sys-fs/udev-208::gentoo, installed) pulled in by
sys-fs/udev required by @selected
>=sys-fs/udev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?] (>=sys-fs/udev-208[abi_x86_64(-),gudev,introspection,kmod]) required by (virtual/udev-208-r1::gentoo, installed)
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by sys-apps/gentoo-systemd-integration-2
# /etc/portage/package.mask:
=sys-apps/systemd-208-r2
# required by sys-apps/systemd-208-r2[-vanilla]
# required by sys-auth/pambase-20120417-r3[systemd]
# required by net-misc/openssh-6.4_p1-r1[pam]
# required by gnome-base/gvfs-1.16.4
# required by media-sound/sound-juicer-2.32.0-r1
# required by gnome-base/gnome-2.32.1-r2
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
=sys-apps/gentoo-systemd-integration-2
NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.
|
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Feb 27, 2014 2:28 pm Post subject: |
|
|
Are you running emerge with the newuse flag (-N) _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 3:02 pm Post subject: |
|
|
Anon-E-moose wrote: | Are you running emerge with the newuse flag (-N) |
yes.
emerge -puDNv world
I also tried
emerge -pev world |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Thu Feb 27, 2014 3:44 pm Post subject: |
|
|
Anon-E-moose wrote: | ktsaou wrote: | # emerge -pv --nodeps sys-fs/udev sys-fs/eudev sys-apps/systemd virtual/udev
...
Any ideas? |
Yeah, quit trying to emerge all three of them. Pick one, EITHER sys-fs/udev OR sys-fs/eudev OR sys-apps/systemd
The virtual will take care of itself. |
You missed the --nodeps and the -pv. The only purpose of that command was to get a picture of the USE flags, not to install anything as he was merely answering to my query. |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 3:57 pm Post subject: |
|
|
ssuominen wrote: | Anon-E-moose wrote: | ktsaou wrote: | # emerge -pv --nodeps sys-fs/udev sys-fs/eudev sys-apps/systemd virtual/udev
...
Any ideas? |
Yeah, quit trying to emerge all three of them. Pick one, EITHER sys-fs/udev OR sys-fs/eudev OR sys-apps/systemd
The virtual will take care of itself. |
You missed the --nodeps and the -pv. The only purpose of that command was to get a picture of the USE flags, not to install anything as he was merely answering to my query. |
This is what I did.
But then, I re-installed udev (v208).
Any ideas how to get the updates now? |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Feb 27, 2014 3:59 pm Post subject: |
|
|
ssuominen wrote: | You missed the --nodeps and the -pv. The only purpose of that command was to get a picture of the USE flags, not to install anything as he was merely answering to my query. |
I didn't miss anything, nor was I unaware of the nodeps or -pv. I do that all the time.
Still doesn't need to do all three though.
ktsaou, add the "t" option so we can see what's trying to pull it in. ie "emerge -ptuDNv @world"
Edit to add: someone else was having a similar problem with the "introspection" flag turned on.
IIRC, they turned it off and then it quit trying to pull in systemd related pkgs.
Edit to add2: And no I don't know why turning off introspection allowed the other person to get by pkgs trying to pull in systemd related stuff.
It was considered solved, so I didn't look any further at it. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Feb 27, 2014 5:03 pm Post subject: |
|
|
Post output of "emerge -pv pambase"
and output of "grep systemd /etc/portage/package.*" _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
ktsaou Tux's lil' helper
Joined: 10 Jul 2003 Posts: 80
|
Posted: Thu Feb 27, 2014 6:05 pm Post subject: |
|
|
ok found it.
There was package.use entry for pambase. It was suggested by portage and I added it before masking systemd out.
Thanks for point it out.
It works now.
Thanks! |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu Feb 27, 2014 6:22 pm Post subject: |
|
|
Good luck _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|