[vox-tech] Recovering Debian without /var/lib/dpkg...

Karsten M. Self vox-tech@lists.lugod.org
Wed, 22 Jan 2003 08:27:14 +0000


Correction below:

on Wed, Jan 22, 2003 at 03:46:51AM +0000, Karsten M. Self (kmself@ix.netcom.com) wrote:

<...>

>     # Generate list of installed packages to Re-register previously
>     # installed packages as installed, using /usr/share/doc as a
>     # fallback package registry.
>     dpkg --get-selections $(

s/get/set/

Should read:

    dpkg --set-selections $(

>         ls /usr/share/doc | grep -v [A-Z] | awk '{print $1 " install"}'
>     )

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html