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

Erro ao instalar jenkins (GPG error)

vagrant@ubuntu-bionic:/vagrant/scripts$ sudo ./jenkins.sh

gpg: can't open 'sudo': No such file or directory gpg: can't open 'sh': No such file or directory gpg: can't open '-c': No such file or directory gpg: can't open 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list': No such file or directory Hit:2 https://download.docker.com/linux/ubuntu bionic InReleaseHit:3 http://security.ubuntu.com/ubuntu bionic-security InReleaseIgn:1 https://pkg.jenkins.io/debian-stable binary/ InReleaseHit:4 http://archive.ubuntu.com/ubuntu bionic InReleaseHit:6 http://archive.ubuntu.com/ubuntu bionic-updates InReleaseHit:7 http://archive.ubuntu.com/ubuntu bionic-backports InReleaseGet:5 https://pkg.jenkins.io/debian-stable binary/ Release [2044 B] Get:8 https://pkg.jenkins.io/debian-stable binary/ Release.gpg [833 B] Ign:8 https://pkg.jenkins.io/debian-stable binary/ Release.gpg 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 treeReading 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

4 respostas
solução!

Resolvi com

$sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FCEF32E745F2C3D5

com base neste artigo aqui: https://chrisjean.com/fix-apt-get-update-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/

Show, resolveu aqui também.

Valeu por compartilhar !

Resolveu aqui também, valeu!

Show! obrigado por compartilhar!

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