Ubuntu 16.10 Yakketty 不会更新。我可以修复它,还是应该获得 16.04 或 17.10?

gan*_*nex 3 upgrade updates apt release-management

所以我有一个漂亮的系统运行得非常好,直到我昨晚想设置一个旧的网络摄像头。我做了 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.
Run Code Online (Sandbox Code Playgroud)

sudo apt-get install 任何东西都会产生

E: Package 'program' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

我怀疑我遇到了这个问题,因为我使用的是 Ubuntu 16.10。如果没有,我想知道如何修复它,因为我真的很喜欢我的系统。否则,我会考虑安装 16.04 或 17.10,但我也想知道哪个更好,以及是否有一种安装方法而不会丢失我的所有程序和内容。其中一些安装起来非常令人沮丧,而我真的需要它们。

谢谢!

ego*_*on7 5

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

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

我在虚拟机中测试了两次 - 使用 virtualbox - 并且它有效。
然后我在我的主机上应用它,它也成功了。我不得不说,这种方法不会修复你的“破碎的 ppa”。您必须为巧妙的发布找到合适的 ppa。

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

一切都必须以 root 身份或通过 sudo 完成。
要检查您的版本:$ lsb_release -a$ cat /etc/os-release

我们走了,我们必须分开。

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

  1. 修复 /etc/apt/sources.list.d
    • # update-manager - 取消选中每个 ppa
  2. 下载zesty.tar.gz
  3. 验证包的真实性 - 相同 url 的 gpg 文件
  4. 提取存档 - 并修改以下文件
    • # vi ./DistUgradeController.py"
      • 更改每个“archive.ubuntu.com”==>“old-releases.ubuntu.com”
      • 更改每个“security.ubuntu.com”==>“old-releases.ubuntu.com”
    • # vi ./mirrors.cfg
      • 将“ubuntu/”附加到每个“old-releases.ubuntu.com/”
  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


归档时间:

查看次数:

5864 次

最近记录:

8 年,3 月 前