V
V
virek972020-04-28 18:11:21
ubuntu
virek97, 2020-04-28 18:11:21

Problem installing Jenkins on Ubuntu, how to solve?

When installing Jenkins on Ubuntu, the following errors occur:
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.222.3
Redirection from https to ' mirrors.jenkins.io/debian-stable/jenkins_2.222.3 _a... ' is forbidden [IP: 151.101.14.133 443]
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkin... Redirection from https to ' mirrors.jenkins.io /debian-stable/jenkins_2.222.3_a... ' is forbidden [IP: 151.101.14.133 443]

What can be done about it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2020-04-28
@virek97

Options:

sudo sh -c 'echo deb https://mirrors.jenkins.io/debian-stable binary/ > \
    /etc/apt/sources.list.d/jenkins.list'

or
wget https://pkg.jenkins.io/debian-stable/binary/jenkins_2.222.3_all.deb
dpkg -i jenkins_2.222.3_all.deb && rm jenkins_2.222.3_all.deb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question