On Tue, Sep 23, 2003 at 10:13:13PM +0200, Andreas Schildbach wrote: > Hello everyone, > > I somehow managed that dselect insists on installing or uninstalling > dozends of packages (which will most likely ruin my installation). I've > tried everything to erase the selections from dselects memory, including > all solutions described in the dselect introduction on debian.org. > > How can I reset dselects selections to the currectly installed packages?
You could try copying /var/lib/dpkg/status to a different name and then replace the status file with /var/lib/dpkg/status-old or with an earlier version from the backups in /var/backups. The older the backup, the more out of sync it will be with what you currenly have installed, but the more likely it is to fix your problem. If you feel a little more adventurous, you could try editing the status file itself and change appropriate lines to read: Status: install ok installed
pgp00000.pgp
Description: PGP signature