1 |
On 02/15/2012 04:23 AM, Daniel D Jones wrote: |
2 |
> Doing a world upgrade gives me: |
3 |
> |
4 |
> root@kushiel / # emerge -uDvatN world |
5 |
> |
6 |
> These are the packages that would be merged, in reverse order: |
7 |
> |
8 |
> Calculating dependencies... done! |
9 |
> |
10 |
> emerge: there are no ebuilds built with USE flags to satisfy "sys- |
11 |
> apps/pciutils[-zlib]". |
12 |
> !!! One of the following packages is required to complete your request: |
13 |
> - sys-apps/pciutils-3.1.7::gentoo (Change USE: -zlib) |
14 |
> (dependency required by "sys-fs/udev-171-r5[hwdb]" [ebuild]) |
15 |
^^^^ |
16 |
|
17 |
The problem is caused by the hwdb useflag, though I had to read the udev |
18 |
ebuild file to understand the error message :-/ |
19 |
|
20 |
RDEPEND="${COMMON_DEPEND} |
21 |
hwdb? |
22 |
( |
23 |
>=sys-apps/usbutils-0.82 |
24 |
sys-apps/pciutils[-zlib] <<<<<<<<<<<<<< look here |
25 |
) |
26 |
|
27 |
That syntax means "if you want hwdb support in udev you must disable zlib |
28 |
for pciutils". I have no idea why the two are incompatible, but it sounds |
29 |
to me like "an implementation detail" thingy. |
30 |
|
31 |
In any case, if you need -zlib in one package and zlib in another you can |
32 |
set/unset the needed flag for just one package in /etc/portage/package.use. |