2
respostas

Erro ao instalar o Jenkins

Ao executar o comando -> sudo ./jenkins.sh obtenho o seguinte erro:

OK

sh: 1: cannot create  /etc/apt/sources.list.d/jenkins.list: Directory nonexistent
Ign:1 https://pkg.jenkins.io/debian-stable binary/ InRelease
Hit:2 https://pkg.jenkins.io/debian-stable binary/ Release
Hit:3 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  jenkins
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 92.9 MB of archives.
After this operation, 93.6 MB of additional disk space will be used.
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.375.1
  Temporary failure resolving 'ftp-nyc.osuosl.org'
E: Failed to fetch https://ftp-nyc.osuosl.org/pub/jenkins/debian-stable/jenkins_2.375.1_all.deb  Temporary failure resolving 'ftp-nyc.osuosl.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2 respostas

estou com o mesmo problema.

roda um sudo apt update