Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cannot emerge @preserved-rebuild due to removed package...
Date: Sat, 14 Mar 2015 12:50:30
Message-Id: 20150314125020.GG4127@solfire
In Reply to: Re: [gentoo-user] cannot emerge @preserved-rebuild due to removed package... by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> [15-03-14 10:39]:
2 > On 14/03/2015 11:10, Meino.Cramer@×××.de wrote:
3 > > Alan McKinnon <alan.mckinnon@×××××.com> [15-03-14 09:48]:
4 > >> On 14/03/2015 09:36, Meino.Cramer@×××.de wrote:
5 > >>> Hi,
6 > >>>
7 > >>> emerge hits me:
8 > >>>
9 > >>> Whiletrying to reolve a lot of blockers, emerge @preserved-rebuild
10 > >>> gives me this:
11 > >>>
12 > >>> emerge: there are no ebuilds to satisfy "kde-base/solid:4".
13 > >>> (dependency required by "@preserved-rebuild" [argument])
14 > >>>
15 > >>> emerge itself can be called without that error.
16 > >>> How can an argument to a command haves a dependency?
17 > >>>
18 > >>> How can I get out of this?
19 > >>
20 > >>
21 > >> It's portage's insanely obtuse output that is getting you confused, but
22 > >> the error is with an ebuild, not portage.
23 > >>
24 > >> First, there is not such package as "solid" with SLOT=4:
25 > >>
26 > >> # eix -e solid
27 > >> * kde-frameworks/solid
28 > >> Available versions: (5) (~)5.7.0(5/5.7)
29 > >> {debug doc nls test}
30 > >> Homepage: http://www.kde.org/
31 > >> Description: Framework providing platform independent
32 > >> hardware discovery, abstraction, and management
33 > >>
34 > >>
35 > >> Then, all that "dependency required by..." output from portage is an
36 > >> effort to show you what is pulling a package in, and it starts at the
37 > >> beginning. Portage knows it's dealing with whatever is in the
38 > >> @preserved-rebuild set, and that set has packages in it. Each of those
39 > >> packages may have other deps, and so on.
40 > >>
41 > >> In your case, it seems to be solid-actions-kcm that's causing it
42 > >>
43 > >> # grep -r "kde-base/solid:4" /var/portage/
44 > >> /var/portage/kde-base/solid-actions-kcm/solid-actions-kcm-4.11.14.ebuild:
45 > >> !kde-base/solid:4
46 > >>
47 > >>
48 > >>
49 > >> I have no idea if this will work, but here's what I'd do:
50 > >>
51 > >> skip @preserved-rebuild for now, and run
52 > >> revdep-rebuild
53 > >> emerge -a --depclean
54 > >>
55 > >> So if that changes things. Also make sure neither solid nor
56 > >> solid-actions-kcm are in world, they should be deps pulled in automatically.
57 > >>
58 > >> Also move /var/lib/portage/preserved_libs_registry out of the way if it
59 > >> has junk in it and let revdep-rebuild fix things.
60 > >>
61 > >> Finally, you did sync ran emerge world recently, right?
62 >
63 >
64 > >
65 > > Hi Alan,
66 > >
67 > > thanks for your reply ! :)
68 >
69 >
70 > No problem.
71 >
72 > Huge amounts of portage output snipped below, but I think you are trying
73 > to have stable Qt4 and unstable Qt5 on the same system. That doesn't
74 > work currently, I'll walk through my reasoning so you can see what's
75 > going on:
76 >
77 > >
78 > > ...interesting...one needs to use grep to resolve a problem of
79 > > portage ;)
80 >
81 > Hah yes, that's quite funny.
82 > I wanted to see what the ebuilds actually say, not what portage tools
83 > think they say :-)
84 >
85 >
86 > >
87 > >
88 > > Things are going even more worst (correct English???...uh, sound like
89 > > german English...;;;))):
90 > >
91 > > revdep-rebuild runs fine and found nothing to rebuild.
92 > > depclean stops its work and said:
93 > >
94 > > Calculating dependencies... done!
95 > > * Dependencies could not be completely resolved due to
96 > > * the following required packages not being installed:
97 > > *
98 > > * >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] pulled in by:
99 > > * kde-base/kglobalaccel-4.14.3
100 >
101 > [... huge snip]
102 >
103 > Basically, of this part really means that you need Qt:4
104 > It *can* co-exist with Qt5, I have them both installed here.
105 >
106 > > Since packages are missing I tried:
107 > > emerge --update --newuse --deep --with-bdeps=y @world --tree --keep-going -v
108 > >
109 > >
110 > > which prints:
111 > > These are the packages that would be merged, in reverse order:
112 > >
113 > > Calculating dependencies... done!
114 >
115 > [...snip...]
116 >
117 > > [blocks B ] <dev-qt/qtgui-4.8.6:4 ("<dev-qt/qtgui-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
118 > > [blocks B ] <dev-qt/qtsql-4.8.6:4 ("<dev-qt/qtsql-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
119 > > [blocks B ] <dev-qt/qtcore-4.8.6:4 ("<dev-qt/qtcore-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
120 > > [blocks B ] <dev-qt/qthelp-4.8.6:4 ("<dev-qt/qthelp-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
121 > > [blocks B ] <dev-qt/qtopengl-4.8.6:4 ("<dev-qt/qtopengl-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
122 > > [blocks B ] <dev-qt/qt3support-4.8.6:4 ("<dev-qt/qt3support-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
123 > > [blocks B ] <dev-qt/qtsvg-4.8.6:4 ("<dev-qt/qtsvg-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
124 > > [blocks B ] <dev-qt/qtmultimedia-4.8.6:4 ("<dev-qt/qtmultimedia-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
125 > > [blocks B ] <dev-qt/qtdeclarative-4.8.6:4 ("<dev-qt/qtdeclarative-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
126 > > [blocks B ] <dev-qt/designer-4.8.6:4 ("<dev-qt/designer-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
127 > > [blocks B ] <dev-qt/qttest-4.8.6:4 ("<dev-qt/qttest-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
128 > > [blocks B ] <dev-qt/qtxmlpatterns-4.8.6:4 ("<dev-qt/qtxmlpatterns-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
129 > > [blocks B ] <dev-qt/qtwebkit-4.8.6:4 ("<dev-qt/qtwebkit-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
130 > > [blocks B ] <dev-qt/qtdbus-4.8.6:4 ("<dev-qt/qtdbus-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
131 > > [blocks B ] <dev-qt/qtscript-4.8.6:4 ("<dev-qt/qtscript-4.8.6:4" is blocking dev-qt/qtchooser-0_p20150102)
132 >
133 > [... snip big list of what wants Qt stuff]
134 >
135 > dev-qt/qtchooser seems to be the main culprit here. In that ebuild:
136 >
137 > RDEPEND="
138 > ...
139 > !<dev-qt/qtgui-4.8.6:4
140 > ...
141 >
142 > And so on and so on
143 >
144 > This eix shows what I think might be your main problem:
145 >
146 > # eix -e qtgui
147 > [I] dev-qt/qtgui
148 > Available versions:
149 > (4) 4.8.5-r3 (~)4.8.6-r1
150 > (5) (~)5.4.1^t
151 >
152 > Looks like you are running a stable system, but you keyworded Qt5. Is
153 > that correct? The above ebuild shows that unstable Qt5 blocks stable
154 > Qt4, so you will have to fix that first.
155 >
156 > 1. Find and uninstall what apps you have that need Qt5, or
157 > 2. Keyword Qt4 unstable and let portage figure out how to resolve the
158 > blockers
159 >
160 >
161 >
162 >
163 >
164 > > Uuuuh..,thats much.
165 > >
166 > > Should I buy a new harddisk and start right from the beginning?
167 >
168 > No :-)
169 > About 30 lines in package.accept_keywords should be enough :-)
170 >
171 >
172 > --
173 > Alan McKinnon
174 > alan.mckinnon@×××××.com
175 >
176 >
177
178 Hi Alan,
179
180 ...finally... :)
181
182 I found the one application, which creates all this mess:
183 media-sound/sonic-visualiser
184
185 I removed that one (emerge -C) and everything works.
186 It seems, that that package is in conflict with the 'rest of the
187 world' ;)
188
189 Best regards,
190 mcc

Replies

Subject Author
Re: [gentoo-user] cannot emerge @preserved-rebuild due to removed package... Alan McKinnon <alan.mckinnon@×××××.com>