On Fri, 03 Dec 2004 00:44:15 +1100, Ken Foskey uttered
> I got an off list from peter suggesting:
>
> dpkg --get-selections | grep install | cut -f1 | xargs apt-get install
> --reinstall
>
> gave me this:
>
> dpkg --get-selections | grep install | cut -f1 | xargs dpkg -L | grep
> -v \'| xargs -n 1 isnotfile
>
The other problem is that it gives you selections which are marked
'deinstall'. I would personally play with dpkg's "database" by hand,
like so:
for file in $(cat /var/lib/dpkg/info/*.list) ; do isnotfile $file ; done
Cheers,
--
Steve
"I'm a doctor, not a doorstop"
- EMH, USS Enterprise
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html