在 Ubuntu 想要执行更新之前,互联网运行正常!

在 Ubuntu 想要执行更新之前,互联网运行正常!

我可以连接到互联网(我在同一台机器上输入此消息),但是当尝试通过 GUI 和终端更新操作系统和软件时,Ubuntu 无法连接到我的网络连接。Ubuntu 版本 22.10,通过以太网连接(工作),并且不在防火墙后面。

通过终端,当我输入时,sudo apt update我得到:

(base) anthony@Shodan:~$ sudo apt update
[sudo] password for anthony: 
Get:1 file:/var/cuda-repo-ubuntu2204-12-0-local  InRelease [1,575 B]
Get:1 file:/var/cuda-repo-ubuntu2204-12-0-local  InRelease [1,575 B]
Ign:2 http://gb.archive.ubuntu.com/ubuntu kinetic InRelease           
Ign:3 http://gb.archive.ubuntu.com/ubuntu kinetic-updates InRelease            
Ign:4 http://gb.archive.ubuntu.com/ubuntu kinetic-backports InRelease          
Err:5 http://gb.archive.ubuntu.com/ubuntu kinetic Release                      
  404  Not Found [IP: 185.125.190.39 80]
Err:6 http://gb.archive.ubuntu.com/ubuntu kinetic-updates Release              
  404  Not Found [IP: 185.125.190.39 80]
Err:7 http://gb.archive.ubuntu.com/ubuntu kinetic-backports Release            
  404  Not Found [IP: 185.125.190.39 80]
Ign:8 http://security.ubuntu.com/ubuntu kinetic-security InRelease             
Err:9 http://security.ubuntu.com/ubuntu kinetic-security Release
  404  Not Found [IP: 91.189.91.83 80]
Hit:10 https://download.cudo.org/repo/apt stable InRelease
Reading package lists... Done
E: The repository 'http://gb.archive.ubuntu.com/ubuntu kinetic Release' no longer has 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://gb.archive.ubuntu.com/ubuntu kinetic-updates Release' no longer has 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://gb.archive.ubuntu.com/ubuntu kinetic-backports Release' no longer has 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://security.ubuntu.com/ubuntu kinetic-security Release' no longer has 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.

Pinging ( ping google.com) 工作正常。

Ubuntu 操作系统不是我的强项。如果能得到帮助,我将不胜感激。谢谢。

答案1

要升级到下一个版本,你必须运行sudo do-release-upgrade

如果您必须向当前版本添加最新的修补/更新(do-release-upgrade 可能需要这样做),请查看此文章:https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list

相关内容