为什么 aws-okta 会导致 sudo apt-get 更新失败?

为什么 aws-okta 会导致 sudo apt-get 更新失败?

当我尝试运行时apt-get update,遇到了奇怪的失败。

$sudo apt-get update
Ign:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Hit:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease
Hit:6 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64  InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:10 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:11 https://packagecloud.io/segment/aws-okta/ubuntu focal InRelease
Err:12 https://packagecloud.io/segment/aws-okta/ubuntu focal Release
  404  Not Found [IP: 54.215.161.51 443]
Reading package lists... Done
E: The repository 'https://packagecloud.io/segment/aws-okta/ubuntu focal 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.

sources.list 文件看起来没问题:

# cat /etc/apt/sources.list.d/segment_aws-okta.list
# this file was generated by packagecloud.io for
# the repository at https://packagecloud.io/segment/aws-okta

deb https://packagecloud.io/segment/aws-okta/ubuntu/ focal main
deb-src https://packagecloud.io/segment/aws-okta/ubuntu/ focal main

答案1

从以下信息可以看出,Ubuntu Focal 中不存在 aws-okta 包此处列出。因此,apt 会抱怨它找不到该包,因此您无法安装它。

此外,根据他们的问题,自 1 月份以来,aws-okta 的开发已无限期停止,最好考虑其他可用选项

相关内容