Ubuntu 22.10 Kinetic 无法更新 archive.ubuntu.com 并忽略它

Kir*_*how 9 server apt

我有一些问题。今天看来,昨天还好。这是怎么回事?我该怎么办?我只是想更新 Ubuntusudo apt update

Ign:1 http://archive.ubuntu.com/ubuntu kinetic InRelease
Ign:2 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu kinetic-backports InRelease
Ign:4 http://archive.ubuntu.com/ubuntu kinetic-security InRelease
Err:5 http://archive.ubuntu.com/ubuntu kinetic Release
  404  Not Found [IP: 185.125.190.36 80]
Err:6 http://archive.ubuntu.com/ubuntu kinetic-updates Release
  404  Not Found [IP: 185.125.190.36 80]
Err:7 http://archive.ubuntu.com/ubuntu kinetic-backports Release
  404  Not Found [IP: 185.125.190.36 80]
Err:8 http://archive.ubuntu.com/ubuntu kinetic-security Release
  404  Not Found [IP: 185.125.190.36 80]
Reading package lists... Done
E: The repository 'http://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://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://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://archive.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.
Run Code Online (Sandbox Code Playgroud)

我有互联网。我的虚拟机安装在 Proxmox 上,昨天可以正常运行。

我的网络规划是:

network:
  ethernets:
    ens18:
      dhcp4: no:( And m
      dhcp6: no
      addresses:
        - 192.168.122.205/24
      routes:
        - to: default
          via: 192.168.122.1
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
  version: 2
  renderer: networkd`

Run Code Online (Sandbox Code Playgroud)

sba*_*sba 14

Ubuntu 22.10 不再受支持,并且archive.ubuntu.com不再提供此版本的软件包。按照Ubuntu 的升级文档获取当前版本。

就我而言,/etc/apt/sources.list我将源替换*.archive.ubuntu.comold-releases.ubuntu.com以使更新再次工作:

sudo sed -i 's|http://\([a-z0-9.-]*\)\.archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|' /etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)

之后,谨慎更新到新版本:

do-release-upgrade
Run Code Online (Sandbox Code Playgroud)