Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: KDE4.3 upgrade -- questions about wiki page
Date: Mon, 31 Oct 2011 03:59:09
Message-Id: pan.2009.08.25.16.12.05@cox.net
In Reply to: Re: [gentoo-amd64] KDE4.3 upgrade -- questions about wiki page by Akos Szalkai
1 Akos Szalkai posted on Tue, 25 Aug 2009 16:31:13 +0200 as excerpted:
2
3 >> I did that, and I do have a few KDE things in world. My question is,
4 >> how do I fix that? I am nervous about editing /var/lib/portage/world
5 >> directly. Is there some other, better way?
6 >>
7 >>
8 > Don't be nervous about it, I've been doing it for a long time. :) Make
9 > a backup copy before though, just to be sure.
10 >
11 > And don't remove all KDE stuff from world, just the 4.2 versioned ones
12 > (like kde-base/kde-meta:4.2).
13 >
14 > Actually, I did not know there was a wiki page about it, so after
15 > meeting the blocks, I just removed all KDE-4.2 packages and installed
16 > kde-meta:4.3.
17
18 Editing the world and indeed world_sets file, really isn't a big deal,
19 especially for deleting, as long as you delete the entire line.
20
21 Adding gets a bit more complicated, but even that isn't too bad, as long
22 as you're careful to get the full package category and name correct, and
23 append the :slot info if necessary. However, while I do still hand-edit
24 the (much smaller) world_sets file, I haven't hand-edited the world file
25 in ages, preferring to let portage do it with emerge -C to unmerge for
26 removing lines. For adding lines, same thing, only since my emerge
27 scripts add --oneshot by default (so I never have to worry about dirtying
28 my world files), I do a remerge with --noreplace (and without -1) to
29 actually add packages to the world file if I want them there. That
30 doesn't remerge the package due to the --noreplace, just asks me if I
31 want to add the package to the world file, which I do, at that point.
32
33 Actually, my script invocation for the add is eaa <pkg>, for emerge --ask
34 <add>.
35
36 --
37 Duncan - List replies preferred. No HTML msgs.
38 "Every nonfree program has a lord, a master --
39 and if you use the program, he is your master." Richard Stallman