Debian 12 に SKS をインストールする際に発生する問題

Debian 12 に SKS をインストールする際に発生する問題

Debian 12にSKSをインストールする必要がありますが、次の問題があります。

root@SRV1:~# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@SRV1:~# apt install sks
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
sks is already the newest version (1.1.6+git20210302.c3ba6d5a-4+b2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 sks : Depends: db-util but it is not going to be installed
       Depends: db5.3-util but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

頑張った

apt --fix-broken install

しかし、これは役に立ちません。 VirtualBoxで最新のDebian 12イメージを実行しています。

ベストアンサー1

さて、私がsource.listに間違いを犯したことは間違いありません。私はそこに次のようなものがあります:

deb http://deb.debian.org/debian/ bullseye main

私はそれを次のように変更しました:

deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

これで期待どおりに動作します。

おすすめ記事