[Close Issue] A combination of external contributor fixes (HTTPS redirection) and configuration fix (rollback to the correct GPG key) fixed the issues. Closing as confirmed by 3 different users (on GitHub and IRC).
[edit] Details and follow up on the following GitHub issue: https://github.com/jenkins-infra/helpdesk/issues/2957.
[Open Issue] The Debian package installer fails to install from pkg.jenkins.io.
The failure message is:
Err:2 https://pkg.jenkins.io/debian binary/ jenkins 2.349
Redirection from https to 'http://mirrors.jenkins.io/debian/jenkins_2.349_all.deb' is forbidden [IP: 146.75.34.133 443]
Fetched 248 kB in 0s (2256 kB/s)
E: Failed to fetch https://pkg.jenkins.io/debian/binary/jenkins_2.349_all.deb
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
A workaround is available by downloading the weekly installer or the LTS installer from get.jenkins.io and then installing it with dpkg.
# wget https://get.jenkins.io/debian-stable/jenkins_2.332.3_all.deb
# dpkg -i jenkins_2.332.3_all.deb
# wget https://get.jenkins.io/debian/jenkins_2.349_all.deb
# dpkg -i jenkins_2.349_all.deb
Last updated: May 31, 2022 at 10:42 AM UTC