cmake 关于配备Kitware APT的臂的问题:没有发布文件

ru9i0ody  于 2023-05-07  发布在  其他
关注(0)|答案(1)|浏览(126)

在Arm64上使用Kitware PPA进行APT几天后出现问题:

Ign:13 https://apt.kitware.com/ubuntu focal InRelease
Err:14 https://apt.kitware.com/ubuntu focal Release
  Certificate verification failed: The certificate is NOT trusted. The received OCSP status response is invalid.  Could not handshake: Error in the certificate verification. [IP: 66.194.253.25 443]
Hit:9 https://packagecloud.io/github/git-lfs/ubuntu focal InRelease
Reading package lists... Done
E: The repository 'https://apt.kitware.com/ubuntu focal Release' does not have a Release file.

使用Kitware网站上的官方说明可以轻松复制:https://apt.kitware.com/

  1. wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
  2. echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
  3. sudo apt-get update
    我联系了支持人员,并寻找解决方案来避免此错误(跳过安全检查等)。
iyr7buue

iyr7buue1#

现在似乎起作用了。对于遇到此问题的任何人,请尝试尽可能多地诊断您的问题,直到您确定问题与提供商的APT镜像有关。
然后将APT更改为更稳定的APT,或者联系他们以确保他们意识到问题,以便他们可以修复它。

相关问题