Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?
Date: Sat, 27 Feb 2010 04:04:45
Message-Id: hma2vo$3d8$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around? by BRM
1 On 02/27/2010 04:15 AM, BRM wrote:
2 > ----- Original Message ----
3 >
4 >> From: Neil Bothwick<neil@××××××××××.uk> To:
5 >> gentoo-user@l.g.o On Fri, 26 Feb 2010 06:34:18 -0800
6 >> (PST), BRM wrote:
7 >>> Aside from that, I'm not sure I have ever really run "emerge
8 >>> --depclean", but I also rarely uninstall anything, but don't
9 >>> install things left or right to try out either, so typically
10 >>> upgrades are all I need to do.
11 >> You should still run --depclean as dependencies change and you
12 >> could still have plenty of no longer needed ones installed.
13 >
14 > Okay - so I ran "emerge --depclean -a" and got the below. I tried
15 > running "emerge world -vuDNa" as specified, but that didn't resolve
16 > it either.
17 >
18 > I tried looking in the world file (/var/lib/portage/world) but didn't
19 > find any entries that felt safe to remove.
20
21 "Safe" as to what? If something is in the world file that you didn't
22 explicitly request, then it doesn't belong there. For example, if you
23 have "x11-libs/qt-gui" in world, you should delete it. The world file
24 should not contain dependencies, it should only contain the stuff you
25 emerged directly.
26
27 To give an example, if you emerge "media-video/smplayer", then that one
28 will end up in the world file. But smplayer will also pull-in qt and
29 mplayer. Those do not go in the world file. When you unmerge smplayer
30 again, qt and mplayer will not be unmerged unless you run "emerge
31 --depclean". However, if qt and mplayer end up being in the world file
32 anyway, it means you made a mistake at some point; like emerging
33 something that is a dependency but forgot to specify the "-1" (or
34 "--oneshot") option to emerge.
35
36 So if you see something in the world file that you know don't need
37 directly (and I doubt you need qt directly; KDE for example needs it,
38 you, as a person, don't) it's safe to remove.
39
40 Of course always make a backup first :P

Replies

Subject Author
Re: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around? Dale <rdalek1967@×××××.com>