Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Still kde problems with monolithic->split
Date: Sat, 04 Oct 2008 14:12:17
Message-Id: 200810041613.13082.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Still kde problems with monolithic->split by meino.cramer@gmx.de
1 On Saturday 04 October 2008 15:23:42 meino.cramer@×××.de wrote:
2 > Alan McKinnon <alan.mckinnon@×××××.com> [08-10-04 15:19]:
3 > > On Saturday 04 October 2008 15:08:36 meino.cramer@×××.de wrote:
4 > > > Hi,
5 > > >
6 > > > some time ago I asked what to do if kde blocks kde...
7 > > > The according HowTo (emergeing from monolithic
8 > > > to split kde install) says one has first
9 > > > to unmerge the old monolithic installation of
10 > > > kde and the install the split stuff.
11 > > >
12 > > > But regardless what I am doing...
13 > > > emerge -C <blocking item>
14 > > > shows me a rmoving action on my harddisc and
15 > > > the following
16 > > > emerge --pretend --color=n --verbose --update --deep world
17 > > > still shows that item being blocking new stuff.
18 > > > I think _physically_ the old stuff is rmoved but
19 > > > from emerge's point of view it is still there.
20 > > >
21 > > > How can I fix that problem ?
22 > >
23 > > You didn't give any output, so I have to guess. Most likely a different
24 > > package is still installed which needs the same kde you just removed and
25 > > that in turn conflicts with what you want to install now.
26 > >
27 > > Post the full output of 'emerge -pvuNDt world' and we'll deciphyer it for
28 > > you
29 > >
30 > > --
31 > > alan dot mckinnon at gmail dot com
32 >
33 > Hi Alan!
34 >
35 > Here it comes:
36 >
37 >
38 >
39 > These are the packages that would be merged, in reverse order:
40 >
41 > Calculating world dependencies - app-cdr/mp3burn-0.3.3-r1 (masked by:
42 > package.mask) /usr/portage/profiles/package.mask:
43 > # Jeremy Olexa <darkside@g.o> (02 Sep 2008)
44 > # Removed at maintainer's request in 30 days by the treecleaners.
45 > # Please don't waste cds trying to use this program, bug 227143
46
47 Aside: You probably want to unmerge this one above too
48
49 [snip]
50
51 > [ebuild R ] kde-base/kdeartwork-3.5.9
52 > USE="opengl -arts* -debug -kdeenablefinal -xinerama -xscreensaver" 0 kB
53
54 That is a monolithic package, but portage wants to Replace it, which means it
55 was never uninstalled. I'll give you the short version, followed by the
56 (longer) explanation of what happened:
57
58 Short version:
59 - unmerge all these packages (list ripped straight out from the kde ebuild)
60 RDEPEND="~kde-base/kdelibs-${PV}
61 ~kde-base/kdebase-${PV}
62 ~kde-base/kdeaddons-${PV}
63 ~kde-base/kdeadmin-${PV}
64 ~kde-base/kdeartwork-${PV}
65 ~kde-base/kdeedu-${PV}
66 ~kde-base/kdegames-${PV}
67 ~kde-base/kdegraphics-${PV}
68 ~kde-base/kdemultimedia-${PV}
69 ~kde-base/kdenetwork-${PV}
70 ~kde-base/kdepim-${PV}
71 ~kde-base/kdetoys-${PV}
72 ~kde-base/kdeutils-${PV}
73 ~kde-base/kdewebdev-${PV}
74 accessibility? ( ~kde-base/kdeaccessibility-${PV} )
75 - run 'emerge -av --depclean' as a sanity check. The output should be obvious,
76 it might list a few more kde packages that you missed. Unmerge those, but
77 note their names in case you want to put them back later
78 - emerge kde-meta (or if you prefer to get a smaller set instead of all of kde
79 follow the handbook and emerge just the -meta packages you want)
80
81 Long version:
82
83 The traditional kde packages in portage (from long long ago) mirrored the
84 organization of how the kde project released their stuff - as 16 or so huge
85 packages. The kde ebuild by itself does nothing, if you look inside you'll
86 see it's just a huge RDEPEND. The 16 packages in that are the ones that
87 actually install kde.
88
89 You seem to have at one point emerged kde, and got all 16 packages with it.
90 Then you unmerged kde, which worked OK except that it left the other 16 in
91 place, and they promptly blocked all the kde-meta stuff.
92
93 The monolithic ebuilds block the -meta ebuilds as they duplicate each other.
94 You have to choose one or the other and can't mix them in any way. It may
95 have been possible to write some fancy code in the -meta ebuilds to unmerge
96 old packages and install the equivalent new ones but that would have been a
97 major pain in the ass and is guaranteed to work for most users and completely
98 destroy some other user's system. So the devs instead made the sane choice of
99 forcing you to make up your mind and first setting up your machine correctly
100 the way you want it.
101
102 <humour mode on>
103 This is TheOneTruGentooWay(tm), a devious evil policy whereby gentoo devs
104 assume that you are in fact a really super-intelligent person who can make up
105 their own mind, who is absolutely not an idiot and knows what they want.
106
107 As you can see this is a wonderful way to work, but it also means that you get
108 to be responsible for your own machine and wade through 100s of lines of
109 portage output so you can decide what it is that you really want.
110 </humour mode off>
111
112 --
113 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Still kde problems with monolithic->split meino.cramer@×××.de