Answers for "E: Sub-process dpkg --set-selections returned an error code (2) E: Couldn't clean the currently selected dpkg states"

0

E: Sub-process dpkg --set-selections returned an error code (2) E: Couldn't clean the currently selected dpkg states

sudo rm /var/lib/dpkg/available 
sudo touch /var/lib/dpkg/available  
sudo sh -c 'for i in /var/lib/apt/lists/*_Packages; do dpkg --merge-avail "$i"; done'
Posted by: Guest on April-27-2021

Code answers related to "E: Sub-process dpkg --set-selections returned an error code (2) E: Couldn't clean the currently selected dpkg states"

Browse Popular Code Answers by Language