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 '[^/]'
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':
games libgnumalloc.so.5 libpng.so.1.0.89c
libdb.so.1
2 matches
Mail list logo