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,但我也想知道哪个更好,以及是否有一种安装方法而不会丢失我的所有程序和内容。其中一些安装起来非常令人沮丧,而我真的需要它们。
谢谢!
你的问题是,正如@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
我们走了,我们必须分开。
# update-manager - 取消选中每个 ppa# vi ./DistUgradeController.py"
# vi ./mirrors.cfg
# apt-get update# apt-get upgrade# apt-get dist-upgrade# ./zesty --mode=server --frontend=DistUpgradeViewText# reboot# apt-get update - 麻烦,看下一步 -# apt-get update# apt-get upgrade# apt-get dist-upgrade# apt-get autoremove# apt-get autoclean# reboot# do-release-upgrade# reboot# apt-get update# apt-get upgrade# apt-get dist-upgrade# apt-get autoremove# apt-get autoclean# reboot| 归档时间: |
|
| 查看次数: |
5864 次 |
| 最近记录: |