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
This entry was posted by Stas Zytkiewicz on March 13, 2013 at 10:06 pm, and is filed under Childsplay, Linux. Follow any responses to this post through RSS 2.0.
You can skip to the end and leave a response. Pinging is currently not allowed.
life saver ! Thanks !
Thanks for the heads up. Seems there’s a bug ..
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
.. 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!
Your email address will not be published. Required fields are marked *
Current ye@r *
Leave this field empty