Image

Imagearkem wrote in Imagelinux

Debian package database

Is there anyway to retrieve a list of debian packages installed without using the dpkg --get-selections?

My debian box's hard drive died recently and I wasn't able to completely save all the data so I'm reinstalling (also thought it was a convenient time to jump from Potato to Woody). I have the entire /etc and /var directories and need to be able to get a list of packages to insert into dpkg (with "dpkg --set-selections"). I'm guessing its possible but since I have no idea about how dpkg stores package selections I'm lost.

TIA