
Ubuntu 18.04.4 LTS を使用しており、 をインストールしようとしていますlibgpgme-dev
。 コマンドと出力は次のとおりです。
$ 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.
依存関係libgpgme11
はインストールされていますが、バージョンは です1.10.0-1ubuntu2
が、必要なパッケージには が必要です1.10.0-1ubuntu1
。
$ dpkg --list | grep libgpgme11
ii libgpgme11:amd64 1.10.0-1ubuntu2 amd64 GPGME - GnuPG Made Easy (library)
libgpgme-dev
現在の状況でインストールするにはどうすればいいでしょうか?
のインストール済みの逆依存関係を検索したところlibgpgme11
、次のものが見つかりました。
$ apt-cache rdepends --installed libgpgme11
libgpgme11
Reverse Depends:
libgpgmepp6
fwupd
seahorse
libvolume-key1
libgpgmepp6
fwupd
libgmime-3.0-0
apt-cache policy
関連するパッケージの出力は次のとおりです。
$ 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