On Thu, Sep 21, 2000 at 01:22:22AM -0500, John Reinke ([EMAIL PROTECTED]) wrote:
> I just tried installing a .deb from an old CD, and I used apt-cdrom.
> Somehow, it must have decided to remove a lot of my applications the next
> time I ran dselect. I just hit enter and when I looked back, I found out
> that I had just removed a large percentage of my applications!!!
> 
> Is there a way to return to the previous state in dselect, so I can
> re-install these applications? I can't find a way to do this, but it  seems
> to remember things like that, and I sure don't want to have to select and
> configure over a hundred packages again.
> 
> Please reply, since I'm not currently subscribed.

Under /var/lib/dpkg are a bunch of files matching 'status*'.  You should
be able to reconstruct a list of packages from this using awk or perl.
There may be a tool which explicitly does this.  See also man pages for
dpkg especially --get-selections and --set-selections.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgp2uiPdxRD9U.pgp
Description: PGP signature

Reply via email to