我有一些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.
如果我应该粘贴任何其他文件,请告诉我
编辑 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
让我们来复习...
错误消息说:
您有一个源文件,
/etc/apt/apt.sources.d/dockerlist
其中包含以下条目:注意相似之处:现在您知道哪个源触发了该消息。而且您知道该源在哪个文件中。
接下来,让我们在 Web 浏览器中尝试该源 URL: https ://download.docker.com/linux/ubuntu/
它会打开一个网页。如果您查看链接下的该页面
dists/
,您将看到 Eoan (19.10) 未列出。该来源没有适用于您的版本 (Eoan/19.10) 的软件包。正如您所发现的,为您的 Ubuntu 版本添加一个没有软件包的源将触发警告消息。
如何消除警告信息:
sudo rm
在该源文件上使用。sudo apt update
以刷新您的包数据库。update
在添加、删除或更改任何包源时始终执行。