Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] eject and util-linux blocker Alan McKinnon <alan.mckinnon@×××××.com>