AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1196227
Accepted
political science
political science
Asked: 2019-12-15 15:06:39 +0800 CST2019-12-15 15:06:39 +0800 CST 2019-12-15 15:06:39 +0800 CST

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

  • 772

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

我有一些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

和 linuxupprising-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
docker 19.10
  • 1 1 个回答
  • 8086 Views

1 个回答

  • Voted
  1. Best Answer
    user535733
    2019-12-15T18:52:17+08:002019-12-15T18:52:17+08:00

    让我们来复习...

    错误消息说:

    ...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在添加、删除或更改任何包源时始终执行。
    • 3

相关问题

  • 您是否需要具有虚拟化功能的处理器才能在 Snappy Ubuntu Core 上运行 Docker?

  • 码头工人的问题

  • 如何在没有 sudo 的情况下使用 docker?

  • 如何升级 Docker

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve