Chris Perry <[EMAIL PROTECTED]> writes:

> The question is: how does one go about reverse engineering the contants
> of /var/lib/dpkg/status?

you can get a list of packages installed from /usr/share/doc, you can
probably do something like;

cd /usr/share/doc
for a in * ; do 
  echo $a install >> /tmp/pkg
done

dpkg --set-selections < /tmp/pkg

That just sets the intended state, the package system still thinks
everything is uninstalled. You should eb able to do;

apt-get dselect-upgrade

But it will want to reinstall everything.

There's probably a better way.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to