Bug#35639: dpkg: No undo for operations in dselect
I accidentally hit '_' on a very large sub-heading within dselect (I think it was "installed packages")... this, of course, immediately bumped me to the dependencies resolution UI.
I quit out of it by using 'Q', but upon re-executing dselect it had the same set of packages selected to be purged.
It would be really great to have a feature that effectively either undoes the last change OR, better yet, updates the state of all the packages to the current state of the system-- i.e. removes all purge/add requests and adjusts the state of everything to whatever is currently installed.
(Eventually, I found the packages stuff in /var/lib/dpkg and undid the damage by using yesterdays package status file-- in this case it worked because i hadn't installed anything for a few days)
-- System Information
Debian Release: 2.1
Kernel Version: Linux darwin 2.0.36 #2 Sun Jan 17 19:38:45 EST 1999 i586 unknown
Versions of the packages dpkg depends on:
ii libc6 184.108.40.20681211 GNU C Library: shared libraries
ii libncurses4 4.2-3 Shared libraries for terminal handling
ii libstdc++2.9 2.91.60-5 The GNU stdc++ library (egcs version)