Doing things with stuff
dpkg –set-selections results in “warning: package not in database….”
When you want to restore your packages that you’ve backup-ed with :
sudo dpkg --get_selections > selections.txt
And when you restore them with:
dpkg --set-selections < selections.txt
And the result is a whole bunch of warnings like “warning: package blabla not in database….”
Then theres a easy fix:
$ sudo apt-get install dselect $ sudo dselect -> Update -> Install
Done.
life saver ! Thanks !
Thanks for the heads up. Seems there’s a bug ..
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1232661
dpkg –set-selections : dpkg: warning: package not in database
Your instructions didn’t quite do it straight away. Had to do ..
dpkg –set-selections < selections.txt
dselect update
dselect install
apt-get update
apt-get upgrade
.. some of them recursively. Lost track of the exact sequence 🙂
I rebooted after a 700+MB download and install after the above was done and there was nothing but a black screen.
Good thing I had a fresh clonzilla backup.
PROCEED WITH CAUTION!
Thank you!