Sudo Apt-get update での Ubuntu の Docker エラー

Sudo Apt-get update での Ubuntu の Docker エラー

しばらく前に Docker をインストールしましたが、何をしたか覚えていません。

私はまだ Linux を学習/慣れている最中で、次のエラーをどうやって取り除けばよいかわかりません。

実行するとsudo /apt-get update次のエラーが発生します。このエラーを解消するにはどうすればよいでしょうか?

Docker を再インストールするのではなく、このエラーを解消したいのですが、add-apt-repositoryインストール時に実行したアクションを元に戻す必要がありますか?

Err:14 https://download.docker.com/linux/ubuntu eoan Release                   
  404  Not Found [IP: 2600:9000:21d5:ae00:3:db06:4200:93a1 443]
Get:15 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]   
Err:16 https://download.docker.com/linux/debian eoan Release                   
  404  Not Found [IP: 2600:9000:21d5:ae00:3:db06:4200:93a1 443]
Get:17 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]
Hit:19 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease 
Reading package lists... Done                                                  
E: The repository 'https://download.docker.com/linux/ubuntu eoan 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: The repository 'https://download.docker.com/linux/debian eoan 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.

答え1

コンテキストを提供してくれた他の方々に感謝します。これが役立つ場合、実際にエラーを解決するために、次を実行して解決しました。

sudo nano /etc/apt/sources.list

次に、eoan のリポジトリ ソースを削除し、以下を使用していることを確認します。

deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable

その後はapt-get問題なく実行できます。

関連情報