当我尝试跑步时,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
Ubuntu Focal 不存在 aws-okta 包,从这里的列表可以看出。因此,apt 抱怨它找不到软件包并且您无法安装它。
此外,根据他们的问题,aws-okta 的开发自 1 月以来已无限期停止,最好查看其他可用选项