| From: | Fernan Aguero <fernan(dot)aguero(at)gmail(dot)com> |
|---|---|
| To: | pgsql-pkg-debian(at)lists(dot)postgresql(dot)org |
| Subject: | problem running apt update on jammy (InRelease is not signed) |
| Date: | 2026-04-27 15:03:05 |
| Message-ID: | CAC62LX5sb+saA4WQnBF+bhe4R1T3Ft+V=NzX7k6Q-KMWBfMdqQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-pkg-debian |
Hi all,
I am running into this problem with apt in Ubuntu jammy (22.04 LTS), see
error message below. Not sure how to fix this or work around this.
I have followed all guidelines on https://wiki.postgresql.org/wiki/Apt, the
certificates are up to date. I also removed outdated apt lists, but it was
to no avail.
I'd appreciate any help resolving this. Thanks!
# sudo rm /var/lib/apt/lists/*
# sudo apt update
[...]
Get:10 https://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease [180
kB]
Err:10 https://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease
Splitting up
/var/lib/apt/lists/partial/apt.postgresql.org_pub_repos_apt_dists_jammy-pgdg_InRelease
into data and signature failed
[...]
Reading package lists... Done
W: GPG error: https://apt.postgresql.org/pub/repos/apt jammy-pgdg
InRelease: Splitting up
/var/lib/apt/lists/partial/apt.postgresql.org_pub_repos_apt_dists_jammy-pgdg_InRelease
into data and signature failed
E: The repository 'https://apt.postgresql.org/pub/repos/apt jammy-pgdg
InRelease' 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.
# sudo cat /etc/apt/sources.list.d/pgdg.sources
Types: deb
URIs: https://apt.postgresql.org/pub/repos/apt
Suites: jammy-pgdg
Components: main
Signed-By: /etc/apt/trusted.gpg.d/apt.postgresql.org.asc
# sudo find /etc/apt/ -iname '*postgresql*'
/etc/apt/apt.conf.d/02autoremove-postgresql
/etc/apt/trusted.gpg.d/postgresql.gpg
/etc/apt/trusted.gpg.d/apt.postgresql.org.asc
/etc/apt/trusted.gpg.d/apt.postgresql.org.gpg
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
--
fernan
// Don't it always seem to go,
that you don't know what you've got
till it's gone
They paved paradise
and put up a parking lot.
-- Joni Mitchell //
| Attachment | Content-Type | Size |
|---|---|---|
| apt.postgresql.org_pub_repos_apt_dists_jammy-pgdg_InRelease.gz | application/x-gzip | 64.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2026-04-28 12:08:04 | Re: problem running apt update on jammy (InRelease is not signed) |
| Previous Message | apt.postgresql.org Repository Update | 2026-04-27 12:23:19 | plr updated to version 1:8.4.8.6-1.pgdg+1 |