public inbox for [email protected]  
help / color / mirror / Atom feed
From: Fernan Aguero <[email protected]>
To: [email protected]
Subject: problem running apt update on jammy (InRelease is not signed)
Date: Mon, 27 Apr 2026 12:03:05 -0300
Message-ID: <CAC62LX5sb+saA4WQnBF+bhe4R1T3Ft+V=NzX7k6Q-KMWBfMdqQ@mail.gmail.com> (raw)

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 //


Attachments:

  [application/x-gzip] apt.postgresql.org_pub_repos_apt_dists_jammy-pgdg_InRelease.gz (64.7K, 3-apt.postgresql.org_pub_repos_apt_dists_jammy-pgdg_InRelease.gz)
  download

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: problem running apt update on jammy (InRelease is not signed)
  In-Reply-To: <CAC62LX5sb+saA4WQnBF+bhe4R1T3Ft+V=NzX7k6Q-KMWBfMdqQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox