Gentoo Archives: gentoo-user

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