I am using Ubuntu 18.04.4 LTS, and I am attempting to install libgpgme-dev
. Here is the command and output.
$ sudo apt install libgpgme-dev
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:
libgpgme-dev : Depends: libgpgme11 (= 1.10.0-1ubuntu1) but 1.10.0-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
I have the dependency libgpgme11
installed, but the version is 1.10.0-1ubuntu2
, whereas my desired package requires 1.10.0-1ubuntu1
.
$ dpkg --list | grep libgpgme11
ii libgpgme11:amd64 1.10.0-1ubuntu2 amd64 GPGME - GnuPG Made Easy (library)
How can I install libgpgme-dev
given my current state?
I searched the installed reverse dependencies of libgpgme11
, and this is what I find.
$ apt-cache rdepends --installed libgpgme11
libgpgme11
Reverse Depends:
libgpgmepp6
fwupd
seahorse
libvolume-key1
libgpgmepp6
fwupd
libgmime-3.0-0
Here are the outputs of apt-cache policy
for the relevant packages.
$ apt-cache policy libgpgme11 libgpgme-dev
libgpgme11:
Installed: 1.10.0-1ubuntu2
Candidate: 1.10.0-1ubuntu2
Version table:
*** 1.10.0-1ubuntu2 100
100 /var/lib/dpkg/status
1.10.0-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
libgpgme-dev:
Installed: (none)
Candidate: 1.10.0-1ubuntu1
Version table:
1.10.0-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages