當我sudo apt update
在安裝了 MAAS 的 Ubunutu 16.04 LTS 伺服器上執行時,收到以下錯誤訊息:
graeme@MAAS:~$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 http://ppa.launchpad.net/maas/stable/ubuntu xenial InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
Err:5 http://ppa.launchpad.net/maas/stable/ubuntu xenial Release
404 Not Found
Hit:6 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/maas/stable/ubuntu xenial Release' does not have 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.
這是我應該忽略或嘗試解決的問題嗎?
答案1
事實證明,Xenial 沒有穩定的 MAAS 版本,這意味著我需要位於 ppa:maas/next
存儲庫而不是ppa:maas/stable
.這個問題是執行完後才出現的MAAS 入門指南想要的要求我添加ppa:maas/stable
存儲庫。刪除後用
sudo add-apt-repository --remove ppa:maas/stable
更新沒有任何錯誤。