* [gentoo-dev] Lost files in install
@ 2003-08-16 0:38 Christian Hoenig
2003-08-16 10:17 ` Paul de Vrieze
0 siblings, 1 reply; 2+ messages in thread
From: Christian Hoenig @ 2003-08-16 0:38 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I thought about posting this here rather than in the forums since I expect
more feedback here.
What I did:
I made a list of all files of installed packages:
for i in `qpkg --nocolors -v -I` ;
do qpkg -l --nocolors $i >> ~/installed ;
done
Then I compared this list with selected dirs from my install to find those
files which do not belong to a package:
for j in bin etc lib opt sbin usr ;
do for i in `find ${j}/` ;
do if ( ! grep -q "/${i}" ~/installed ) ;
then echo "/${i}" >> ~/notlinked_${j}; fi ;
done ;
done
And I was shocket by the outcome!
The following is just a small excerpt from what I got (ie. from /usr ) :
/usr/bin/fixpackages
[snip]
/usr/lib/find
/usr/lib/find/code
/usr/lib/find/bigram
/usr/lib/find/frcode
/usr/lib/libGL.so.1
/usr/lib/gconv/gconv-modules.cache
/usr/lib/perl5/5.8.0/i686-linux/perllocal.pod
/usr/lib/perl5/site_perl/5.8.0/i686-linux/tgmath.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/personality.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/utsname.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/vt.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/klog.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/errno.ph
/usr/lib/perl5/site_perl/5.8.0/i686-linux/sys/xattr.ph
[snip]
/usr/share/man/man3pm/File::Spec::Win32.3pm
/usr/share/man/man3pm/Test::Simple.3pm
/usr/share/man/man3pm/Test::Tutorial.3pm
/usr/share/man/man3pm/File::Spec::Cygwin.3pm
/usr/share/man/man3pm/File::Spec::Epoc.3pm
/usr/share/man/man3pm/File::Spec::Unix.3pm
[snip]
/usr/share/locale/lv_LV/LC_MESSAGES
/usr/share/locale/lv_LV/LC_MESSAGES/xmms.mo
/usr/share/locale/lv_LV/LC_MESSAGES/gtk20.mo
/usr/share/locale/lv_LV/LC_MESSAGES/glib20.mo
/usr/share/locale/lv_LV/LC_MESSAGES/atk10.mo
This machine was installed very recently.
All packages have been merged using emerge, no other method was used!
Now my question(s):
* Is my logic behind those little bash scripts wrong?
* Is portage running wild and missing those files which should be
part of packages?
So, I'm really interested in that point.
take care, have fun
/christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/PX0bmauZIX3ydQURAnqyAKCqh0oTni/FzUj3g7l9NGavTqL7QgCg44J2
EYDt5YA7b7AzPLI0MykfRco=
=mxMv
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-16 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-16 0:38 [gentoo-dev] Lost files in install Christian Hoenig
2003-08-16 10:17 ` Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox