【发布时间】:2021-11-28 09:25:45
【问题描述】:
我正在尝试在我的 Ubuntu EC2 实例上安装 Jenkins,我执行了以下安装步骤但无法安装。
$sudo apt 更新 $sudo apt install openjdk-8-jdk $wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key 添加 - $sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' $sudo apt update
root@ip-172-31-44-187:~# sudo apt update ign:1 https://pkg.jenkins.io/debian-stable二进制/ InRelease Err:2 https://pkg.jenkins.io/debian-stable binary/ 发布 证书验证失败:证书不受信任。证书链使用过期证书。无法握手:错误 证书验证。 [IP:151.101.154.133 443] 点击:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu 焦点 InRelease 获取:4 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu 焦点更新 InRelease [114 kB] 获取:5 http://security.ubuntu.com/ubuntufocal-security InRelease [114 kB] 获取:6 http://ap-south-1.ec2.archive.ubuntu.com/ubuntufocal-backports InRelease [101 kB] 阅读包裹清单...完成 E:存储库“http://pkg.jenkins.io/debian-stable binary/Release”没有发布文件。 N:从这样的存储库更新不能安全地完成,因此默认情况下是禁用的。 N:有关存储库创建和用户配置的详细信息,请参见 apt-secure(8) 手册页。
【问题讨论】:
标签: jenkins