Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Dale <rdalek1967@×××××.com>
Subject: Re: [gentoo-user] kde update
Date: Tue, 31 May 2011 20:39:03
Message-Id: 201105312235.47268.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] kde update by Dale
1 Apparently, though unproven, at 22:00 on Tuesday 31 May 2011, Dale did opine
2 thusly:
3
4 > Alan McKinnon wrote:
5 > > Apparently, though unproven, at 17:27 on Tuesday 31 May 2011, Mark Knecht
6 > > did
7 > >
8 > > opine thusly:
9 > >> On Tue, May 31, 2011 at 8:11 AM, Paul Hartman
10 > >>
11 > >> <paul.hartman+gentoo@×××××.com> wrote:
12 > >>> On Mon, May 30, 2011 at 11:45 AM, Alain DIDIERJEAN
13 > >>>
14 > >>> <alain.didierjean@××××.fr> wrote:
15 > >>>> Trying to update from kde4.5 to kde4.6
16 > >>>
17 > >>> I find that it is easier to unmerge old version :4.5 KDE, then emerge
18 > >>> the new version :4.6. Upgrade always seems to be a mess like that.
19 > >>
20 > >> Probably there's no real problem but I think in my recent machines if
21 > >> I've chosen the KDE profile and try something like emerge -Cp kde-meta
22 > >> then there are lots of warning messages about how I'm removing parts
23 > >> of @system. It's unlikely (in my mind anyway) that anything would be
24 > >> removed that stops one from doing the 4.6 emerge, but if one goes this
25 > >> way they should look very carefully at what's getting taken out just
26 > >> to make sure.
27 > >
28 > > You must have something badly wrong with your @system. kde-meta depends
29 > > on:
30 > >
31 > > RDEPEND="
32 > >
33 > > $(add_kdebase_dep kate)
34 > > $(add_kdebase_dep kdeadmin-meta)
35 > > $(add_kdebase_dep kdeartwork-meta)
36 > > $(add_kdebase_dep kdebase-meta)
37 > > $(add_kdebase_dep kdeedu-meta)
38 > > $(add_kdebase_dep kdegames-meta)
39 > > $(add_kdebase_dep kdegraphics-meta)
40 > > $(add_kdebase_dep kdemultimedia-meta)
41 > > $(add_kdebase_dep kdenetwork-meta)
42 > > $(add_kdebase_dep kdeplasma-addons)
43 > > $(add_kdebase_dep kdetoys-meta)
44 > > $(add_kdebase_dep kdeutils-meta)
45 > > accessibility? ( $(add_kdebase_dep kdeaccessibility-meta) )
46 > > nls? ( $(add_kdebase_dep kde-l10n) )
47 > > sdk? (
48 > >
49 > > $(add_kdebase_dep kdebindings-meta)
50 > > $(add_kdebase_dep kdesdk-meta)
51 > > $(add_kdebase_dep kdewebdev-meta)
52 > >
53 > > )
54 > > semantic-desktop? ( || (
55 > >
56 > > ( $(add_kdebase_dep kdepim-meta '' 4.5.93) )
57 > > ( $(add_kdebase_dep kdepim-meta '' 4.4.9) )
58 > >
59 > > ) )
60 > >
61 > > "
62 > >
63 > > A few extra packages and a lot of other meta packages. "emerge -Cp" will
64 > > remove only that one package, it won;t even remove the deps.
65 >
66 > Does anyone remember the discussion I had about kde packages being in
67 > the system set when doing a emerge -e system? If I for example unmerge
68 > kde-meta then run --depclean, I bet I would get the error about system
69 > packages being removed. It may be because of USE flags but this was
70 > what I was concerned about during the last discussion. Having GUI
71 > packages, especially KDE, included in the system set, even if because of
72 > USE flags, is going to lead to problems at some point.
73 >
74 > Or maybe I am reading all this wrong?
75
76 You understand it wrong.
77
78 system (or @system for portage versions that support sets) consists of the
79 minimum collection of packages for a gentoo system to work at all. It is
80 wholly inappropriate for even a profile to add kde to @system - even the kde
81 profiles. All those do is set USE flags and an environment suitable for KDE to
82 be install, the profile does not cause KDE to be install. You still need to
83 emerge kde yourself.
84
85 Proof:
86
87 The contents of @system are defined by the various files called "packages" in
88 the profile dir. But:
89
90 nazgul profiles # find . -name packages | xargs grep kde
91 nazgul profiles #
92
93 There is nothing you can do with USE flags that will cause stuff to be added
94 to @system. That is not how it works.
95
96
97 --
98 alan dot mckinnon at gmail dot com