Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg keyring expired #4526

Closed
chatchaisi opened this issue Feb 4, 2025 · 1 comment
Closed

pkg keyring expired #4526

chatchaisi opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@chatchaisi
Copy link

Service(s)

jenkins.io

Summary

I install Jenkins by this link https://pkg.jenkins.io/debian-stable/

but when sudo apt-get update got error

: GPG error: https://pkg.jenkins.io/debian-stable binary/ Release: Unknown error executing apt-key
E: The repository 'https://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.

Reproduction steps

Install Jenkins with Debian Packages(Ubuntu 24.04 lts)

  1. sudo wget -O /usr/share/keyrings/jenkins-keyring.asc
    https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key

  2. echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]"
    https://pkg.jenkins.io/debian-stable binary/ | sudo tee
    /etc/apt/sources.list.d/jenkins.list > /dev/null

  3. sudo apt-get update

and Error

@chatchaisi chatchaisi added the triage Incoming issues that need review label Feb 4, 2025
@MarkEWaite MarkEWaite removed the triage Incoming issues that need review label Feb 4, 2025
@MarkEWaite MarkEWaite self-assigned this Feb 4, 2025
@MarkEWaite
Copy link

I'm unable to duplicate the failure that you're reporting. I followed the steps from https://pkg.jenkins.io/debian-stable/ on a freshly installed Ubuntu 24.04 hosted on Google Cloud.

Be sure that you've updated the operating system with the most recent patches before you install Jenkins. Be sure that the time and date are set correctly on the operating system. Commands that I used to update the operating system for my needs are:

DEBIAN_JDK_PACKAGE=openjdk-17-jdk
apt-get update
apt-get --yes dist-upgrade
apt-get --yes --autoremove install curl $DEBIAN_JDK_PACKAGE git wget jq rsync zip unzip

@dduportal dduportal added this to the infra-team-sync-2025-02-11 milestone Feb 5, 2025
@dduportal dduportal closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants