gpt4 book ai didi

ubuntu - 无法在 Ubuntu 16.04 上安装 Jenkins

转载 作者:行者123 更新时间:2023-12-04 18:59:12 25 4
gpt4 key购买 nike

无法在 Ubuntu 16.04 上安装 Jenkins。我已经在我的计算机上安装了 Ubuntu 并尝试在其上配置 Jenkins,但是它给出了 SSL 错误
失败的命令

apt-get install jenkins
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libevent-core-2.0-5 libllvm4.0 snapd-login-service
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
daemon
The following NEW packages will be installed:
daemon jenkins
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
Need to get 71.6 MB/71.7 MB of archives.
After this operation, 74.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.289.3
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkins_2.289.3_all.deb server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root

最佳答案

尝试运行

sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
有了它,您将更新 openssl 包以使其工作。

关于ubuntu - 无法在 Ubuntu 16.04 上安装 Jenkins,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68821316/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com