Ubuntu 16.10 Yakketty不会更新。 我可以解决它,还是应该得到16.04或17.10?

所以我有一个漂亮的系统运行真正的好,直到我想昨晚建立一个旧的网络摄像头。 我做了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 potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://download.opensuse.org/repositories/home:/jgeboski/xUbuntu_16.10 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 12C6ADA61C85BB5E W: The repository 'http://download.opensuse.org/repositories/home:/jgeboski/xUbuntu_16.10 Release' is not signed. 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-updates 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-backports 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://ppa.launchpad.net/eugenesan/ppa/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. 

和sudo apt-get install可以获得任何收益

 E: Package 'program' has no installation candidate 

我怀疑我有这个问题,因为我使用的是Ubuntu 16.10。 如果没有,我想知道如何解决它,因为我真的很喜欢我的系统。 否则,我会考虑安装16.04或17.10,但我也想知道哪一个更好,如果有办法安装而不会丢失我的所有程序和东西。 其中一些安装非常令人沮丧,我真的需要它们。

谢谢!

你的问题是,正如@Organic Marble所说,yakkety(16.10)是一个“生命终结”版本。
为了解决您的问题,您需要升级到另一个“生命终结”版本,这是一个很好的(17.04)。 然后,你必须从后者升级为巧妙(17.10)。

我的答案受到该参考的启发。 其中,@ kap以快速的方式为我们提供了方法,因为他的问题被标记为重复。 在那里,我还要感谢@Sidepipe – 阅读他的回答和评论 – 。

我在虚拟机中测试了两次 – 使用virtualbox – 并且它可以工作。
然后,我用我的主机应用它,它也取得了成功。 我不得不说,这种出路不会修复你的“破坏的ppa”。 你必须为巧妙的发布找到合适的ppa。

我不会解释一切。 我相信你会在StackExchange或网络上的其他地方找到答案。

一切都必须以root或sudo的方式完成。
检查你的版本: $ lsb_release -a$ cat /etc/os-release

我们去,我们必须分开。

I)从“生命终结”yakkety(16.10)升级到“生命终结”兴致勃勃(17.04)

  1. 修复/etc/apt/sources.list.d
    • # update-manager – 取消选中每个ppa
  2. 下载zesty.tar.gz
  3. validation包的真实性 – 相同url的gpg文件
  4. 提取存档 – 并修改以下文件
    • # vi ./DistUgradeController.py"
      • 更改每个“archive.ubuntu.com”==>“old-releases.ubuntu.com”
      • 更改每个“security.ubuntu.com”==>“old-releases.ubuntu.com”
    • # vi ./mirrors.cfg
      • 在每个“old-releases.ubuntu.com/”附加“ubuntu /”
  5. 的/etc/apt/sources.list
    • 更改每个“fr.archive.ubuntu.com”==>“old-releases.ubuntu.com”
    • 更改每个“security.ubuntu.com”==>“old-releases.ubuntu.com”
  6. # apt-get update
  7. # apt-get upgrade
  8. # apt-get dist-upgrade
  9. # ./zesty --mode=server --frontend=DistUpgradeViewText
  10. # reboot
  11. # apt-get update – 麻烦,见下一步 –
  12. 删除/etc/apt/sources.list中的副本
  13. # apt-get update
  14. # apt-get upgrade
  15. # apt-get dist-upgrade
  16. # apt-get autoremove
  17. # apt-get autoclean
  18. # reboot

II)从“生命终结”兴奋(17.04)升级到艺术(17.10)

  1. # do-release-upgrade
  2. # reboot
  3. # apt-get update
  4. # apt-get upgrade
  5. # apt-get dist-upgrade
  6. # apt-get autoremove
  7. # apt-get autoclean
  8. # reboot

你的怀疑是正确的! 16.10去年夏天已经过了生命周期,不再受到支持。

你仍然可以升级到17.10(17.04也是寿命终止),但我不确定。 升级路径不会永远有效。

18.04将在几个月内发布,并将成为长期支持版本。

参考: https : //www.ubuntu.com/info/release-end-of-life