[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DPKG HELP!



>>>>>>>> On Mon, 16 Feb 1998, Yannai wrote:

 Yannai>
 Yannai> Hi, Due to a system failure I lost some of the file on my
 Yannai> /usr disk. I need to know which packages' files are not
 Yannai> installed (deleted). How do I ask dpkg to give me a list of
 Yannai> all files that should be there but are not?
 Yannai>
 Yannai> Regards, Yannai.

Try 'dpkg -l | awk '{print $2}' | xargs dpkg -L' this will give you
a list of files/dirs that owned by packages that listed in
/var/lib/dpkg/available. When you get it you can 'test -e' it or
something.

thks,
borik
__
Boris D. Beletsky                           borik@bfr.co.il
Network Administrator                      borik@debian.org
Berger Financial Research,              borik@isracom.co.il
IBM Building                           Home: +972 2 6411880
Tel-Aviv Israel                        Work: +972 3 6944218