質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.46%
Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

Q&A

解決済

1回答

5642閲覧

Dockerのadd-apt-repositoryでエラーが出る。

T.Adams

総合スコア40

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

0グッド

0クリップ

投稿2020/02/22 00:41

編集2020/02/22 00:41

前提

ホストOSであるMac上でVirtual Box経由でubuntuを立ち上げ、そこでDockerをinstallしようとしています。

わからないこと

Dockerのinstallを実施しておりますが、エラーが出力されました。原因を調査中ではありますが、答えにたどり着かないため、ご質問させていただきました。古いバージョンのubuntuを使用しているからかなあと思ったのですが、公式サイトではDockerの対応バージョンとしてbionicが記載ありでした。

実行コマンド

Bash

1sudo add-apt-repository \ 2 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ 3 $(lsb_release -cs) \ 4 stable"

出力結果

Bash

1Hit:1 http://jp.archive.ubuntu.com/ubuntu bionic InRelease 2Hit:2 http://archive.ubuntulinux.jp/ubuntu bionic InRelease 3Get:3 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 4Hit:4 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease 5Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 6Ign:6 https://download.docker.com/linux/ubuntu/dists bionic InRelease 7Hit:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease 8Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 9Err:9 https://download.docker.com/linux/ubuntu/dists bionic Release 10 404 Not Found [IP: 99.86.199.6 443] 11Get:10 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [647 kB] 12Get:11 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [868 kB] 13Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [650 kB] 14Get:13 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [302 kB] 15Get:14 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB] 16Get:15 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [442 kB] 17Get:16 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [211 kB] 18Get:17 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB] 19Get:18 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB] 20Get:19 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.4 kB] 21Get:20 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23.8 kB] 22Get:21 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [6,528 B] 23Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [648 kB] 24Get:23 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] 25Get:24 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [617 kB] 26Get:25 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [218 kB] 27Get:26 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB] 28Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB] 29Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] 30Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB] 31Get:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [6,552 B] 32Get:31 http://jp.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [32.9 kB] 33Get:32 http://jp.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [8,468 B] 34Get:33 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,010 kB] 35Get:34 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,668 B] 36Get:35 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] 37Get:36 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,053 kB] 38Get:37 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [326 kB] 39Get:38 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] 40Get:39 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [209 kB] 41Get:40 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [479 kB] 42Get:41 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [9,908 B] 43Get:42 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [4,608 B] 44Get:43 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B] 45Get:44 http://jp.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8,284 B] 46Reading package lists... Done 47E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file. 48N: Updating from such a repository can't be done securely, and is therefore disabled by default. 49N: See apt-secure(8) manpage for repository creation and user configuration details.

Docker公式サイト

install手順

環境

  • ホストOS: macOS Catalina 10.15.3
  • ゲストOS: ubuntu 18.04.3 LTS (Bionic Beaver)
  • 仮想化ソフト: VirtualBox 5.3.34

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

T.Adams

2020/02/22 10:09

コメントありがとうございます。私のところもこの事象が発生したときは、その記載のみでした。結局以下の回答者様のコマンドすべてをsudo権限で実行したところ、解決しました。gpgコマンドの詳細は理解できていませんが、暗号キーを発行し追加するような行為をしているように見えます。私の場合はそれが適切に行われていなかったと推測できます。
guest

回答1

0

ベストアンサー

下記のシーケンスで問題が出るかどうかをご確認いただいてはいかがでしょうか。下記は私の手元のPC(ubuntu18.04)上にクリーンなDockerコンテナ(ubuntu18.04)を起動したうえでbashを起動して内部実行したものです。Virtualbox上のubuntu18.04の環境に相当します。T.Adamsさんの作業環境上では各コマンドの先頭に sudo を付与してください。 # のところがコマンド行です。

bash

1### クリーンなubuntu18.04環境の起動(T.Adamsさんは実施不要) 2$ docker run --rm --name temp_ubuntu1804 -it ubuntu:18.04 /bin/bash 3 4### ↓↓↓ココから↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 5# cat /etc/issue 6Ubuntu 18.04.4 LTS \n \l 7 8# apt install -y lsb-release software-properties-common 9 10# echo $(lsb_release -cs) 11bionic 12 13# apt update 14Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 15Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] 16Get:3 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [31.0 kB] 17Get:4 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7348 B] 18Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [823 kB] 19Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [835 kB] 21Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 22Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] 23Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] 24Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] 25Get:12 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] 26Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1350 kB] 27Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [44.7 kB] 28Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1127 kB] 29Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [11.4 kB] 30Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4252 B] 31Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2496 B] 32Fetched 17.6 MB in 6s (3011 kB/s) 33Reading package lists... Done 34Building dependency tree 35Reading state information... Done 36All packages are up to date. 37 38# gpg --recv-key 7EA0A9C3F273FCD8 39# gpg -a --export 7EA0A9C3F273FCD8 | apt-key add - 40 41# add-apt-repository \ 42 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ 43 $(lsb_release -cs) \ 44 stable" 45Get:1 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] 46Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 47Get:3 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [10.9 kB] 48Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease 49Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 50Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 51Fetched 75.3 kB in 1s (55.4 kB/s) 52Reading package lists... Done 53 54# apt update 55Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease 56Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 57Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease 58Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 59Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 60Reading package lists... Done 61Building dependency tree 62Reading state information... Done 63All packages are up to date. 64 65# apt install -y docker-ce

投稿2020/02/22 05:23

PINTO

総合スコア351

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

T.Adams

2020/02/22 08:00 編集

丁寧なご返答ありがとうございます。コマンドを実行した結果を以下に記載します。やはりエラーがでているようです。 $ sudo cat /etc/issue [sudo] password for adams: Ubuntu 18.04.3 LTS \n \l $ sudo apt install -y lsb-release software-properties-common Reading package lists... Done Building dependency tree Reading state information... Done lsb-release is already the newest version (9.20170808ubuntu1). lsb-release set to manually installed. software-properties-common is already the newest version (0.96.24.32.12). The following packages were automatically installed and are no longer required: amd64-microcode intel-microcode iucode-tool libabw-0.1-1 libcdr-0.1-1 libcmis-0.5-5v5 libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libfreehand-0.1-1 libmspub-0.1-1 libmwaw-0.3-3 libodfgen-0.1-1 liborcus-0.13-0 libpagemaker-0.0-0 libreoffice-avmedia-backend-gstreamer libreoffice-style-galaxy librevenge-0.0-0 libvisio-0.1-1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxatracker2 libxmlsec1 libxmlsec1-nss libxss1 libxvmc1 thermald Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 160 not upgraded. $ sudo echo $(lsb_release -cs) bionic $ sudo apt update Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease Hit:2 http://jp.archive.ubuntu.com/ubuntu bionic InRelease Get:3 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:4 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Ign:6 https://download.docker.com/linux/ubuntu/dists bionic InRelease Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:8 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease Err:9 https://download.docker.com/linux/ubuntu/dists bionic Release 404 Not Found [IP: 99.86.199.6 443] Reading package lists... Done E: Release file for http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 1d 11h 46min 5s). Updates for this repository will not be applied. E: Release file for http://jp.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 1d 11h 47min 22s). Updates for this repository will not be applied. E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 1d 14h 44min 24s). Updates for this repository will not be applied. $ sudo gpg --recv-key 7EA0A9C3F273FCD8 gpg: WARNING: unsafe ownership on homedir '/home/adams/.gnupg' gpg: key 8D81803C0EBFCD88: 8 signatures not checked due to missing keys gpg: key 8D81803C0EBFCD88: public key "Docker Release (CE deb) <docker@docker.com>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 $ sudo gpg -a --export 7EA0A9C3F273FCD8 | apt-key add - [sudo] password for adams: E: This command can only be used by root. gpg: WARNING: unsafe ownership on homedir '/home/adams/.gnupg' gpg: [stdout]: write error: Broken pipe gpg: [stdout]: write error: Broken pipe gpg: filter_flush failed on close: Broken pipe $ sudo add-apt-repository \ > "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ > $(lsb_release -cs) \ > stable" Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease Hit:2 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease Hit:3 http://jp.archive.ubuntu.com/ubuntu bionic InRelease Get:4 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease Ign:8 https://download.docker.com/linux/ubuntu/dists bionic InRelease Get:9 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [650 kB] Hit:10 https://download.docker.com/linux/ubuntu bionic InRelease Err:11 https://download.docker.com/linux/ubuntu/dists bionic Release 404 Not Found [IP: 99.86.199.39 443] Get:12 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [871 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [442 kB] Get:14 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [303 kB] Get:15 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB] Get:16 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] Get:17 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB] Get:18 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,053 kB] Get:19 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,009 kB] Get:20 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [650 kB] Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB] Get:22 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB] Get:23 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB] Get:24 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [648 kB] Get:25 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [326 kB] Get:26 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] Get:27 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [210 kB] Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [617 kB] Get:29 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [456 kB] Get:30 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B] Get:31 http://jp.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8,284 B] Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.0 kB] Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] Get:34 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB] Get:35 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] Reading package lists... Done W: Skipping acquire of configured file 'bionic/binary-amd64/Packages' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/i18n/Translation-ja' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/i18n/Translation-en' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/Components-amd64.yml' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/icons-48x48.tar' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/icons-64x64.tar' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/cnf/Commands-amd64' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
PINTO

2020/02/22 09:11

$ sudo gpg -a --export 7EA0A9C3F273FCD8 | sudo apt-key add - としてもう一度実施してみて下さい。
T.Adams

2020/02/22 09:42 編集

$ sudo gpg -a --export 7EA0A9C3F273FCD8 | sudo apt-key add - [sudo] password for adams: gpg: WARNING: unsafe ownership on homedir '/home/adams/.gnupg' OK 上で記載したのとコマンドに違いありますか?
PINTO

2020/02/22 09:48

はい。先ほどは失敗していましたが、今回は成功しています。sudoがひとつたりませんでしたよ。引き続き他のコマンドを実行してみてください。
T.Adams

2020/02/22 09:53 編集

$ sudo add-apt-repository \ > "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ > $(lsb_release -cs) \ > stable" Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease Hit:2 http://jp.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease Get:4 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Ign:6 https://download.docker.com/linux/ubuntu/dists bionic InRelease Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease Get:8 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB] Hit:9 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease Get:10 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:11 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] Get:12 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB] Err:13 https://download.docker.com/linux/ubuntu/dists bionic Release 404 Not Found [IP: 99.86.199.6 443] Get:14 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] Get:15 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [198 kB] Get:16 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [449 kB] Get:17 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B] Get:18 http://jp.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8,284 B] Get:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB] Get:20 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB] Get:21 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB] Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.0 kB] Get:23 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] Get:24 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB] Get:25 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,460 B] Reading package lists... Done W: Skipping acquire of configured file 'bionic/binary-amd64/Packages' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/i18n/Translation-ja' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/i18n/Translation-en' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/Components-amd64.yml' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/icons-48x48.tar' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/dep11/icons-64x64.tar' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) W: Skipping acquire of configured file 'bionic/cnf/Commands-amd64' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' doesn't have the component 'bionic' (component misspelt in sources.list?) E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. やはり同じ箇所でエラーが発生しているようです(汗)
T.Adams

2020/02/22 10:05 編集

エラーは解消されました。 Hit:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease Hit:2 http://jp.archive.ubuntu.com/ubuntu bionic InRelease Get:3 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:4 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease Hit:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease Get:9 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB] Get:10 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] Get:11 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB] Get:12 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] Get:13 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB] Get:14 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [439 kB] Get:15 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B] Get:16 http://jp.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8,284 B] Fetched 1,590 kB in 2s (827 kB/s) Reading package lists... Done /etc/apt/sources.listのadd-apt-repositoryの情報が残っていたことが原因でした。 以下のような情報がいくつか記載されていたので、すべて消してから再度教えていただいたコマンドを実行いたしました。 deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic bionic stable
T.Adams

2020/02/22 10:11

gpgコマンドの詳細を理解していませんが、ここで質問をだらだら続けるのもご迷惑なので、自分で調べます。つまり暗号化したキーの追加が手順として不足していたことが原因で、WEB上のbionicリポジトリを見つけることができなかったという感じなのでしょうか?(Proxy?)。何はともあれ、エラーはなくなりました。ありがとうございます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.46%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問