Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?
Date: Sat, 27 Feb 2010 07:23:08
Message-Id: 201002270722.08208.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around? by Nikos Chantziaras
1 On Saturday 27 February 2010 06:53:31 Nikos Chantziaras wrote:
2 > On 02/27/2010 07:21 AM, BRM wrote:
3 > > ----- Original Message ----
4 > >
5 > >> From: Dale<rdalek1967@×××××.com>
6 > >>
7 > >>> On 02/27/2010 04:15 AM, BRM wrote:
8 > >>>>> From: Neil BothwickTo:
9 > >>>>>
10 > >>>>> (PST), BRM wrote:
11 > >>>>>> Aside from that, I'm not sure I have ever really run "emerge
12 > >>>>>> --depclean", but I also rarely uninstall anything, but don't
13 > >>>>>> install things left or right to try out either, so typically
14 > >>>>>> upgrades are all I need to do.
15 > >>>>>
16 > >>>>> You should still run --depclean as dependencies change and you
17 > >>>>> could still have plenty of no longer needed ones installed.
18 > >>>>
19 > >>>> Okay - so I ran "emerge --depclean -a" and got the below. I tried
20 > >>>> running "emerge world -vuDNa" as specified, but that didn't resolve
21 > >>>> it either.
22 > >>>> I tried looking in the world file (/var/lib/portage/world) but didn't
23 > >>>> find any entries that felt safe to remove.
24 > >>>
25 > >>> "Safe" as to what? If something is in the world file that you didn't
26 > >>
27 > >> explicitly request, then it doesn't belong there. For example, if you
28 > >> have "x11-libs/qt-gui" in world, you should delete it. The world file
29 > >> should not contain dependencies, it should only contain the stuff you
30 > >> emerged directly.
31 > >
32 > > Okay...that kind of makes more sense now.
33 > > From what I've read in the past, modifying 'world' would be a big no-no,
34 > > and very risky - so I never touched it - also why I never really ran
35 > > 'emerge --depclean', which is reporting some 400 packages to remove now
36 > > that I've got that cleaned up.
37 >
38 > emerge -C does the same. It's just that I find it easier to edit the
39 > world file directly (it's just a text file, after all, no magic in
40 > there) if I want to clean up stuff. If you don't want to delete
41 > something from world by hand, simply copy&pasting the line you want
42 > removed to "emerge -C <pasted line>" will have the same result.
43 >
44 > Of course there might be special cases I simply don't know about; so
45 > simply emerge -C instead of removing lines from world if you want to
46 > play it safe.
47
48 Does anyone know why regenworld adds a lot of what seem like dependencies into
49 world (e.g. qt libraries)?
50
51 --
52 Regards,
53 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature