web-dev-qa-db-ja.com

ローカルのapt-mirrorは、リリースが見つからないと言いますが、そこには、私が見逃しているものがあります

ローカルミラーを指しているホストでapt-get updateを実行すると、次の警告とエラーが返されます...

W: The repository 'https://apt.devita.co/puppet xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://apt.devita.co/ubuntu xenial-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://apt.devita.co/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://apt.devita.co/ubuntu xenial-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://apt.devita.co/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.devita.co/puppet/dists/xenial/PC1/binary-AMD64/Packages
E: Failed to fetch https://apt.devita.co/ubuntu/dists/xenial-backports/main/binary-AMD64/Packages
E: Failed to fetch https://apt.devita.co/ubuntu/dists/xenial-security/main/binary-AMD64/Packages
E: Failed to fetch https://apt.devita.co/ubuntu/dists/xenial-updates/main/binary-AMD64/Packages
E: Failed to fetch https://apt.devita.co/ubuntu/dists/xenial/main/binary-AMD64/Packages
E: Some index files failed to download. They have been ignored, or old ones used instead.

ここでローカルリポジトリのスクリーンショットを見ることができ、トラブルシューティング中にリポジトリが一時的に公開されます。

enter image description hereenter image description here

sources.list.dは次のようになります

# This file is managed by Puppet. DO NOT EDIT.
# puppetlabs-pc1
deb https://apt.devita.co/puppet xenial PC1 main
# This file is managed by Puppet. DO NOT EDIT.
# xenial-backports
deb https://apt.devita.co/ubuntu/ xenial-backports main restricted universe multiverse
# This file is managed by Puppet. DO NOT EDIT.
# xenial
deb https://apt.devita.co/ubuntu/ xenial main restricted universe multiverse
# This file is managed by Puppet. DO NOT EDIT.
# xenial-security
deb https://apt.devita.co/ubuntu/ xenial-security main restricted universe multiverse
# This file is managed by Puppet. DO NOT EDIT.
# xenial-updates
deb https://apt.devita.co/ubuntu/ xenial-updates main restricted universe multiverse

/var/www dirは、apt-mirrorの場所へのシンボリックリンクです enter image description here

2
gorelative

これについては、#ubuntu-serverのIRCで議論してきました。これまで/etc/ssl/certsに追加されたCAがupdate-ca-certificatesを壊したように見えるため、/etc/ssl/certs/ca-certificates.crtが壊れているか空であるため、apt-transport-httpsはまったく機能していませんでした。

次を使用してデバッグ:apt-get -o Debug::Acquire::https=1 update

1
rtandy