1 |
On 17/03/2015 19:01, Dale wrote: |
2 |
> Alan McKinnon wrote: |
3 |
>> On 17/03/2015 03:43, Dale wrote: |
4 |
>> |
5 |
>> [...snip] |
6 |
>> |
7 |
>>> root@fireball / # emerge -uvaDN world -t |
8 |
>>> |
9 |
>>> These are the packages that would be merged, in reverse order: |
10 |
>>> |
11 |
>>> Calculating dependencies... done! |
12 |
>>> [nomerge ] lxde-base/lxde-meta-0.5.5-r4::gentoo |
13 |
>>> [nomerge ] x11-misc/pcmanfm-1.2.3::gentoo USE="-debug" |
14 |
>>> [ebuild N ] virtual/eject-0::gentoo 0 KiB |
15 |
>>> [ebuild UD ] sys-apps/util-linux-2.24.1-r3::gentoo |
16 |
>>> [2.26.1::gentoo] USE="bash-completion%* cramfs ncurses nls pam |
17 |
>>> static-libs* suid udev unicode -caps -cytune% -fdformat -python |
18 |
>>> (-selinux) -slang {-test} -tty-helpers (-systemd%)" ABI_X86="(64) (-32) |
19 |
>>> (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" |
20 |
>>> PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB |
21 |
>>> [ebuild N ] sys-block/eject-2.1.5-r2::gentoo USE="nls" 121 KiB |
22 |
>>> [blocks B ] sys-block/eject ("sys-block/eject" is blocking |
23 |
>>> sys-apps/util-linux-2.24.1-r3) |
24 |
>>> |
25 |
>>> Total: 3 packages (1 downgrade, 2 new), Size of downloads: 121 KiB |
26 |
>>> Conflict: 1 block (1 unsatisfied) |
27 |
>>> |
28 |
>>> * Error: The above package list contains packages which cannot be |
29 |
>>> * installed at the same time on the same system. |
30 |
>>> |
31 |
>>> (sys-block/eject-2.1.5-r2:0/0::gentoo, ebuild scheduled for merge) |
32 |
>>> pulled in by |
33 |
>>> sys-block/eject required by (virtual/eject-0:0/0::gentoo, ebuild |
34 |
>>> scheduled for merge) |
35 |
>>> |
36 |
>>> (sys-apps/util-linux-2.24.1-r3:0/0::gentoo, ebuild scheduled for |
37 |
>>> merge) pulled in by |
38 |
>>> >=sys-apps/util-linux-2.13 required by |
39 |
>>> (www-plugins/nspluginwrapper-1.4.4-r3:0/0::gentoo, installed) |
40 |
>>> <sys-apps/util-linux-2.25[static-libs] required by |
41 |
>>> (sys-fs/lvm2-2.02.109:0/0::gentoo, installed) |
42 |
>> |
43 |
>> Looks like this is the source of your problem. When dealing with |
44 |
>> blocking downgrades I like to search for the "<" character to find what |
45 |
>> other package is limiting the highest version. The above is the only one. |
46 |
>> |
47 |
>> The DEPEND for lvm2 looks like this: |
48 |
>> |
49 |
>> RDEPEND="${DEPEND_COMMON} |
50 |
>> ... |
51 |
>> >=sys-apps/util-linux-2.16 |
52 |
>> ... |
53 |
>> DEPEND="${DEPEND_COMMON} |
54 |
>> static? ( |
55 |
>> selinux? ( sys-libs/libselinux[static-libs] ) |
56 |
>> udev? ( >=virtual/libudev-208:=[static-libs] ) |
57 |
>> <sys-apps/util-linux-2.25[static-libs] |
58 |
>> )" |
59 |
>> |
60 |
>> |
61 |
>> Do you have lvm2 built with USE=static? |
62 |
>> |
63 |
>> |
64 |
>> |
65 |
>> Second question is why will portage not upgrade lvm2 for you? What do |
66 |
>> you get from this: |
67 |
>> |
68 |
>> emerge -pv lvm2 |
69 |
>> |
70 |
>> |
71 |
> |
72 |
> This lead me down a path. Here is the info you requested: |
73 |
> |
74 |
> root@fireball / # emerge -pv lvm2 |
75 |
> |
76 |
> These are the packages that would be merged, in order: |
77 |
> |
78 |
> Calculating dependencies... done! |
79 |
> [ebuild UD ] sys-apps/util-linux-2.24.1-r3::gentoo [2.26.1::gentoo] |
80 |
> USE="bash-completion%* cramfs ncurses nls pam static-libs* suid udev |
81 |
> unicode -caps -cytune% -fdformat -python (-selinux) -slang {-test} |
82 |
> -tty-helpers (-systemd%)" ABI_X86="(64) (-32) (-x32)" |
83 |
> PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" |
84 |
> PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB |
85 |
> [ebuild R ] sys-fs/lvm2-2.02.109::gentoo USE="readline static thin |
86 |
> udev (-clvm) (-cman) -device-mapper-only -lvm1 -lvm2create_initrd |
87 |
> (-selinux) -static-libs -systemd" 0 KiB |
88 |
> |
89 |
> Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB |
90 |
> |
91 |
> The following USE changes are necessary to proceed: |
92 |
> (see "package.use" in the portage(5) man page for more details) |
93 |
> # required by sys-fs/lvm2-2.02.109::gentoo[static] |
94 |
> # required by @selected |
95 |
> # required by @world (argument) |
96 |
> =sys-apps/util-linux-2.24.1-r3 static-libs |
97 |
> root@fireball / # |
98 |
> |
99 |
> It seems at some point, I did have a USE flag in package.use that was |
100 |
> version specific. I usually remove the version stuff and let it apply |
101 |
> to all version. Usually if you need a USE flag for one version, you |
102 |
> will need it for the upgrade as well. So, after removing the version |
103 |
> info, I try again. Similar message tho. I then keyword lvm2, thinking |
104 |
> it may need a newer version. Then I get this crypted message. |
105 |
> |
106 |
> root@fireball / # emerge -uvaDN world -t |
107 |
> |
108 |
> These are the packages that would be merged, in reverse order: |
109 |
> |
110 |
> Calculating dependencies \ |
111 |
> |
112 |
> !!! Problem resolving dependencies for sys-fs/lvm2 from @selected |
113 |
> ... done! |
114 |
> |
115 |
> !!! The ebuild selected to satisfy "sys-fs/lvm2" has unmet requirements. |
116 |
> - sys-fs/lvm2-2.02.110::gentoo USE="readline static thin udev -clvm |
117 |
> -cman -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) |
118 |
> -static-libs -systemd" ABI_X86="64" |
119 |
> |
120 |
> The following REQUIRED_USE flag constraints are unsatisfied: |
121 |
> static? ( !udev ) |
122 |
> |
123 |
> The above constraints are a subset of the following complete expression: |
124 |
> device-mapper-only? ( !clvm !cman !lvm1 !lvm2create_initrd !thin ) |
125 |
> systemd? ( udev ) static? ( !udev ) |
126 |
> |
127 |
> (dependency required by "@selected" [set]) |
128 |
> (dependency required by "@world" [argument]) |
129 |
> root@fireball / # emerge -vp eudev |
130 |
> |
131 |
> These are the packages that would be merged, in order: |
132 |
> |
133 |
> Calculating dependencies... done! |
134 |
> [ebuild R ~] sys-fs/eudev-2.1.1::gentoo USE="gudev hwdb |
135 |
> introspection keymap kmod modutils rule-generator static-libs -doc |
136 |
> (-selinux) {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB |
137 |
> |
138 |
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
139 |
> root@fireball / # |
140 |
> |
141 |
> I included emerge -vp eudev as well. It seems it doesn't like something |
142 |
> about its USE flag. I see static-libs in the USE list tho. I had to do |
143 |
> that a while back. I think it had something to do with me having a |
144 |
> seperate /usr and trying to avoid the init thingy. I think. |
145 |
> |
146 |
> Jeepers. |
147 |
|
148 |
|
149 |
Your basic problem is that you have static and static-libs in USE. When |
150 |
applied to lvm, a whole bunch of blockers kick in and you get what you |
151 |
got. So take them out of USE. |
152 |
|
153 |
USE="static static-libs" has it's uses, it's great for building rescue |
154 |
disks, busybox and maybe some disk repair utils, but makes very little |
155 |
sense on a regular workstation. If you break your workstation, you'll |
156 |
boot off a rescue disk and use the tools on it to fix your install, so |
157 |
you don't need it on the main system. |
158 |
|
159 |
There is nothing wrong with your eudev. |
160 |
lvm2 is bitching about blockers between lvm2 built with "USE=static" and |
161 |
udev - there's some incompatibility there and the ebuild knows about them |
162 |
|
163 |
|
164 |
-- |
165 |
Alan McKinnon |
166 |
alan.mckinnon@×××××.com |