BUG #18655: APT repository shell script doesn't work

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: bill(at)chipmaninfo(dot)com
Subject: BUG #18655: APT repository shell script doesn't work
Date: 2024-10-14 21:58:58
Message-ID: 18655-83945555aaa0e813@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18655
Logged by: William Chipman
Email address: bill(at)chipmaninfo(dot)com
PostgreSQL version: 16.0
Operating system: Linux Mint Debian Edition (LMDE)
Description:

The script provided from the postgresql Debian installation page
(https://www.postgresql.org/download/linux/debian/) is:

deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc]
https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" >
/etc/apt/sources.list.d/pgdg.list'

The system throws an error about the debian version (LMDE is faye, but the
Debian version is bookworm).
Also, the system defaults to i386 architecture, which is not supported.
Adding arch-amd64 to the predicate fixes this.
Working line below:

deb [arch=amd64
signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc]
https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2024-10-15 09:30:39 Re: BUG #18647: INSERT statements execute functions twice.
Previous Message Bruce Momjian 2024-10-14 21:52:59 Re: BUG #18614: [ECPG] out of bound in DecodeDateTime