sudo mkdir /var/lib/dpkg/{alternatives,info,parts,trigger,updates}
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
sudo mv .../info .../info_old
sudo mkdir .../info
sudo apt upgrade
sudo mv .../info/* .../info_old
sudo rm .../info -rf
sudo mv .../info_old .../info