ubuntu20.04 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (2: 没有那个文件或目录)
sudo mkdir -p /var/lib/dpkg/{alternatives,info,parts,triggers,updates} sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status apt-get download dpkg sudo dpkg -i dpkg*.deb apt-get download base-files sudo dpkg -i base-files*.deb sudo apt-get update sudo apt-get check
问题来了,没有backups,更别说dpkg.status.0了
链接:https://pan.baidu.com/s/1D1luDF7RzXASDaSK_6_JqQ
提取码:u86w