Re: need /usr/lib contents
Here's my suggestion. First cd to the /var/lib/dpkg/info directory and then
execute this one line perl program:
% >perl -ne 'chop and print "$ARGV $_\n" if m|^/usr/lib/.[^/]+$|' *.list
This tries to list all the lines that start with '/usr/lib/' and have no '/'
afterwards. Just remove '[^/]' and it dumps the whole '/usr/lib/' tree.
This is the head of the output it gave when I tried it:
It also lists the directories that are in the /usr/lib e.g. /usr/lib/locale
but I hope that's ok. My regexps are a little shaky, so maybe one of the perl
gurus on the list can verify that it's correct.
Rikki "Doh!" Hall wrote:
> I inadvertently erased my /usr/lib directory (meaning to erase
> /usr/local). I have tried to reconstruct it as best as I can, but I am
> not sure that I have gotten everything. Here is the output of 'ls /usr/lib':
> If someone could send me the same listing from their system or point out
> which libraries I am missing, I would be appreciative. Would there be
> any hidden files in /usr/lib? (w/ names starting with .) Does X keep any
> libraries there?
I don't think X has any libraries there. As far as I know, they can be found
from /usr/X11R6/lib. There is /usr/lib/X11 but it's a symlink to
../X11R6/lib/X11 ( /usr/lib/X11 -> ../X11R6/lib/X11 ).
Heikki Vatiainen * firstname.lastname@example.org
Tampere University of Technology * Tampere, Finland
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com