更新 Oracle Cloud 时出现获取错误失败

更新 Oracle Cloud 时出现获取错误失败

我正在使用 Oracle Cloud canonical ubuntu 22.04 和 canonical ubuntu 22.04 minimal。两者都有相同的错误。

当我运行时sudo apt update出现以下错误

错误 :

E: Failed to fetch http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy/main/binary-i386/Packages  404  Not Found [IP: 185.125.190.36 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/main/binary-i386/Packages  404  Not Found [IP: 185.125.190.36 80]
E: Failed to fetch http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/main/binary-i386/Packages  404  Not Found [IP: 185.125.190.36 80]
E: Failed to fetch http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/main/binary-i386/Packages  404  Not Found [IP: 185.125.190.36 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

/etc/apt/sources.list

deb http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy multiv>
# deb-src http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy >
deb http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-update>
# deb-src http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy->

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy-backpo>
# deb-src http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/ jammy->

deb http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports jammy-security universe
# deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security universe
deb http://ports.ubuntu.com/ubuntu-ports jammy-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security multiverse

如何解决这个问题?

相关内容