Solucionado (ver solução)
Solucionado
(ver solução)
6
respostas

Erro ao instalar jenkins -

vagrant@ubuntu-bionic:/vagrant/scripts$ sudo ./jenkins.sh OK Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease Ign:1 https://pkg.jenkins.io/debian-stable binary/ InRelease Get:4 https://pkg.jenkins.io/debian-stable binary/ Release [2044 B] Get:5 https://pkg.jenkins.io/debian-stable binary/ Release.gpg [833 B] Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease Ign:5 https://pkg.jenkins.io/debian-stable binary/ Release.gpg Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done W: GPG error: https://pkg.jenkins.io/debian-stable binary/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCEF32E745F2C3D5 E: The repository 'http://pkg.jenkins.io/debian-stable binary/ Release' is not signed. 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. Reading package lists... Done Building dependency tree Reading state information... Done Package jenkins is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'jenkins' has no installation candidate

6 respostas

Eu também estou com esse mesmo problema,

alguém pode nos ajudar, por favor?

solução!

Achei a solução, a url que o wget busca o arquivo não está mais válida

Acessando ela https://pkg.jenkins.io/debian-stable/, encontrei a solução:

Cole isso no seu jenkins.sh e execute o comando

sudo ./jenkins.sh

wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins

Olá Carlos, tudo bem? Você poderia realmente tentar a solução proposta pelo Vitor e falar pra gente se funcionou! Qualquer coisa é só falar!

Bom dia, o comando enviado pelo Vitor funcionou.

Obrigado Vitor.

Para mim, não funcionou.

Alexandre, você poderia abrir um novo tópico com o erro pra gente poder ti ajudar!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software