Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-fs/udev-171-r1 dependency conflict
Date: Thu, 09 Jun 2011 14:04:13
Message-Id: 201106091506.29349.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] sys-fs/udev-171-r1 dependency conflict by Einux
1 Apparently, though unproven, at 12:38 on Thursday 09 June 2011, Einux did
2 opine thusly:
3
4 > I just updated the portage tree. But there seems to be a dependency
5 > conflict when I try to update the system. This is the first time I
6 > encounter this kind of problem. Could you guys help me out? Thanks in
7 > advance^_^
8 >
9 > -------------------
10 >
11 > $ sudo emerge -avuDN world
12 >
13 > These are the packages that would be merged, in order:
14 >
15 > Calculating dependencies... done!
16 > [ebuild NS ~] sys-kernel/gentoo-sources-2.6.39-r1 [2.6.39] USE="-build
17 > -deblob -symlink" 72 kB
18 > [ebuild U ] dev-libs/libdbusmenu-qt-0.8.2 [0.6.2] USE="-debug -doc%
19 > -test" 36 kB
20 > [ebuild U ~] sys-fs/udev-171-r1 [151-r4] USE="acl%* gudev%* hwdb%*
21 > keymap%* rule_generator%* -action_modeswitch% -debug% -edd% -floppy%
22 > (-introspection) (-selinux) -test (-devfs-compat%)
23 > (-extras%*) (-old-hd-rules%)" 595 kB
24 > [ebuild U ] net-ftp/lftp-4.2.3 [4.1.3] USE="nls ssl -gnutls -socks5"
25 > 1,296 kB
26 > [ebuild U ~] media-sound/pulseaudio-0.9.22-r2 [0.9.22] USE="X alsa
27 > asyncns bluetooth caps dbus glib ipv6 tcpd udev -avahi -doc -gnome -jack
28 > -libsamplerate -lirc (-oss) -realtime
29 > (-system-wide) -test" 0 kB
30 > [ebuild U ~] sys-fs/udisks-1.0.2-r4 [1.0.2-r1] USE="nls
31 > -bash-completion -debug -doc -remote-access" 0 kB
32 >
33 > Total: 6 packages (5 upgrades, 1 in new slot), Size of downloads: 1,997 kB
34 >
35 > !!! Multiple package instances within a single package slot have been
36 > pulled !!! into the dependency graph, resulting in a slot conflict:
37 >
38 > sys-fs/udev:0
39 >
40 > (sys-fs/udev-171-r1::gentoo, ebuild scheduled for merge) pulled in by
41 >
42 > >=sys-fs/udev-171[hwdb] required by
43 >
44 > (media-sound/pulseaudio-0.9.22-r2::gentoo, ebuild scheduled for merge)
45 >
46 > (sys-fs/udev-151-r4::gentoo, installed) pulled in by
47 >
48 > >=sys-fs/udev-147[extras] required by (sys-fs/udisks-1.0.2-r4::gentoo,
49 >
50 > ebuild scheduled for merge)
51 > (and 3 more with the same problem)
52
53 There's no way to fix this right now.
54
55 You need udev version 171 or greater with the hwdb USE flag set as required by
56 pulseaudio (which is fine, your system will do this OK)
57
58 You also need udev version 147 or greater with the extras USE flag set as
59 required by udisks. udev-171 does not meet these requirements as it does not
60 have the extras USE flag (check the output of -p above, it is not listed).
61
62 So portage will look for earlier and earlier versions of udev to find one that
63 does support extras, but the first one it finds conflict with what pulseaudio
64 needs.
65
66 You have some options:
67
68 - it's a bug, it needs to be reported. But you will not need to do this as
69 every unstable user has it also and there will be 100s of bugs already (udev
70 is needed by almost everyone)
71
72 - mask/downgrade pulseaudio to a version that can use an earlier udev
73
74 - wait a day, resync, try again.
75
76 The third option is usually the one that works best.
77
78
79 >
80 >
81 > It may be possible to solve this problem by using package.mask to
82 > prevent one of those packages from being selected. However, it is also
83 > possible that conflicting dependencies exist such that they are
84 > impossible to satisfy simultaneously. If such a conflict exists in
85 > the dependencies of two different packages, then those packages can
86 > not be installed simultaneously. You may want to try a larger value of
87 > the --backtrack option, such as --backtrack=30, in order to see if
88 > that will solve this conflict automatically.
89 >
90 > For more information, see MASKED PACKAGES section in the emerge man
91 > page or refer to the Gentoo Handbook.
92
93 --
94 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] sys-fs/udev-171-r1 dependency conflict Einux <einuxnet@×××××.com>