BUG #18655: APT repository shell script doesn't work - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18655: APT repository shell script doesn't work
Date
Msg-id 18655-83945555aaa0e813@postgresql.org
Whole thread Raw
Responses Re: BUG #18655: APT repository shell script doesn't work
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18655
Logged by:          William Chipman
Email address:      bill@chipmaninfo.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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18654: From fuzzystrmatch, levenshtein function with costs parameters produce incorrect results
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #18647: INSERT statements execute functions twice.