前提・実現したいこと
最新バージョンのubuntuのコンテナでupdateを実行するとエラーを吐き出しました。
ご教示お願いします。
発生している問題・エラーメッセージ
# apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease 0% [2 InRelease gpgv 247 kB] [Waiting for headers] [1 InRelease 12.6 kB/102 kB 12%]Couldn't create tempfiles for splitting up /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xeniErr:2 http://archive.ubuntu.com/ubuntu xenial InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] 0% [1 InRelease gpgv 102 kB] [3 InRelease 62.8 kB/102 kB 62%]Couldn't create tempfiles for splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_IErr:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) Err:3 http://archive.ubuntu.com/ubuntu xenial-updates InReleasete tempfiles for splitting up /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_xenial-updates_InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Ign:4 http://archive.ubuntu.com/ubuntu xenial-backports InReleaseng up /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease Get:5 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [5153 B] Get:6 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7734 B] Fetched 319 kB in 2s (137 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu xenial-updates InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) W: GPG error: http://archive.ubuntu.com/ubuntu xenial-backports InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) W: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' is not signed. 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: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) W: Some index files failed to download. They have been ignored, or old ones used instead.
/# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。