尝试通过命令行安装时,我遇到此错误
E: The package mysql-workbench-community needs to be reinstalled, but I can't find an archive for it.
答案1
备份 /var/lib/dpkg/status:
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.old
现在打开文件 /var/lib/dpkg/status:
sudo gedit /var/lib/dpkg/status
在文件中搜索 mysql-workbench-community usnig Ctrl+的条目f,删除该条目,然后保存并关闭文件。
现在运行:
sudo apt-get update