Gentoo Archives: gentoo-user

From: Jorge Peixoto de Morais Neto <please.no.spam.here@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Safety/wiseness of moving stray files from /etc/env.d
Date: Fri, 21 Nov 2008 08:56:16
Message-Id: 20081121065742.30b09722@gmail.com
In Reply to: Re: [gentoo-user] Safety/wiseness of moving stray files from /etc/env.d by Andrey Falko
1 On Thu, 20 Nov 2008 17:56:38 -0800
2 "Andrey Falko" <ma3oxuct@×××××.com> wrote:
3
4 > On 11/20/08, Jorge Peixoto de Morais Neto <please.no.spam.here@×××××.com>
5 > wrote:
6 > >
7 > >
8 > > Is it safe/wise to move 20java and 05gcc-i686-pc-linux-gnu to a backup
9 > > directory? How about binutils/config-i386-pc-linux-gnu? How about the blas,
10 > > cblas and lapack directories (I have long ago unmerged the corresponding
11 > > packages)? They contain only this:
12 > >
13 > >
14 > Well, since you are backing them up, I don't see much harm since you can
15 > move them back once you see that something broke.
16 My fear is that something may break and I not realize; or it may break something
17 2 months from now, when I wouldn't associate the breakage with my messing with
18 /etc/env.d. I am afraid of breaking the system after doing enough times already.
19 > When is the last time you
20 > did an etc-update? What running env-update?
21 I use dispatch-conf every time Portage warns me to update configuration files.
22 Just to make you happy, I have just run etc-update followed by env-update.
23 Nothing changed.
24
25 Speaking of env-update, see my /etc/ld.so.conf, and how it is screwed up:
26 $ cat /etc/ld.so.conf
27 # ld.so.conf autogenerated by env-update; make all changes to
28 # contents of /etc/env.d directory
29 /usr/local/lib
30 //usr//lib/opengl/xorg-x11/lib
31 /usr/i686-pc-linux-gnu/lib
32 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2
33 /usr/lib/gcc/i686-pc-linux-gnu/4.2.2
34 /usr/lib/nspr
35 /usr/lib/nss
36 /opt/sun-jre-bin-1.5.0.06/lib/i386/
37 /opt/sun-jre-bin-1.5.0.06/lib/i386/native_threads/
38 /opt/sun-jre-bin-1.5.0.06/lib/i386/xawt/
39 /opt/sun-jre-bin-1.5.0.06/lib/i386/server/
40 /opt/firefox
41 /usr/games/lib
42
43
44 There is no /usr/lib/gcc/i686-pc-linu/usr/lib/gcc/i686-pc-linux-gnu/4.2.2
45 and no /opt/sun-jre-bin-1.5.0.06. These are erroneous entries.
46
47 Has this happened with other people? Does Portage leave stray files
48 behind in /etc/env.d?
49
50 --
51 Software is like sex: it is better when it is free. --Linus Torvalds