Gnupg:破坏了软件属性通用(

Gnupg:破坏了软件属性通用(

我是 ubuntu 新手,我正在尝试安装 vagrant,但出现以下错误:

gp@ubuntu:~/Downloads/gnupg-2.2.13$ sudo apt install vagrant
[sudo] password for gp: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

答案1

我遇到了同样的问题,失败了apt-get dist-upgradeapt-get upgrade只是默默地失败了,但声明许多软件包没有升级。

gnupg单独进行了升级,之后所有问题都解决了:

sudo apt install --only-upgrade gnupg

相关内容