Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread wirelessduck--- via Dng


> On 19 Jul 2021, at 09:59, Gregory Nowak  wrote:
> 
> On Sun, Jul 18, 2021 at 03:46:56PM +1000, wirelessduck--- via Dng wrote:
>> Bionic is an Ubuntu release. You should be using buster-pgdg repository for 
>> postgresql apt as Devuan Beowulf is directly based on Debian Buster. Devuan 
>> has no direct relationship with Ubuntu.
> 
> I don't recall seeing buster in the provided release output, which is
> why I suggested using bionic. If buster is indeed present, and I
> missed it, then buster should indeed be used. Apologies for the confusion.
> 
> Greg

Yes, they list all the supported releases on the page at 
https://apt.postgresql.org which redirects to the wiki at 
https://wiki.postgresql.org/wiki/Apt.

For those who don’t know, they also distribute postgres extensions and related 
apps (eg. barman, pspg) and updated libpq/libpq-dev through pgdg apt 
repository. The one major exception being PgAdmin4, which switched to using its 
own apt repository.

-- 
Tom___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread Gregory Nowak via Dng
On Sun, Jul 18, 2021 at 03:46:56PM +1000, wirelessduck--- via Dng wrote:
> Bionic is an Ubuntu release. You should be using buster-pgdg repository for 
> postgresql apt as Devuan Beowulf is directly based on Debian Buster. Devuan 
> has no direct relationship with Ubuntu.

I don't recall seeing buster in the provided release output, which is
why I suggested using bionic. If buster is indeed present, and I
missed it, then buster should indeed be used. Apologies for the confusion.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread wirelessduck--- via Dng


> On 18 Jul 2021, at 21:08, o1bigtenor  wrote:
> 
> On Sun, Jul 18, 2021 at 5:58 AM wirelessduck--- via Dng
>  wrote:
>> 
>> 
> snip
 
 I use the buster-pgdg repositories for all of my postgresql installations, 
 following the instructions on apt.postgresql.org but substituting the 
 lsb_release part for “buster”
 
>>> 
>>> Thank you very much.
>>> I did not understand that I was to use 'Buster' in place of 'lsb_release' .
>>> 
>>> Using 'lsb_release' is what caused the foobar.
>>> 
>>> Regards
>> 
>> Yes that snippet is designed to make it easy to copy and paste so you they 
>> can provide one script to setup for all supported distros. As Devuan isn’t 
>> directly supported by pgdg repository we just have to make a small change to 
>> use the equivalent Debian release name.
>> 
> 
> Dunno if I'm understanding correctly but when I use the actual 'name'
> of the distribution then I would have to change such when that
> distribution changes - - - yes?
> 
> The generic statement would not need upgrading as I understand it.
> 
> Deeply appreciating the sharing in this group!!

Check the man page for lsb_release.

https://manpages.debian.org/buster/lsb-release/lsb_release.1.en.html

You will see that `lsb_release -cs` as used in the postgresql wiki page snippet 
just prints the running system distribution codename. In Debian, Ubuntu, and 
others directly supported by pgdg that will “autofill” in the codename into the 
shell script. As “beowulf” is not supported directly by pgdg, we just have to 
substitute in the equivalent Debian release codename instead of using the 
output of `lsb_release -cs`.

-- 
Tom___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread o1bigtenor via Dng
On Sun, Jul 18, 2021 at 5:58 AM wirelessduck--- via Dng
 wrote:
>
>
snip
> >>
> >> I use the buster-pgdg repositories for all of my postgresql installations, 
> >> following the instructions on apt.postgresql.org but substituting the 
> >> lsb_release part for “buster”
> >>
> >
> > Thank you very much.
> > I did not understand that I was to use 'Buster' in place of 'lsb_release' .
> >
> > Using 'lsb_release' is what caused the foobar.
> >
> > Regards
>
> Yes that snippet is designed to make it easy to copy and paste so you they 
> can provide one script to setup for all supported distros. As Devuan isn’t 
> directly supported by pgdg repository we just have to make a small change to 
> use the equivalent Debian release name.
>

Dunno if I'm understanding correctly but when I use the actual 'name'
of the distribution then I would have to change such when that
distribution changes - - - yes?

The generic statement would not need upgrading as I understand it.

Deeply appreciating the sharing in this group!!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread wirelessduck--- via Dng


> On 18 Jul 2021, at 20:39, o1bigtenor  wrote:
> 
> On Sun, Jul 18, 2021 at 12:47 AM wirelessduck--- via Dng
>  wrote:
>> 
>> 
>> 
 On 18 Jul 2021, at 12:58, Gregory Nowak via Dng  wrote:
>>> 
>>> On Sat, Jul 17, 2021 at 09:38:13PM -0500, o1bigtenor via Dng wrote:
 - - - - no mention of Beowulf and that means a - - - no go - - - - at least
 as far as I can tell.
 
 Any ideas?
>>> 
>>> Bionic is based on buster, and therefore similar to Beowulf. If the
>>> repository has bionic, use bionic if installing on Beowulf.
>>> 
>>> Greg
>> 
>> Bionic is an Ubuntu release. You should be using buster-pgdg repository for 
>> postgresql apt as Devuan Beowulf is directly based on Debian Buster. Devuan 
>> has no direct relationship with Ubuntu.
>> 
>> I use the buster-pgdg repositories for all of my postgresql installations, 
>> following the instructions on apt.postgresql.org but substituting the 
>> lsb_release part for “buster”
>> 
> 
> Thank you very much.
> I did not understand that I was to use 'Buster' in place of 'lsb_release' .
> 
> Using 'lsb_release' is what caused the foobar.
> 
> Regards

Yes that snippet is designed to make it easy to copy and paste so you they can 
provide one script to setup for all supported distros. As Devuan isn’t directly 
supported by pgdg repository we just have to make a small change to use the 
equivalent Debian release name.

-- 
Tom
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-18 Thread o1bigtenor via Dng
On Sun, Jul 18, 2021 at 12:47 AM wirelessduck--- via Dng
 wrote:
>
>
>
> > On 18 Jul 2021, at 12:58, Gregory Nowak via Dng  wrote:
> >
> > On Sat, Jul 17, 2021 at 09:38:13PM -0500, o1bigtenor via Dng wrote:
> >> - - - - no mention of Beowulf and that means a - - - no go - - - - at least
> >> as far as I can tell.
> >>
> >> Any ideas?
> >
> > Bionic is based on buster, and therefore similar to Beowulf. If the
> > repository has bionic, use bionic if installing on Beowulf.
> >
> > Greg
>
> Bionic is an Ubuntu release. You should be using buster-pgdg repository for 
> postgresql apt as Devuan Beowulf is directly based on Debian Buster. Devuan 
> has no direct relationship with Ubuntu.
>
> I use the buster-pgdg repositories for all of my postgresql installations, 
> following the instructions on apt.postgresql.org but substituting the 
> lsb_release part for “buster”
>

Thank you very much.
I did not understand that I was to use 'Buster' in place of 'lsb_release' .

Using 'lsb_release' is what caused the foobar.

Regards
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-17 Thread wirelessduck--- via Dng


> On 18 Jul 2021, at 12:58, Gregory Nowak via Dng  wrote:
> 
> On Sat, Jul 17, 2021 at 09:38:13PM -0500, o1bigtenor via Dng wrote:
>> - - - - no mention of Beowulf and that means a - - - no go - - - - at least
>> as far as I can tell.
>> 
>> Any ideas?
> 
> Bionic is based on buster, and therefore similar to Beowulf. If the
> repository has bionic, use bionic if installing on Beowulf.
> 
> Greg

Bionic is an Ubuntu release. You should be using buster-pgdg repository for 
postgresql apt as Devuan Beowulf is directly based on Debian Buster. Devuan has 
no direct relationship with Ubuntu.

I use the buster-pgdg repositories for all of my postgresql installations, 
following the instructions on apt.postgresql.org but substituting the 
lsb_release part for “buster”

-- 
Tom
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Fwd: Installing postgresql13 on beowulf

2021-07-17 Thread Gregory Nowak via Dng
On Sat, Jul 17, 2021 at 09:38:13PM -0500, o1bigtenor via Dng wrote:
> - - - - no mention of Beowulf and that means a - - - no go - - - - at least
> as far as I can tell.
> 
> Any ideas?

Bionic is based on buster, and therefore similar to Beowulf. If the
repository has bionic, use bionic if installing on Beowulf.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Fwd: Installing postgresql13 on beowulf

2021-07-17 Thread o1bigtenor via Dng
!!!
Apologies - - - - I seem to have forgotten that I must use reply all
and I didn't!

-- Forwarded message -
From: o1bigtenor 
Date: Sat, Jul 17, 2021 at 4:33 PM
Subject: Re: [DNG] Installing postgresql13 on beowulf
To: Antony Stone 


On Sat, Jul 17, 2021 at 3:22 PM Antony Stone
 wrote:
>
> On Saturday 17 July 2021 at 17:20:40, o1bigtenor via Dng 
> wrote:___
>
> > Greetings
> >
> > trying to install postgres 13 on beowulf
>
> > deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main
>
> > # apt update
>
> > Err:7 http://apt.postgresql.org/pub/repos/apt beowulf-pgdg Release
>
> > Somehow what I entered as 'Buster' become 'Beowulf' .
>
> Can you really confirm that you don't have a beowulf repository lurking
> somewhere:
>
> grep -r postgresql /etc/apt
>

# grep -r postgresql /etc/apt
/etc/apt/apt.conf.d/01autoremove-postgresql:// File installed by
postgresql-common. Currently not updated automatically,
/etc/apt/apt.conf.d/01autoremove-postgresql:// would remove the old
postgresql-NN package when the "postgresql" meta
/etc/apt/apt.conf.d/01autoremove-postgresql:"^postgresql-";

the issue is that
https://apt.postgresql.org/pub/repos/apt/dists/

only contains

bionic-pgdg/   11-Jul-2021 20:57
-
bionic-pgdg-testing/   17-Jul-2021 18:25
-
bullseye-pgdg/ 11-Jul-2021 20:56
-
bullseye-pgdg-testing/ 17-Jul-2021 18:25
-
buster-pgdg/   11-Jul-2021 20:56
-
buster-pgdg-testing/   17-Jul-2021 18:25
-
focal-pgdg/11-Jul-2021 20:57
-
focal-pgdg-testing/17-Jul-2021 18:25
-
groovy-pgdg/   11-Jul-2021 20:56
-
groovy-pgdg-testing/   09-Jul-2021 17:56
-
hirsute-pgdg/  11-Jul-2021 20:56
-
hirsute-pgdg-testing/  09-Jul-2021 17:56
-
sid-pgdg/  11-Jul-2021 20:56
-
sid-pgdg-testing/  17-Jul-2021 18:25
-
stretch-pgdg/  11-Jul-2021 20:56
-
stretch-pgdg-testing/  05-Jul-2021 16:06
-
xenial-pgdg/   13-May-2021 13:12
-
xenial-pgdg-testing/   13-May-2021 13:10
-

- - - - no mention of Beowulf and that means a - - - no go - - - - at least
as far as I can tell.

Any ideas?
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng