
Sonatype nexus でホストされた apt リポジトリがあり、それをローカルの Debian マシンで設定しようとしています。
/etc/apt/sources.list.d/cust-リポジトリリストファイル:
deb [trusted=yes] https://nexusrepourl.org/repository/apt/ bullseye main
apt-get update を実行しようとすると、以下のエラーが発生します。
Err:7 https://nexusrepourl.org/repository/apt bullseye/main amd64 Packages
404 dists/bullseye/main/binary-amd64/Packages.xz [IP: xx.xx.xx.xxx 443]
Ign:8 https://nexusrepourl.org/repository/apt bullseye/main all Packages
Ign:9 https://nexusrepourl.org/repository/apt bullseye/main Translation-en
Reading package lists... Done
E: Failed to fetch https://nexusrepourl.org/repository/apt/dists/bullseye/main/binary-amd64/Packages 404 dists/bullseye/main/binary-amd64/Packages.xz [IP: xx.xx.xx.xxx 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
公式ドキュメントに記載されているように、/var/lib/apt/lists/からすべてのファイルを削除しました。https://help.sonatype.com/en/apt-repositories.html
どなたか、この問題を回避する方法を教えていただけませんか。よろしくお願いします。