我有一个Ubuntu服务器VM运行18.04在Proxmox6.1-7上,我无法在上面安装景观19.10。我遵循在prem安装页面上的步骤。我试过使用--update标志和不使用。以下代码片段是在尝试第一步时返回的内容:
username@landscape:~$ sudo add-apt-repository ppa:landscape/19.10
October 2019 release of Landscape
More info: https://launchpad.net/~landscape/+archive/ubuntu/19.10
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease
Ign:2 https://ppa.launchpad.net/landscape/19.10/ubuntu bionic InRelease
Err:6 https://ppa.launchpad.net/landscape/19.10/ubuntu bionic Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 91.189.95.83 443]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/landscape/19.10/ubuntu bionic 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.正如您所看到的,它在添加PPA时遇到了问题,在过程中引用了一个证书问题。如果我尝试使用命令sudo apt install landscape-server-quickstart安装下一步,将得到以下信息:
username@landscape:~$ sudo apt install landscape-server-quickstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package landscape-server-quickstart如果我试图访问包https://ppa.launchpad.net/landscape/19.10/ubuntu bionic的url,就会遇到一个证书错误。
服务器和管理程序都是最新的,包括apt和snaps。我没有代理或IDP/IPS来中断通信。这里有什么东西我遗漏了吗?证书不好吗?有什么不同的指南吗?
发布于 2020-03-10 17:42:04
PPA可通过透明http访问。私有PPA是例外,它需要身份验证,但这不是其中之一。另外,私有PPA也是从https://private-ppa.launchpad.net提供的,因此很可能解释了您所得到的SSL错误。
我建议:
sudo add-apt-repository --update ppa:landscape/19.10,这样它就可以添加ppa (作为http,而不是https)并导入GPG签名密钥,如果还没有这样做的话。发布于 2020-03-06 21:13:00
手动将下一条记录添加到/etc/apt/sources.list中:
deb http://ppa.launchpad.net/landscape/19.10/ubuntu bionic main然后
sudo apt update && sudo apt install landscape-server-quickstart
https://askubuntu.com/questions/1215398
复制相似问题