更新 zesty 软件包时出错 - apt update/upgrade

更新 zesty 软件包时出错 - apt update/upgrade

我正在尝试更新 zesty,但遇到了错误。我尝试了 apt-get update/upgrade 和 apt update。但我可以看到有可用的更新。我尝试通过更新管理器 GUI 进行更新,但遇到了问题。

Ign:9 http://mirror.adminbannok.com/ubuntu zesty InRelease                                       
Ign:11 http://mirror.adminbannok.com/ubuntu zesty-updates InRelease
Ign:12 http://mirror.adminbannok.com/ubuntu zesty-backports InRelease
Ign:13 http://mirror.adminbannok.com/ubuntu zesty-security InRelease
Err:14 http://mirror.adminbannok.com/ubuntu zesty Release
  404  Not Found
Err:15 http://mirror.adminbannok.com/ubuntu zesty-updates Release
  404  Not Found
Err:16 http://mirror.adminbannok.com/ubuntu zesty-backports Release
  404  Not Found
Err:17 http://mirror.adminbannok.com/ubuntu zesty-security Release
  404  Not Found
Lecture des listes de paquets... Fait
E: The repository 'https://dl.bintray.com/sbt/debian  Release' is no longer signed.
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 'http://mirror.adminbannok.com/ubuntu zesty Release' does no longer 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 'http://mirror.adminbannok.com/ubuntu zesty-updates Release' does no longer 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 'http://mirror.adminbannok.com/ubuntu zesty-backports Release' does no longer 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 'http://mirror.adminbannok.com/ubuntu zesty-security Release' does no longer 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

如发布中所述笔记。Zesty 将获得 9 个月的支持,直到 2018 年 1 月。因此,您可以使用old-releases站点来安装 zesty 包。

您可以使用以下来源列表条目:

deb http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

# this repo is disabled!
#deb http://archive.canonical.com/ubuntu zesty partner

deb-src http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse

可以通过 apt 成功检索,没有任何问题。

答案2

我的系统也遇到了同样的问题。我在网址上找到了http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/

========================================================

[ICO] 名称 最后修改时间 大小 描述 [DIR] 父目录 -
[DIR] devel/ 2017 年 7 月 25 日 12:18 -
[DIR] hardy/ 2011 年 10 月 21 日 17:54 -
[DIR] lucid/ 2015 年 10 月 28 日 15:29 -
[DIR] maverick/ 2011 年 10 月 21 日 16:34 -
[DIR] natty/ 2011 年 7 月 8 日 18:43 -
[DIR] oneiric/ 2011 年 10 月 20 日 00:08 -
[DIR] precise/ 2017 年 7 月 25 日 12:18 -
[DIR] quantal/ 2012 年 9 月 4 日 15:39 -
[DIR] trusty/ 2017 年 7 月 27 日 07:45 -
[DIR] realistic/ 2015 年 4 月 15 日 20:46 -
[DIR] wily/2015 年 10 月 21 日 22:03 -
[DIR] xenial/2017 年 7 月 25 日 12:18 -

=======================================================

缺少了热情。^

我按照如下方式将我的 zesty 更改为 xenial,并且效果很好:

德布http://ppa.launchpad.net/openjdk-r/ppa/ubuntu主页面

相关内容