ubuntu中dpkg的status错误

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

你可能感兴趣的:(ubuntu中dpkg的status错误)