Accueil > Système > dpkg –set-selections results in “warning: package not in database….”

dpkg –set-selections results in “warning: package not in database….”

02/03/2024 Categories: Système Tags: , , ,
Print Friendly, PDF & Email

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
Lire aussi:  An lsof Primer
Categories: Système Tags: , , ,
Les commentaires sont fermés.