在 Ubuntu Server 22.10 上安装 Landscape

在 Ubuntu Server 22.10 上安装 Landscape

尝试添加 Landscape 存储库但不断出现此错误:

michael@naples:~$ sudo add-apt-repository ppa:landscape/self-hosted-23.03
[sudo] password for michael:
Repository: 'deb https://ppa.launchpadcontent.net/landscape/self-hosted-23.03/ubuntu/ kinetic main'
Description:
Dependencies for Landscape Self-Hosted release version 23.03.
More info: https://launchpad.net/~landscape/+archive/ubuntu/self-hosted-23.03
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/landscape-ubuntu-self-hosted-23_03-kinetic.list
Adding deb entry to /etc/apt/sources.list.d/landscape-ubuntu-self-hosted-23_03-kinetic.list
Found existing deb-src entry in /etc/apt/sources.list.d/landscape-ubuntu-self-hosted-23_03-kinetic.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/landscape-ubuntu-self-hosted-23_03-kinetic.list
Adding key to /etc/apt/trusted.gpg.d/landscape-ubuntu-self-hosted-23_03.gpg with fingerprint 35F77D63B5CEC106C577ED856E85A86E4652B4E6
Ign:1 https://ppa.launchpadcontent.net/landscape/19.10/ubuntu kinetic InRelease
Ign:2 https://ppa.launchpadcontent.net/landscape/self-hosted-23.03/ubuntu kinetic InRelease
Hit:3 http://mt.archive.ubuntu.com/ubuntu kinetic InRelease
Hit:4 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu kinetic InRelease
Get:5 http://mt.archive.ubuntu.com/ubuntu kinetic-updates InRelease [118 kB]
Err:6 https://ppa.launchpadcontent.net/landscape/19.10/ubuntu kinetic Release
  404  Not Found [IP: 185.125.190.52 443]
Err:7 https://ppa.launchpadcontent.net/landscape/self-hosted-23.03/ubuntu kinetic Release
  404  Not Found [IP: 185.125.190.52 443]
Get:8 http://mt.archive.ubuntu.com/ubuntu kinetic-backports InRelease [99.9 kB]
Get:9 http://mt.archive.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/landscape/19.10/ubuntu kinetic 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.
E: The repository 'https://ppa.launchpadcontent.net/landscape/self-hosted-23.03/ubuntu kinetic 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

Landscape-server 仅支持有限的几组 Ubuntu 版本(通常为 1 个,有时为 2 个以允许升级),所有这些版本通常都是 Ubuntu LTS(长期支持)版本。22.10 不是 LTS 版本。

尝试在 Ubuntu 22.04 LTS 上安装。landscape-server 文档中提到了这一点,现在显然位于https://ubuntu.com/landscape/docs/self-hosted-landscape

另一方面,landscape-client 应该可以安装在任何 ubuntu 版本上。

相关内容