The error happens when I try to install the jenkins app in a debian machine in docker, the error does not happen with ubuntu, the debian version is latest
Error: /usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Error: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: change from notrun to 0 failed: /usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Notice: /Stage[main]/Jenkins::Software/File[/etc/sudoers.d/jenkins]/ensure: defined content as '{md5}3f181839f63cfc1d3595296dc6aadd0e'
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: --2018-04-07 18:28:59-- https://pkg.jenkins.io/debian-stable/jenkins.io.key
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: Resolving pkg.jenkins.io (pkg.jenkins.io)... E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: 52.202.51.185
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: Connecting to pkg.jenkins.io (pkg.jenkins.io)|52.202.51.185|:443... connected.
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: HTTP request sent, awaiting response... 200 OK
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: Length: 9132 (8.9K) [application/pgp-keys]
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: Saving to: 'STDOUT'
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: 0K 0% 0.00 =0.008s
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: Cannot write to '-' (Broken pipe).
Error: /usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Error: /Stage[main]/Jenkins::Repos/Apt::Key[D50582E6]/Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -]/returns: change from notrun to 0 failed: /usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Notice: /Stage[main]/Jenkins::Repos/Exec[refresh-apt-jenkins]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Repos/Exec[refresh-apt-jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Package[jenkins]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Package[jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Reprepro/File[/srv/repository]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Reprepro/File[/srv/repository]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: --2018-04-07 18:29:01-- http://jenkins.grml.org/debian/C525F56752D4A654.asc
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: Resolving jenkins.grml.org (jenkins.grml.org)... E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: 77.95.228.18, 2a00:7b80:3012:12::2
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: Connecting to jenkins.grml.org (jenkins.grml.org)|77.95.228.18|:80... connected.
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: HTTP request sent, awaiting response... 200 OK
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: Length: 3161 (3.1K) [application/octet-stream]
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: Saving to: 'STDOUT'
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: 0K 0% 0.00 =0s
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns:
Notice: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: Cannot write to '-' (Broken pipe).
Error: /usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Error: /Stage[main]/Jenkins::Repos/Apt::Key[52D4A654]/Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -]/returns: change from notrun to 0 failed: /usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add - returned 255 instead of one of [0]
Notice: /Stage[main]/Jenkins::Repos/Exec[refresh-apt-jenkins-debian-glue]: Dependency Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Repos/Exec[refresh-apt-jenkins-debian-glue]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Package[jenkins-debian-glue]: Dependency Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Package[jenkins-debian-glue]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Package[jenkins-debian-glue-buildenv]: Dependency Exec[/usr/bin/wget -O - 'http://jenkins.grml.org/debian/C525F56752D4A654.asc' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Package[jenkins-debian-glue-buildenv]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/File[/var/lib/jenkins]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/File[/var/lib/jenkins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/.gitconfig]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/.gitconfig]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-source]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-source]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-source/config.xml]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-source/config.xml]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-binaries]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-binaries]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-binaries/config.xml]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-binaries/config.xml]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-piuparts/]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-piuparts/]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-piuparts/config.xml]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/jobs/jenkins-debian-glue-piuparts/config.xml]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/config.xml]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/config.xml]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/jenkins-debian-glue/]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/jenkins-debian-glue/]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/jenkins-debian-glue/config.xml]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Config/File[/var/lib/jenkins/users/jenkins-debian-glue/config.xml]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/File[/var/lib/jenkins/plugins]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/File[/var/lib/jenkins/plugins]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/Exec[download-copyartifact]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[copyartifact]/Exec[download-copyartifact]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[credentials]/Exec[download-credentials]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[credentials]/Exec[download-credentials]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[icon-shim]/Exec[download-icon-shim]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[icon-shim]/Exec[download-icon-shim]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ssh-credentials]/Exec[download-ssh-credentials]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ssh-credentials]/Exec[download-ssh-credentials]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[git-client]/Exec[download-git-client]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[git-client]/Exec[download-git-client]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[git]/Exec[download-git]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[git]/Exec[download-git]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[scm-api]/Exec[download-scm-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[scm-api]/Exec[download-scm-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[matrix-project]/Exec[download-matrix-project]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[matrix-project]/Exec[download-matrix-project]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[junit]/Exec[download-junit]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[junit]/Exec[download-junit]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[script-security]/Exec[download-script-security]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[script-security]/Exec[download-script-security]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-scm-step]/Exec[download-workflow-scm-step]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-scm-step]/Exec[download-workflow-scm-step]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[mailer]/Exec[download-mailer]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[mailer]/Exec[download-mailer]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[display-url-api]/Exec[download-display-url-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[display-url-api]/Exec[download-display-url-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ssh-agent]/Exec[download-ssh-agent]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ssh-agent]/Exec[download-ssh-agent]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[apache-httpcomponents-client-4-api]/Exec[download-apache-httpcomponents-client-4-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[apache-httpcomponents-client-4-api]/Exec[download-apache-httpcomponents-client-4-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[jsch]/Exec[download-jsch]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[jsch]/Exec[download-jsch]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-step-api]/Exec[download-workflow-step-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-step-api]/Exec[download-workflow-step-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[bouncycastle-api]/Exec[download-bouncycastle-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[bouncycastle-api]/Exec[download-bouncycastle-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[structs]/Exec[download-structs]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[structs]/Exec[download-structs]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[tap]/Exec[download-tap]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[tap]/Exec[download-tap]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[timestamper]/Exec[download-timestamper]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[timestamper]/Exec[download-timestamper]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ws-cleanup]/Exec[download-ws-cleanup]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[ws-cleanup]/Exec[download-ws-cleanup]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-durable-task-step]/Exec[download-workflow-durable-task-step]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-durable-task-step]/Exec[download-workflow-durable-task-step]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[resource-disposer]/Exec[download-resource-disposer]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[resource-disposer]/Exec[download-resource-disposer]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-aggregator]/Exec[download-workflow-aggregator]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-aggregator]/Exec[download-workflow-aggregator]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[pipeline-input-step]/Exec[download-pipeline-input-step]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[pipeline-input-step]/Exec[download-pipeline-input-step]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-job]/Exec[download-workflow-job]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-job]/Exec[download-workflow-job]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-basic-steps]/Exec[download-workflow-basic-steps]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-basic-steps]/Exec[download-workflow-basic-steps]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-api]/Exec[download-workflow-api]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-api]/Exec[download-workflow-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-support]/Exec[download-workflow-support]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[workflow-support]/Exec[download-workflow-support]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[durable-task]/Exec[download-durable-task]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[durable-task]/Exec[download-durable-task]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[antisamy-markup-formatter]/Exec[download-antisamy-markup-formatter]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Jenkins::Plugin::Install[antisamy-markup-formatter]/Exec[download-antisamy-markup-formatter]: Skipping because of failed dependencies
Notice: /Stage[main]/Jenkins::Software/Service[jenkins]: Dependency Exec[/usr/bin/wget -O - 'https://pkg.jenkins.io/debian-stable/jenkins.io.key' | /usr/bin/apt-key add -] has failures: true
Warning: /Stage[main]/Jenkins::Software/Service[jenkins]: Skipping because of failed dependencies
Notice: Applied catalog in 256.54 seconds
While puppet reported a successful run, jenkins and/or jenkins-debian-glue aren't successfully installed. :(
Please re-execute this script and if the problem persists please report this at
https://github.com/mika/jenkins-debian-glue/issues
ERROR: Service 'web' failed to build: The command '/bin/sh -c bash ./apply.sh Temproot' returned a non-zero code: 1
The error happens when I try to install the jenkins app in a debian machine in docker, the error does not happen with ubuntu, the debian version is latest