ubuntu apt update 提示 The repository ‘http://xxx Release‘ does not have a Release file

AlexChow發表於2024-07-04
sudo apt update && sudo apt upgrade -y

提示

報錯 E: The repository ‘http://xxx Release‘ does not have a Release file.

編輯檔案 /etc/apt/sources.list, 新增下面程式碼儲存

deb http://nl3.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb http://nl3.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb http://nl3.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
deb http://nl3.archive.ubuntu.com/ubuntu jammy-proposed main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse

相關文章