defekte Pakete zurückgehalten - hängt von älterer Version ab, aber neuere Version muss installiert werden

defekte Pakete zurückgehalten - hängt von älterer Version ab, aber neuere Version muss installiert werden

Ich verwende Ubuntu 18.04.4 LTS und versuche, es zu installieren libgpgme-dev. Hier sind der Befehl und die Ausgabe.

$ 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.

Ich habe die Abhängigkeit libgpgme11installiert, aber die Version ist 1.10.0-1ubuntu2, während mein gewünschtes Paket erfordert 1.10.0-1ubuntu1.

$ dpkg --list | grep libgpgme11
ii  libgpgme11:amd64  1.10.0-1ubuntu2  amd64  GPGME - GnuPG Made Easy (library)

Wie kann ich die Installation libgpgme-devin meinem aktuellen Status durchführen?

Ich habe die installierten umgekehrten Abhängigkeiten von durchsucht libgpgme11und das hier gefunden.

$ apt-cache rdepends --installed libgpgme11
libgpgme11
Reverse Depends:
  libgpgmepp6
  fwupd
  seahorse
  libvolume-key1
  libgpgmepp6
  fwupd
  libgmime-3.0-0

Hier sind die Ausgaben apt-cache policyfür die relevanten Pakete.

$ 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

verwandte Informationen