View previous topic :: View next topic |
Author |
Message |
floppes n00b
Joined: 06 Jan 2005 Posts: 68 Location: Germany
|
Posted: Sat Aug 23, 2014 10:26 am Post subject: [solved] systemd and udev block |
|
|
After searching the forums for about an hour without finding a solution I need to open a new thread about systemd and udev blocks. I am using Gnome and systemd and I want to keep using systemd (in contrast to most other posts with this blocking issue). I get the following:
Code: | floppes-laptop ~ # emerge -uDpt world
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[nomerge ] virtual/udev-215
[nomerge ] sys-fs/udev-215-r1 USE="acl firmware-loader gudev introspection kmod -doc (-selinux) -static-libs" ABI_X86="(64) (-32) (-x32)"
[ebuild N ] sys-fs/udev-init-scripts-26-r2
[ebuild N ] sys-fs/udev-215-r1 USE="acl firmware-loader gudev introspection kmod -doc (-selinux) -static-libs" ABI_X86="(64) (-32) (-x32)"
[blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-215-r1)
[blocks B ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-215-r1)
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-215-r3, sys-apps/gentoo-systemd-integration-4) |
As far is I understand, I need virtual/udev for sytemd but no sys-fs/udev. Why is sys-fs/udev pulled in by virtual/udev?
Last edited by floppes on Mon Aug 25, 2014 5:46 am; edited 1 time in total |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Aug 23, 2014 10:55 am Post subject: |
|
|
In short kick out udev because udev and systemd provides a similar feature but you can only have one of those on your box.
kick out udev and try to get systemd running. when you use gnome you need systemd and get rid of udev. |
|
Back to top |
|
|
floppes n00b
Joined: 06 Jan 2005 Posts: 68 Location: Germany
|
Posted: Sat Aug 23, 2014 11:53 am Post subject: |
|
|
I don't have sys-fs/udev installed. And according to here I need virtual/udev for systemd:
Quote: | sys-apps/systemd contains udev and, then, you can safely let sys-fs/udev be removed as systemd will be the provider for virtual/udev |
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Aug 23, 2014 12:00 pm Post subject: |
|
|
hmm, I could be wrong but does nomerge implies it is already installed?
Code: | [nomerge ] sys-fs/udev-215-r1 USE="acl firmware-loader gudev introspection kmod -doc (-selinux) -static-libs" ABI_X86="(64) (-32) (-x32)"
|
please eix udev => and post hole output here, thanks, to see if its installed.
you should put that package into masking and try again, |
|
Back to top |
|
|
floppes n00b
Joined: 06 Jan 2005 Posts: 68 Location: Germany
|
Posted: Sat Aug 23, 2014 12:12 pm Post subject: |
|
|
Thanks for your help, here's the output:
Code: | floppes-laptop ~ # eix udev
* app-text/uudeview
Available versions: 0.5.20-r1 {tk}
Homepage: http://www.fpx.de/fp/Software/UUDeview/
Description: uu, xx, base64, binhex decoder
* app-vim/udev-syntax
Available versions: 20051016-r1
Homepage: http://www.vim.org/scripts/script.php?script_id=1381
Description: vim plugin: syntax highlighting for udev rules files
* dev-dotnet/gudev-sharp
Available versions: 0.1
Homepage: http://launchpad.net/gudev-sharp
Description: GUDEV API C# binding
* dev-python/python-gudev
Available versions: 147.2 ~147.2-r1 {PYTHON_TARGETS="python2_7"}
Homepage: http://github.com/nzjrs/python-gudev
Description: Python binding to the GUDev udev helper library
* dev-python/pyudev
Available versions: 0.16.1 ~0.16.1-r1 {pygobject pyqt4 pyside test PYTHON_TARGETS="python2_7 python3_2 python3_3"}
Homepage: http://packages.python.org/pyudev/ http://pypi.python.org/pypi/pyudev
Description: Python binding to libudev
* sys-apps/udevil
Available versions: 0.4.1 0.4.3
Homepage: http://ignorantguru.github.com/udevil/
Description: mount and unmount removable devices without a password
* sys-fs/eudev
Available versions: *1.3 1.5.3-r1 1.9-r1 1.9-r2 ~1.10 **9999 {doc gudev (+)hwdb introspection (+)keymap (+)kmod +modutils +openrc +rule-generator selinux static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Homepage: https://github.com/gentoo/eudev
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
* sys-fs/udev
Available versions: 208-r1^t 212-r1^t ~214^t 215^t 215-r1^t ~216^t **9999^t {acl doc +firmware-loader gudev introspection +kmod selinux static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
* sys-fs/udev-init-scripts
Available versions: 26-r2^t ~27^t **9999^t
Homepage: http://www.gentoo.org
Description: udev startup scripts for openrc
[I] virtual/libgudev
Available versions: 215-r1(0/0) {introspection static-libs systemd ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 215-r1(18:16:33 15.08.2014)(introspection systemd -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Description: Virtual for libgudev providers
[I] virtual/libudev
Available versions: 215-r1(0/1) {static-libs systemd ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 215-r1(18:16:41 15.08.2014)(systemd -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Description: Virtual for libudev providers
[I] virtual/udev
Available versions: 215 {systemd}
Installed versions: 215(10:04:18 03.08.2014)
Description: Virtual to select between different udev daemon providers
12 Treffer. |
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Aug 24, 2014 4:13 pm Post subject: |
|
|
first of all i say put sys-fs/udev into portage.mask and only keep the virtual udev package unmasked.
have you checked this sys-apps/gentoo-systemd-integration-4 <= i have no idea about this package but your first post indicates it, is it the current package? is it needed by systemd or not? |
|
Back to top |
|
|
floppes n00b
Joined: 06 Jan 2005 Posts: 68 Location: Germany
|
Posted: Sun Aug 24, 2014 8:39 pm Post subject: |
|
|
I put sys-fs/udev into portage.mask but that didn't help...
I don't know about sys-apps/gentoo-systemd-integration either. It seems to be required by systemd.
What suddenly helped was re-emerging virtual/udev. I finally get an empty response to emerge -uDp world []
Thanks for your help! |
|
Back to top |
|
|
Aquan89 n00b
Joined: 25 Aug 2014 Posts: 2
|
Posted: Mon Aug 25, 2014 10:54 pm Post subject: |
|
|
Hi,
I seem to have a similar problem, but I'm using OpenRC instead of systemd.
When I try to: emerge --update --deep --newuse --with-bdeps=y @world
this happens:
Quote: |
[blocks B ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-215-r1)
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-215-r3, sys-apps/gentoo-systemd-integration-4)
[blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-215-r1)
|
I used to have Gnome, then I removed it and installed KDE.
It seems that networkmanager requires something from systemd (dbus?), but even when I removed networkmanager,
the dependencies were still broken. Can I use networkmanager with openrc without systemd or do I have to switch to wicd?
Does anyone know how to resolve this dependency problem? I don't think removing sys-fs/udev would be a good idea in this case. |
|
Back to top |
|
|
saivinoba n00b
Joined: 20 May 2014 Posts: 30
|
Posted: Thu Aug 28, 2014 9:21 am Post subject: |
|
|
Hi Aquan89,
I was in the exact situation as you are. I am running OpenRC. I had gnome but removed it and installed KDE. When I tried world update I was getting same error.
As stated above, we can have one of systemd or udev, not both. We need to make a choice. I chose to remove systemd. So, here is what I did.
I checked what packages depended on systemd.
Code: | equery d systemd
* These packages depend on systemd:
app-admin/syslog-ng-3.4.7 (systemd ? sys-apps/systemd)
kde-base/kdm-4.11.9-r1 (systemd ? sys-apps/systemd)
media-sound/pulseaudio-5.0-r2 (systemd ? 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(-)?])
net-misc/networkmanager-0.9.8.8 (systemd ? >=sys-apps/systemd-183:0)
(>=sys-apps/systemd-183)
net-wireless/bluez-5.18 (systemd ? sys-apps/systemd)
sys-apps/accountsservice-0.6.37 (systemd ? >=sys-apps/systemd-186:0)
sys-apps/dbus-1.8.6 (systemd ? sys-apps/systemd:0)
sys-apps/gentoo-systemd-integration-4 (>=sys-apps/systemd-207)
sys-auth/pambase-20120417-r3 (systemd ? >=sys-apps/systemd-44-r1[pam])
sys-auth/polkit-0.112-r1 (systemd ? sys-apps/systemd)
sys-fs/udisks-2.1.3 (systemd ? sys-apps/systemd)
virtual/libgudev-208 (>=sys-apps/systemd-208:0[abi_x86_64(-),gudev,introspection])
(>=sys-apps/systemd-208:0[abi_x86_64(-),gudev,introspection])
(>=sys-apps/systemd-208:0[abi_x86_64(-),gudev,introspection])
virtual/libudev-208 (>=sys-apps/systemd-208:0[abi_x86_64(-)])
(>=sys-apps/systemd-208:0[abi_x86_64(-)])
(>=sys-apps/systemd-208:0[abi_x86_64(-)])
virtual/logger-0 (>=sys-apps/systemd-38)
virtual/service-manager-0 (kernel_linux ? sys-apps/systemd)
virtual/udev-208-r2 (>=sys-apps/systemd-208:0)
x11-misc/colord-1.0.3 (systemd ? >=sys-apps/systemd-44:0) |
Out of them, I unmerged gentoo-systemd-integration. I also unmerged sys-apps/systemd.
Code: | emerge -aC sys-apps/gentoo-systemd-integration sys-apps/systemd |
Later, emerged the systemd dependent packages with "-systemd" USE flag.
Code: | USE="-systemd" emerge -av app-admin/syslog-ng kde-base/kdm media-sound/pulseaudio \
net-misc/networkmanager net-wireless/bluez sys-apps/accountsservice \
sys-apps/dbus sys-apps/gentoo-systemd-integration sys-auth/pambase \
sys-auth/polkit sys-fs/udisks virtual/libgudev virtual/libudev \
virtual/logger virtual/service-manager virtual/udev x11-misc/colord |
The emerge process went smooth. I have put '-systemd' in my make.conf file and am doing @world update currently as I type. So far no problem.
I'm no expert but what I did worked for me. You can try this or as suggested above, remove udev and keep systemd. Good luck. |
|
Back to top |
|
|
Aquan89 n00b
Joined: 25 Aug 2014 Posts: 2
|
Posted: Fri Aug 29, 2014 1:54 am Post subject: |
|
|
Hi Saivinoba
I did everything as you described and somehow systemd is still being required by networkmanager, gentoo-systemd-integration and dbus.
From this three packages, I only have networkmanager installed.
Emerging all packages that depend on systemd with USE="-systemd" didn't change anything. I wonder why.
It seems like some conspiracy to force gentoo users to use systemd
Thanks for trying to help me though, I appreciate it!
PS: AHA! Found it. I had systemd use flag in packages.use file. Now it proceeds with updates! |
|
Back to top |
|
|
Xonak n00b
Joined: 18 Mar 2013 Posts: 21
|
|
Back to top |
|
|
fernan82 n00b
Joined: 24 Jul 2014 Posts: 70
|
Posted: Mon Sep 01, 2014 1:16 am Post subject: |
|
|
I got that error before (probably while emerging NetworkManager too but I'm not sure).
What I did was emerge sys-fs/udev by itself making sure that you get the exact version that emerge wants with the right use flags.
Then run your emerge again, it shouldn't need any of the udev or systemd dependencies anymore. I also set the -systemd global use flag. |
|
Back to top |
|
|
danwills n00b
Joined: 11 Nov 2012 Posts: 4 Location: Adelaide, South Australia
|
Posted: Sat Jan 03, 2015 5:15 am Post subject: |
|
|
I was stumped by this for quite a long time (weeks!), but Aquan89's tip to look for (and remove) systemd useflag in package.use, finally got things moving, so thanks heaps! |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat Jan 03, 2015 1:58 pm Post subject: |
|
|
Glad to see you got it sorted.
For people using openrc with networkmanager and wicd, you might want to look at using dhcpcd (which you likely already have) to do it all, in conjunction with wpa-supplicant; discussed a bit later on in the topic iirc, also on the wiki.
The wiki page on dependent services might be useful too.
Damn, the wiki is kludgey with the new js nonsense. |
|
Back to top |
|
|
|