pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18655: APT repository shell script doesn't work
4+ messages / 3 participants
[nested] [flat]

* BUG #18655: APT repository shell script doesn't work
@ 2024-10-14 21:58  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 4+ messages in thread

From: PG Bug reporting form @ 2024-10-14 21:58 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: bill@chipmaninfo.com

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18655: APT repository shell script doesn't work
@ 2024-11-05 20:43  Christoph Berg <cb@df7cb.de>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Christoph Berg @ 2024-11-05 20:43 UTC (permalink / raw)
  To: bill@chipmaninfo.com; pgsql-bugs@lists.postgresql.org

Hi,

Re: PG Bug reporting form
> 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).

Does Mint provide some "this distro release is like Debian $whatever"
info in /etc/os-release that we could use?

> Also, the system defaults to i386 architecture, which is not supported.

Defaults where?

Christoph





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18655: APT repository shell script doesn't work
@ 2024-11-05 21:00  William Chipman <bill@chipmaninfo.com>
  parent: Christoph Berg <cb@df7cb.de>
  0 siblings, 1 reply; 4+ messages in thread

From: William Chipman @ 2024-11-05 21:00 UTC (permalink / raw)
  To: Christoph Berg <cb@df7cb.de>; +Cc: pgsql-bugs@lists.postgresql.org

I found it somewhere, but not anywhere that could be counted on and machine
readable.

LMDE defaults to i386, so you need to include a arch=amd64 in the heading
to the deb string.

William D. (Bill) Chipman
1307 White Lake Drive
Irving, Texas 75060

(214) 277-3863


On Tue, Nov 5, 2024 at 2:43 PM Christoph Berg <cb@df7cb.de> wrote:

> Hi,
>
> Re: PG Bug reporting form
> > 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).
>
> Does Mint provide some "this distro release is like Debian $whatever"
> info in /etc/os-release that we could use?
>
> > Also, the system defaults to i386 architecture, which is not supported.
>
> Defaults where?
>
> Christoph
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18655: APT repository shell script doesn't work
@ 2024-11-05 21:08  Christoph Berg <cb@df7cb.de>
  parent: William Chipman <bill@chipmaninfo.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Christoph Berg @ 2024-11-05 21:08 UTC (permalink / raw)
  To: William Chipman <bill@chipmaninfo.com>; +Cc: pgsql-bugs@lists.postgresql.org

Re: William Chipman
> I found it somewhere, but not anywhere that could be counted on and machine
> readable.

Since I have no idea how compatible each mint release is to whatever
Debian release, I'd be reluctant to claim anywhere that we officially
support it. The apt.postgresql.org.sh script is just a helper for
setting up the repo, if a particular installation needs special
tweaks, you might as well write the repo config directly.

Christoph





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-11-05 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-14 21:58 BUG #18655: APT repository shell script doesn't work PG Bug reporting form <noreply@postgresql.org>
2024-11-05 20:43 ` Christoph Berg <cb@df7cb.de>
2024-11-05 21:00   ` William Chipman <bill@chipmaninfo.com>
2024-11-05 21:08     ` Christoph Berg <cb@df7cb.de>

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