1 |
Duncan, |
2 |
|
3 |
Thanks to your help, my kde-base blockage is now resolved :-) |
4 |
Details of what worked are inserted below. |
5 |
|
6 |
Duncan wrote: |
7 |
> "John P. Burkett" <burkett@×××.edu> posted 4A2BD1FA.6070206@×××.edu, |
8 |
> excerpted below, on Sun, 07 Jun 2009 10:43:06 -0400: |
9 |
> |
10 |
>> Thank you, Duncan, for your thorough explanation. A few minutes ago I |
11 |
>> reran eix-sync, updated portage to version 2.1.6.13, and tried "emerge |
12 |
>> -D -uav world" and "emerge --pretend -NuD world". With both versions of |
13 |
>> emerge, I still get the following messages: |
14 |
> |
15 |
> [snip the blocks] |
16 |
> |
17 |
>> Thus it appears that the blockage has to be resolved manually. Do you |
18 |
>> recommend unmerging kdelibs or the 15 packages that are blocking it? |
19 |
> |
20 |
> It was in the longer post, but apparently got lost as a needle in a |
21 |
> haystack... |
22 |
> |
23 |
> What I'm saying is that the blocks DO STILL show up on --pretend (and -- |
24 |
> ask) because it's reporting that there are blocks requiring something to |
25 |
> be done (uninstalls or whatever). However, most of the time, if you just |
26 |
> do it (without the -p or saying y to -a), it'll go ahead and merge it |
27 |
> anyway, taking care of the blocks when it gets to that specific point. |
28 |
> |
29 |
> Or are you saying you told it to go ahead, and it wouldn't do so, |
30 |
> spitting out the errors, even when you told it to? |
31 |
Yes, that is what I meant. |
32 |
> |
33 |
> If it's the latter, then the block is hard enough to resolve |
34 |
> automatically that portage is taking the cautious approach and letting |
35 |
> the admin tell it specifically what to do. In that case, see below... |
36 |
> |
37 |
>> The Gentoo handbook |
38 |
>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked |
39 |
>> says that the two options for fixing a blockage are to (1) "choose to |
40 |
>> not install" the blocked package, or (2) unmerge the blocking packages. |
41 |
> |
42 |
>> Is the first option feasible when the blocked package is required by |
43 |
>> world? If feasible, how would it be implemented? |
44 |
> |
45 |
> You can always unmerge almost any package (tho unmerging system packages |
46 |
> without knowing what you are doing can get you in trouble, and I don't |
47 |
> think it'll let you unmerge glibc, for instance, at all -- that's sort of |
48 |
> the process equivalent of rm -rf .*, do NOT try either one!), regardless |
49 |
> of its dependency status. |
50 |
> |
51 |
> If you unmerge something that's in world, it simply removes it from world |
52 |
> during the unmerge. |
53 |
> |
54 |
> If you unmerge something that's a /dependency/ of something in world |
55 |
> (say, kdelibs, as a dependency of pretty much anything kde), portage will |
56 |
> let you do it, but you'll likely not be able to run whatever depended on |
57 |
> it until you remerge the package or an upgrade in some form, and perhaps |
58 |
> rebuild the world package so it properly links against the new form of |
59 |
> its dependency. |
60 |
> |
61 |
> Now to explain what's happening with KDE... |
62 |
> |
63 |
> What you are seeing here is that KDE no longer has the monolithic |
64 |
> versions with kde-3.5.10, only the split-package versions. You have the |
65 |
> old monolithic versions of 3.5.9 installed as part of the kde package, |
66 |
> which doesn't exist for 3.5.10. |
67 |
> |
68 |
> If you have the old kde package in world as it appears you do, it pulled |
69 |
> in all the old monolithic kde major packages, kdelibs, kdebase, |
70 |
> kdemultimedia, kdegraphics, etc, as dependencies. There's no kde-3.5.10 |
71 |
> version of these packages, so portage is having problems. The direct |
72 |
> equivalent would be kde-meta, with its dependencies, kdelibs (still a |
73 |
> single package) kdebase-meta (which in turn depends on each individual |
74 |
> package from kdebase, so konqueror, kcontrol, etc), kdemultimedia-meta |
75 |
> (depending on all its individual packages), kdegrapics-meta, etc. |
76 |
> |
77 |
> If you want all of KDE, like the old kde package, it's (relatively) |
78 |
> simple. Just unmerge kde. That should tell portage it's OK to get rid |
79 |
> of the last available versions, 3.5.9, of all the monolithic packages, |
80 |
> tho it won't itself unmerge any of them. After that, hopefully, you'll |
81 |
> be able to merge kde-meta, and portage can figure out the rest of what it |
82 |
> needs to do automatically. You should be able to tell because it should |
83 |
> want to uninstall all of the old kdebase, kdemultimedia, etc type |
84 |
> packages, and install the kde*-meta versions. The key is that it should |
85 |
> now know what it can safely uninstall to get there from here. =:^) |
86 |
> |
87 |
> If that still doesn't work, you can unmerge the individual kde monolithic |
88 |
> package, kdenetwork, kdeaccessibility, kdetoys, kdemultimedia, kdeadmin, |
89 |
> kdebase, kdeedu, kdegraphics, kdewebdev, kdeaddons, kdeutils, since there |
90 |
> aren't 3.5.10 versions of them anyway. Of course, you'll have to do this |
91 |
> from a text console (or from GNOME or something if you have it |
92 |
> installed), as that WILL remove your existing KDE. |
93 |
That worked. |
94 |
|
95 |
However, that should |
96 |
> manually deal with the blockages entirely, tho stuff like amarok that |
97 |
> depends on KDE but which is installed separately won't work either, until |
98 |
> the new KDE is installed, something that can be avoided or at least the |
99 |
> time without shortened a bit, if we can get portage handling the blocks |
100 |
> itself. |
101 |
> |
102 |
> Meanwhile, at this upgrade is a good time to think a bit about what parts |
103 |
> of KDE you actually use. If there are parts of kde you don't |
104 |
> particularly want or need, it's now much easier to avoid having to |
105 |
> install them and keep upgrading them every time you upgrade KDE. Say you |
106 |
> don't use knode, which is part of kdepim, but want all of kdegraphics. |
107 |
> You can now avoid merging knode by merging only the parts of kdepim (like |
108 |
> say kmail) you want specifically instead of kde-meta or kdepim-meta, but |
109 |
> since you still want all of kdegrapics, you can merge kdegrapics-meta. |
110 |
> Just don't merge kdepim-meta or kde-meta, or you'll get knode and |
111 |
> whatever other packages you avoided that make up the main distribution, |
112 |
> as well. To see what individual parts each metapackage consists of, take |
113 |
> a look at its ebuild. See all those kde-base/* RDEPENDS? If you don't |
114 |
> want some of them, you may be able to avoid them by installing the |
115 |
> individual packages you DO want instead of the meta-package that tells |
116 |
> portage to install them all. |
117 |
> |
118 |
Doing "emerge kdebase-meta" seems to have worked for now. If other parts |
119 |
of kde are needed later, I'll try to add them then. |
120 |
|
121 |
Thanks again for you patient help! |
122 |
|
123 |
John |
124 |
|
125 |
|
126 |
|
127 |
-- |
128 |
John P. Burkett |
129 |
Department of Economics |
130 |
University of Rhode Island |
131 |
Kingston, RI 02881-0808 |
132 |
USA |
133 |
|
134 |
phone (401) 874-9195 |