我糊涂了。我只是尝试将 Ubuntu Server 系统从 16.10 升级到 17.10 .... 没有成功。更新此类 Ubuntu 系统的所有典型方法都不起作用。do-release-upgrade告诉我:An upgrade from 'yakkety' to 'artful' is not supported with this tool.还有apt dist-upgrade简单地告诉我:没有升级。
有使用这两种工具升级到 17.04 的教程没有帮助,因为现在 17.10 已经发布。他们 - 当然 - 完全按照上述两种方式提供建议,但遵循它们会导致我刚刚描述的奇怪情况。
所以问题是:
下面是一个例子:
root@mysystem:~# apt update && apt dist-upgrade
Hit:1 http://de.archive.ubuntu.com/ubuntu yakkety InRelease
Hit:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu yakkety-backports InRelease
Reading package lists... Done
Building dependency tree …Run Code Online (Sandbox Code Playgroud) 所以我有一个漂亮的系统运行得非常好,直到我昨晚想设置一个旧的网络摄像头。我做了 sudo apt-get update 并得到了这个:
Fetched 1,475 B in 3min 25s (7 B/s)
Reading package lists... Done
W: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ca.archive.ubuntu.com/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore …Run Code Online (Sandbox Code Playgroud)