How to replace udev with eudev?
Jump to:
Project: | Linux software |
Component: | Documentation |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | closed |
Related pages: | #9107: sys-fs/udev :-:-: #9108: sys-fs/eudev :-:-: #9113: sys-apps/systemd |
Tags: | eudev, systemd, udev |
Description
I am experiencing troubles with replacing udev with eudev. I encounter all kinds of conflicts, etc.
Comments
#1
$ emerge --ask --depclean sys-apps/systemd
--- Couldn't find 'sys-apps/systemd' to depclean.
>>> No packages selected for removal by depclean
#2
$ emerge -a eudev
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-fs/eudev-3.1.5 USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs {-test}" ABI_X86="(64) -32 (-x32)"
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.1.5)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(sys-fs/udev-225-r1:0/0::gentoo, installed) pulled in by
>=sys-fs/udev-208-r1:0/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(-)?,static-libs?] (>=sys-fs/udev-208-r1:0/0[abi_x86_32(-),abi_x86_64(-)]) required by (virtual/libudev-215-r1:0/1::gentoo, installed)
(sys-fs/eudev-3.1.5:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=sys-fs/eudev-1.3 required by (virtual/udev-215:0/0::gentoo, installed)
eudev
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_packag...
!!! The following installed packages are masked:
- sys-fs/udev-225-r1::gentoo (masked by: package.mask)
/etc/portage/package.mask/systemd:
# https://wiki.gentoo.org/wiki/Gentoo_Without_systemd
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
#3
$ emerge --ask --depclean udev
Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed: 1005
Packages in world: 145
Packages in system: 44
Required packages: 1005
Number removed: 0
#4
$ equery list -p udev
* Searching for udev ...
[-P-] [M ] sys-fs/udev-216:0
[IP-] [M ] sys-fs/udev-225-r1:0
[-P-] [M~] sys-fs/udev-228:0
[-P-] [M~] sys-fs/udev-229-r2:0
[-P-] [M~] sys-fs/udev-230-r1:0
[-P-] [M-] sys-fs/udev-9999:0
and
$ equery list -p eudev
* Searching for eudev ...
[-P-] [ ] sys-fs/eudev-1.9-r2:0
[-P-] [ ] sys-fs/eudev-1.10-r2:0
[-P-] [ ] sys-fs/eudev-3.1.2:0
[-P-] [ ] sys-fs/eudev-3.1.5:0
[-P-] [ ~] sys-fs/eudev-3.2:0
[-P-] [ -] sys-fs/eudev-4.9999:0
[-P-] [ -] sys-fs/eudev-9999:0
and
$ equery list -p virtual/udev
* Searching for udev in virtual ...
[IP-] [ ] virtual/udev-215:0
[-P-] [ ~] virtual/udev-217:0
#5
I also encountered this problem:
#9116: udev as unmet requirements for kdelibs
#6
I forced an uninstall of udev:
$ emerge -C sys-fs/udev
* 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-fs/udev' (virtual/dev-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.
sys-fs/udev
selected: 225-r1
protected: none
omitted: none
All selected packages: =sys-fs/udev-225-r1
>>> '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-fs/udev-225-r1...
>>> needed sym /lib64/libudev.so.1
>>> needed obj /lib64/libudev.so.1.6.4
#7
I then emerged eudev:
$ emerge eudev
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-fs/eudev-3.1.5
*
* As of 2013-01-29, eudev-3.1.5 provides the new interface renaming functionality,
* as described in the URL below:
* https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInte... *
* This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
* between the default or user-modified choice of sys-fs/udev. If you wish to disable
* this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
* exists: touch /etc/udev/rules.d/80-net-name-slot.rules
*
successfully:
>>> Installing (1 of 1) sys-fs/eudev-3.1.5::gentoo
*
* For more information on eudev on Gentoo, writing udev rules, and
* fixing known issues visit:
* https://www.gentoo.org/doc/en/udev-guide.xml
*
<<< !needed obj /lib64/libudev.so.1.6.4
>>> Recording sys-fs/eudev in "world" favorites file...
* Messages for package sys-fs/eudev-3.1.5:
*
* As of 2013-01-29, eudev-3.1.5 provides the new interface renaming functionality,
* as described in the URL below:
* https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInte...
*
* This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
* between the default or user-modified choice of sys-fs/udev. If you wish to disable
* this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
* exists: touch /etc/udev/rules.d/80-net-name-slot.rules
*
* Messages for package sys-fs/eudev-3.1.5:
*
* Your current running kernel version 2.6.38-12-generic is too old to run eudev-3.1.5.
* Make sure to run udev under kernel version 2.6.39 or above.
*
*
* For more information on eudev on Gentoo, writing udev rules, and
* fixing known issues visit:
* https://www.gentoo.org/doc/en/udev-guide.xml
*
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
The note about the kernel version is because I'm installing this from a chroot environment, on an older system which I'm in the process of upgrading to gentoo.
#8
I documented the essential in the wiki.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.