dpkg --set-selections : dpkg: warning: package not in database

Lars Noodén lars.nooden at gmail.com
Mon Sep 30 09:26:31 UTC 2013

I'm finding that dpkg is giving an error, "warning: package not in
database", when it is used with the --set-selections option.

Specifically, when setting up a new machine like an old one, dpkg is
used to get a list of everything installed on the machine:

	dpkg --get-selections > /home/user/packages.txt

Then on the new machine, the option --set-selections is used:

	sudo apt-get update
	sudo dpkg --set-selections < /home/user/packages.txt
	sudo apt-get dselect-upgrade

However, instead of loading the packages listed in "packages.txt" dpkg
is instead giving an error.


Anyone else seeing this?


More information about the Lubuntu-users mailing list