debian バスターに libgnutls28-dev パッケージをインストールする際に問題が発生しました。apt は次のメッセージをスローします。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gnutls-bin gnutls-doc
The following NEW packages will be installed:
libgnutls28-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,086 kB of archives.
After this operation, 4,417 kB of additional disk space will be used.
Err:1 http://deb.debian.org/debian buster/main amd64 libgnutls28-dev amd64 3.6.7-4
404 Not Found [IP: 151.101.220.204 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gnutls28/libgnutls28-dev_3.6.7-4_amd64.deb 404 Not Found [IP: 151.101.220.204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
私を悩ませているのは、パッケージがhttp://deb.debian.org/debian/pool/main/g/gnutls28/libgnutls28-dev_3.6.7-4+deb10u2_amd64.debで入手可能であり、何らかの理由で apt がのlibgnutls28-dev_3.6.7-4_amd64.deb
代わりに を探していlibgnutls28-dev_3.6.7-4+deb10u2_amd64.deb
ます。
実行中の特定のバージョンを使用してみapt install libgnutls28-dev=3.6.7-4+deb10u2
ましたが、次の結果が得られました。
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '3.6.7-4+deb10u2' for 'libgnutls28-dev' was not found
問題は、これがどこから来たのかということです。それはapt
問題ですか?それともgnutls28
依存関係について誤った情報を伝えていますか? それともそもそもファイルが必要libgnutls28-dev_3.6.7-4_amd64.deb
ですか?
[編集]
Knud のコメントに基づいてこれを追加します。
システムによるとapt
、最新です:
apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
私はパッケージ管理者の 1 人に確認しました。利用可能なバージョン_3.6.7-4+deb10u2
は最新バージョンでありapt
、これに注意する必要があります。
apt-cache policy libgnutls28-dev
libgnutls28-dev:
Installed: (none)
Candidate: 3.6.7-4
Version table:
3.6.7-4 500
500 http://deb.debian.org/debian buster/main amd64 Packages
これはapt
問題です。なんらかの理由apt
で、超能力を持っていても、時代遅れの状態で立ち往生しています。ガイダンスをいただければ幸いです。