
Estou usando o Ubuntu 18.04.4 LTS e estou tentando instalar o libgpgme-dev
. Aqui está o comando e a saída.
$ 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.
Eu tenho a dependência libgpgme11
instalada, mas a versão é 1.10.0-1ubuntu2
, enquanto meu pacote desejado requer 1.10.0-1ubuntu1
.
$ dpkg --list | grep libgpgme11
ii libgpgme11:amd64 1.10.0-1ubuntu2 amd64 GPGME - GnuPG Made Easy (library)
Como posso instalar libgpgme-dev
dado o meu estado atual?
Pesquisei as dependências reversas instaladas libgpgme11
e foi isso que encontrei.
$ apt-cache rdepends --installed libgpgme11
libgpgme11
Reverse Depends:
libgpgmepp6
fwupd
seahorse
libvolume-key1
libgpgmepp6
fwupd
libgmime-3.0-0
Aqui estão os resultados apt-cache policy
dos pacotes relevantes.
$ 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