Gentoo Archives: gentoo-dev

From: Christian Hoenig <me@×××××××××××××××.de>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Lost files in install
Date: Sat, 16 Aug 2003 00:38:55
Message-Id: 200308160238.51229.me@christianhoenig.de
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi,
5
6 I thought about posting this here rather than in the forums since I expect
7 more feedback here.
8
9 What I did:
10 I made a list of all files of installed packages:
11 for i in `qpkg --nocolors -v -I` ;
12 do qpkg -l --nocolors $i >> ~/installed ;
13 done
14
15 Then I compared this list with selected dirs from my install to find those
16 files which do not belong to a package:
17 for j in bin etc lib opt sbin usr ;
18 do for i in `find ${j}/` ;
19 do if ( ! grep -q "/${i}" ~/installed ) ;
20 then echo "/${i}" >> ~/notlinked_${j}; fi ;
21 done ;
22 done
23
24 And I was shocket by the outcome!
25 The following is just a small excerpt from what I got (ie. from /usr ) :
26
27 /usr/bin/fixpackages
28 [snip]
29 /usr/lib/find
30 /usr/lib/find/code
31 /usr/lib/find/bigram
32 /usr/lib/find/frcode
33 /usr/lib/libGL.so.1
34 /usr/lib/gconv/gconv-modules.cache
35 /usr/lib/perl5/5.8.0/i686-linux/perllocal.pod
36 /usr/lib/perl5/site_perl/5.8.0/i686-linux/tgmath.ph
37 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys
38 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/personality.ph
39 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/utsname.ph
40 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/vt.ph
41 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/klog.ph
42 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/errno.ph
43 /usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/xattr.ph
44 [snip]
45 /usr/share/man/man3pm/File::Spec::Win32.3pm
46 /usr/share/man/man3pm/Test::Simple.3pm
47 /usr/share/man/man3pm/Test::Tutorial.3pm
48 /usr/share/man/man3pm/File::Spec::Cygwin.3pm
49 /usr/share/man/man3pm/File::Spec::Epoc.3pm
50 /usr/share/man/man3pm/File::Spec::Unix.3pm
51 [snip]
52 /usr/share/locale/lv_LV/LC_MESSAGES
53 /usr/share/locale/lv_LV/LC_MESSAGES/xmms.mo
54 /usr/share/locale/lv_LV/LC_MESSAGES/gtk20.mo
55 /usr/share/locale/lv_LV/LC_MESSAGES/glib20.mo
56 /usr/share/locale/lv_LV/LC_MESSAGES/atk10.mo
57
58 This machine was installed very recently.
59 All packages have been merged using emerge, no other method was used!
60
61 Now my question(s):
62 * Is my logic behind those little bash scripts wrong?
63 * Is portage running wild and missing those files which should be
64 part of packages?
65
66 So, I'm really interested in that point.
67
68 take care, have fun
69 /christian
70 -----BEGIN PGP SIGNATURE-----
71 Version: GnuPG v1.2.2 (GNU/Linux)
72
73 iD8DBQE/PX0bmauZIX3ydQURAnqyAKCqh0oTni/FzUj3g7l9NGavTqL7QgCg44J2
74 EYDt5YA7b7AzPLI0MykfRco=
75 =mxMv
76 -----END PGP SIGNATURE-----
77
78
79 --
80 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Lost files in install Paul de Vrieze <pauldv@g.o>