My dpkg database is hosed!
June 26, 2006 2:41 PM
Subscribe
My Debian package database is a mess! How can I reset its state?
So I made an attempt to use the Debian Backports and it didn't go so well. To cut a long story short, dselect (and aptitude) now want to uninstall about 90% of my installed packages. In dselect, they're marked as:
Installed?: installed
Old mark: remove
Marked for: remove
How can I reset the state of the dpkg database, basically tell it "if it's installed, leave it alone"?
"X" just seems to undo changes you've made in this session, so that's no help. There's also "R" to revert to the state before this list, which doesn't help either.
For what it's worth, synaptic sees all the packages in the correct state.
I'm hoping for a smart solution before I head off into a couple of hours of manually resetting this stuff.
posted by ciaron to computers & internet (6 comments total)
1 user marked this as a favorite
You will, of course, make backups first; it's been a good few years since I've hacked about with dpkg.
posted by Freaky at 2:52 PM on June 26, 2006