The following signatures were invalid... when running apt-get update

Created on 23 January 2026, 8 days ago

Problem/Motivation

This started happening today. See: https://git.drupalcode.org/issue/gitlab_templates-3426311/-/jobs/8184842...

$ apt-get update && apt-get install -y shellcheck
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 https://dl.yarnpkg.com/debian stable InRelease
Get:6 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:8 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [292 kB]
Err:5 https://dl.yarnpkg.com/debian stable InRelease
  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
Get:9 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [13.6 kB]
Reading package lists...
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.

Same passing job from 2 days ago: https://git.drupalcode.org/project/gitlab_templates/-/jobs/8152064

🐛 Bug report
Status

Active

Component

PHP Containers

Created by

🇪🇸Spain fjgarlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024