我最近安装了最新版本的 Ubuntu(12.04 LTS 32 位)。
之后,我打开更新管理器并收到以下错误:
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:The package mysql-server-5.5 needs to be reinstalled, but I can't find an archive for it.'
我没有使用 MySQL 服务器,我不知道如何修复这个问题。出现此错误后,包管理器关闭,导致我无法更新任何内容。
更新管理器:
apt-get 升级:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package mysql-server-5.5 needs to be reinstalled, but I can't find an archive for it.
@Rinzwind:
我尝试sudo rm /var/lib/apt/lists/* -vf
/var/lib/apt/lists/
清空目录
sudo apt-get update
,并填充文件夹
更新管理器仍然有同样的问题
答案1
我找到了答案。
sudo dpkg --remove --force-remove-reinstreq mysql-server-5.5
解决了这个问题。