Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] orphaned kernel sources?
Date: Sat, 29 Oct 2005 20:11:36
Message-Id: 200510292159.00963.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] orphaned kernel sources? by Jarry
1 On Saturday 29 October 2005 17:49, Jarry wrote:
2 > So, with your help I finally checked all software installed on my
3 > gentoo-server (thanks to everyone, who replied). There were a few
4 > gentoo-sources (I think 5 or 6 different versions), so I used
5 > "emerge --prune gentoo-sources" to leave only the last one.
6 >
7 > Then I checked /usr/src, and I see there are still 2 subdirectories:
8 > linux-2.6.12-gentoo-r6 (~50MB)
9 > linux-2.6.13-gentoo-r5 (~300MB)
10 >
11 > I'm surprised there is still 2.6.12-r6, because I unmerged it.
12 > Can I delete it? Will this not break some dependencies?
13
14 yes you can unmerge elderly kernel sources as you want to, but it is faster
15 to delete the directories first and than unmerginf
16 >
17 > Moreover, "emerge --pretend --prune" showed I have a few packages
18 > with more than one version:
19 >
20 > db (4.2.52_p2 , 1.85-r2)
21 > automake (1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3, 1.9.6-r1)
22 > freetype (2.1.9-r1, 1.3.1.-r4)
23 > autoconf (2.13, 2.59-r6)
24 >
25 > Can I unmerge all but the last versions? Strange is, emerge does
26 > not always want to leave the last version, for example it has
27 > marked db 4.2.52 as "selected" for unmerge, and 1.85 as "protected"
28 > (similar for freetype, 2.1.9 "selected", 1.3.1 "protected").
29 > So can I leave "emerge --prune" to do its job without breaking
30 > some dependencies? At least for automake and autoconf?
31
32 no!
33
34 you need several different db, automake and autoconf versions. Removing them
35 will break your system in horrible ways! Do not touch them!
36 They are very much needed. Let them stay and do not disturb them.
37
38 Removing freetype will not break your system, but some apps may start to look
39 extremly ugly ;)
40 --
41 gentoo-user@g.o mailing list