解决 apt-get 软件包下载失败的问题

解决 apt-get 软件包下载失败的问题

我对leap 密钥管理器包裹。

sudo apt-get purge leap-keymanager 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package python-leap-common needs to be reinstalled, but I can't find an archive for it.

这阻止了我进行 dist 升级。

sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package python-leap-common needs to be reinstalled, but I can't find an archive for it.

我该如何解决这个问题?我已添加leapcode PPA并完成sudo apt-get update但我仍然收到相同的消息。

python --version Python 2.7.9
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:        15.04
Codename:       vivid

答案1

消除python-leap-common

sudo apt-get remove python-leap-common

python-leap-common删除的重要部分/var/lib/dpkg/status是删除有关它的整个信息块。请参阅此处...

相关内容