无法下载更新无法刷新缓存存储库 download.docker.com 不存在

无法下载更新无法刷新缓存存储库 download.docker.com 不存在

当我看到这个的时候,我想播放一些歌曲 无法下载更新

我有几个 flv 文件,我想播放它们。我在 Vmware 环境中使用 Ubuntu,这就是我看到所有问题的地方。这个从 19.04 升级到 19.10,我的 /etc/apt/sources.list 文件如下所示

# deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu eoan main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu eoan-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu eoan universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu eoan-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu eoan multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu eoan-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner

deb http://archive.ubuntu.com/ubuntu eoan-security main
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu eoan-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu eoan-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb http://archive.ubuntu.com/ubuntu eoan-backports universe multiverse main
# see the sources.list(5) manual.

https://pastebin.com/CiUTguW7

如果我应该粘贴任何其他文件请告诉我
编辑1
我的 /etc/apt/sources.list.d/ 中有 2 个文件

docker.list  linuxuprising-ubuntu-java-eoan.list

docker.list 文件有以下内容

deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable

并且 linuxuprising-ubuntu-java-eoan.list 文件有

deb http://ppa.launchpad.net/linuxuprising/java/ubuntu eoan main
# deb-src http://ppa.launchpad.net/linuxuprising/java/ubuntu eoan main

答案1

我们来复习...

错误信息显示:

...The repository 'https://download.docker.com/linux/eoan Release does not have a Release file.'

您有一个源文件,/etc/apt/apt.sources.d/dockerlist其中包含以下条目:

deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable

注意相似之处:现在您知道哪个源触发了该消息。并且您知道该源位于哪个文件中。


接下来,让我们在 Web 浏览器中尝试该源 URL: https://download.docker.com/linux/ubuntu/

它会打开一个网页。如果您查看链接下的该页面dists/,您会发现 Eoan (19.10) 未列出。该来源没有适用于您的版本 (Eoan/19.10) 的软件包。

正如您所发现的,添加没有适合您的 Ubuntu 版本的软件包的源将会触发警告消息。

如何消除警告信息:

  1. 删除源。使用sudo rm该源文件。
  2. 然后运行以刷新您的软件包数据库。添加、删除或更改任何软件包源时,sudo apt update请务必执行。update

相关内容