Lists: | pgsql-docspgsql-www |
---|
From: | Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | I suggest improving install steps for CentOS 8 |
Date: | 2019-11-14 02:36:30 |
Message-ID: | 20191114.113630.1398779383290103638.horimoto@clear-code.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hello,
I have found a problem with the following page.
page: /download/linux/redhat/
I tried install PostgreSQL12 into CentOS 8 as written on this page.
However, I couldn't install it by the following error.
# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
# dnf install -y postgresql12
Failed to set locale, defaulting to C
PostgreSQL 10 for RHEL/CentOS 8 - x8 100 kB/s | 539 kB 00:05
PostgreSQL 11 for RHEL/CentOS 8 - x8 121 kB/s | 629 kB 00:05
PostgreSQL 12 for RHEL/CentOS 8 - x8 91 kB/s | 471 kB 00:05
PostgreSQL 9.4 for RHEL/CentOS 8 - x 75 kB/s | 361 kB 00:04
PostgreSQL 9.5 for RHEL/CentOS 8 - x 108 kB/s | 425 kB 00:03
PostgreSQL 9.6 for RHEL/CentOS 8 - x 55 kB/s | 518 kB 00:09
No match for argument: postgresql12
Error: Unable to find a match
There is a workaround for this problem.
I executed a below command.
I could install it.
# dnf module disable postgresql
This problem has already reported to Red Hat Bugzilla.
(https://bugzilla.redhat.com/show_bug.cgi?id=1718201#c1)
However, this problem has been already closed.
Because it seems that is not a bug.
Therefore I suggest that add a workaround in this document like an
attachment.
Thanks,
Attachment | Content-Type | Size |
---|---|---|
diff.patch | text/x-patch | 804 bytes |
From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org, pgsql-www(at)postgresql(dot)org |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-11-14 09:29:01 |
Message-ID: | AA99A48E-BA5F-49BD-8B86-B9A7DB072D5B@yesql.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Adding -www as this isn't a documentation issue but a website issue.
> On 14 Nov 2019, at 03:36, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> wrote:
>
> Hello,
>
> I have found a problem with the following page.
>
> page: /download/linux/redhat/
>
> I tried install PostgreSQL12 into CentOS 8 as written on this page.
> However, I couldn't install it by the following error.
>
>
> # dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
> # dnf install -y postgresql12
> Failed to set locale, defaulting to C
> PostgreSQL 10 for RHEL/CentOS 8 - x8 100 kB/s | 539 kB 00:05
> PostgreSQL 11 for RHEL/CentOS 8 - x8 121 kB/s | 629 kB 00:05
> PostgreSQL 12 for RHEL/CentOS 8 - x8 91 kB/s | 471 kB 00:05
> PostgreSQL 9.4 for RHEL/CentOS 8 - x 75 kB/s | 361 kB 00:04
> PostgreSQL 9.5 for RHEL/CentOS 8 - x 108 kB/s | 425 kB 00:03
> PostgreSQL 9.6 for RHEL/CentOS 8 - x 55 kB/s | 518 kB 00:09
> No match for argument: postgresql12
> Error: Unable to find a match
>
>
> There is a workaround for this problem.
> I executed a below command.
> I could install it.
>
> # dnf module disable postgresql
>
> This problem has already reported to Red Hat Bugzilla.
> (https://bugzilla.redhat.com/show_bug.cgi?id=1718201#c1)
>
> However, this problem has been already closed.
> Because it seems that is not a bug.
Agreed, it's not a bug.
> Therefore I suggest that add a workaround in this document like an
> attachment.
>
> Thanks,
> diff --git a/templates/pages/download/linux/redhat.html b/templates/pages/download/linux/redhat.html
> index 568085a..3b0cbaf 100644
> --- a/templates/pages/download/linux/redhat.html
> +++ b/templates/pages/download/linux/redhat.html
> @@ -51,6 +51,9 @@ The PostgreSQL Yum Repository currently supports:
> <p><strong><sup>*</sup>Note</strong>: due to the shorter support cycle
> on Fedora, all supported versions of PostgreSQL are not available on this platform. We do not recommend
> using Fedora for server deployments.
> +
> +<p><strong><sup>*</sup>Note</strong>: PostgreSQL can't install in CentOS 8 or RedHat Enterprise 8 just execute the following steps.
> +We need to execute "dnf module disable postgresql" before install the client package.
This doesn't explain what the problem is, and why the above command works (or
what side effects it may have). I don't think it's a bad idea to mention this
problem on the page but we should phrase it in such a way that it's clear what
the underlying problem is, and what the fix means. Linking to offical RPM docs
can be a good way too?
cheers ./daniel
From: | Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
---|---|
To: | pgsql-www(at)postgresql(dot)org |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-11-18 07:21:05 |
Message-ID: | 20191118.162105.2135431844555755406.horimoto@clear-code.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hello,
Thank you for your comments.
I've fixed my patch according to your comments.
I attached it.
Thanks,
From: Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: I suggest improving install steps for CentOS 8
Date: Thu, 14 Nov 2019 10:29:01 +0100
> Adding -www as this isn't a documentation issue but a website issue.
>
>> On 14 Nov 2019, at 03:36, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> wrote:
>>
>> Hello,
>>
>> I have found a problem with the following page.
>>
>> page: /download/linux/redhat/
>>
>> I tried install PostgreSQL12 into CentOS 8 as written on this page.
>> However, I couldn't install it by the following error.
>>
>>
>> # dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
>> # dnf install -y postgresql12
>> Failed to set locale, defaulting to C
>> PostgreSQL 10 for RHEL/CentOS 8 - x8 100 kB/s | 539 kB 00:05
>> PostgreSQL 11 for RHEL/CentOS 8 - x8 121 kB/s | 629 kB 00:05
>> PostgreSQL 12 for RHEL/CentOS 8 - x8 91 kB/s | 471 kB 00:05
>> PostgreSQL 9.4 for RHEL/CentOS 8 - x 75 kB/s | 361 kB 00:04
>> PostgreSQL 9.5 for RHEL/CentOS 8 - x 108 kB/s | 425 kB 00:03
>> PostgreSQL 9.6 for RHEL/CentOS 8 - x 55 kB/s | 518 kB 00:09
>> No match for argument: postgresql12
>> Error: Unable to find a match
>>
>>
>> There is a workaround for this problem.
>> I executed a below command.
>> I could install it.
>>
>> # dnf module disable postgresql
>>
>> This problem has already reported to Red Hat Bugzilla.
>> (https://bugzilla.redhat.com/show_bug.cgi?id=1718201#c1)
>>
>> However, this problem has been already closed.
>> Because it seems that is not a bug.
>
> Agreed, it's not a bug.
>
>> Therefore I suggest that add a workaround in this document like an
>> attachment.
>>
>> Thanks,
>> diff --git a/templates/pages/download/linux/redhat.html b/templates/pages/download/linux/redhat.html
>> index 568085a..3b0cbaf 100644
>> --- a/templates/pages/download/linux/redhat.html
>> +++ b/templates/pages/download/linux/redhat.html
>> @@ -51,6 +51,9 @@ The PostgreSQL Yum Repository currently supports:
>> <p><strong><sup>*</sup>Note</strong>: due to the shorter support cycle
>> on Fedora, all supported versions of PostgreSQL are not available on this platform. We do not recommend
>> using Fedora for server deployments.
>> +
>> +<p><strong><sup>*</sup>Note</strong>: PostgreSQL can't install in CentOS 8 or RedHat Enterprise 8 just execute the following steps.
>> +We need to execute "dnf module disable postgresql" before install the client package.
>
> This doesn't explain what the problem is, and why the above command works (or
> what side effects it may have). I don't think it's a bad idea to mention this
> problem on the page but we should phrase it in such a way that it's clear what
> the underlying problem is, and what the fix means. Linking to offical RPM docs
> can be a good way too?
>
> cheers ./daniel
>
Attachment | Content-Type | Size |
---|---|---|
diff.patch | text/x-patch | 1.2 KB |
From: | Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
---|---|
To: | daniel(at)yesql(dot)se, pgsql-www(at)postgresql(dot)org |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-09 09:21:32 |
Message-ID: | 20191209.182132.280345097673759455.horimoto@clear-code.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hello,
Would this modification be acceptable?
Thanks,
From: Yasuhiro Horimoto <horimoto(at)clear-code(dot)com>
Subject: Re: I suggest improving install steps for CentOS 8
Date: Mon, 18 Nov 2019 16:21:05 +0900 (JST)
> Hello,
>
> Thank you for your comments.
>
> I've fixed my patch according to your comments.
> I attached it.
>
> Thanks,
>
> From: Daniel Gustafsson <daniel(at)yesql(dot)se>
> Subject: Re: I suggest improving install steps for CentOS 8
> Date: Thu, 14 Nov 2019 10:29:01 +0100
>
>> Adding -www as this isn't a documentation issue but a website issue.
>>
>>> On 14 Nov 2019, at 03:36, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> wrote:
>>>
>>> Hello,
>>>
>>> I have found a problem with the following page.
>>>
>>> page: /download/linux/redhat/
>>>
>>> I tried install PostgreSQL12 into CentOS 8 as written on this page.
>>> However, I couldn't install it by the following error.
>>>
>>>
>>> # dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
>>> # dnf install -y postgresql12
>>> Failed to set locale, defaulting to C
>>> PostgreSQL 10 for RHEL/CentOS 8 - x8 100 kB/s | 539 kB 00:05
>>> PostgreSQL 11 for RHEL/CentOS 8 - x8 121 kB/s | 629 kB 00:05
>>> PostgreSQL 12 for RHEL/CentOS 8 - x8 91 kB/s | 471 kB 00:05
>>> PostgreSQL 9.4 for RHEL/CentOS 8 - x 75 kB/s | 361 kB 00:04
>>> PostgreSQL 9.5 for RHEL/CentOS 8 - x 108 kB/s | 425 kB 00:03
>>> PostgreSQL 9.6 for RHEL/CentOS 8 - x 55 kB/s | 518 kB 00:09
>>> No match for argument: postgresql12
>>> Error: Unable to find a match
>>>
>>>
>>> There is a workaround for this problem.
>>> I executed a below command.
>>> I could install it.
>>>
>>> # dnf module disable postgresql
>>>
>>> This problem has already reported to Red Hat Bugzilla.
>>> (https://bugzilla.redhat.com/show_bug.cgi?id=1718201#c1)
>>>
>>> However, this problem has been already closed.
>>> Because it seems that is not a bug.
>>
>> Agreed, it's not a bug.
>>
>>> Therefore I suggest that add a workaround in this document like an
>>> attachment.
>>>
>>> Thanks,
>>> diff --git a/templates/pages/download/linux/redhat.html b/templates/pages/download/linux/redhat.html
>>> index 568085a..3b0cbaf 100644
>>> --- a/templates/pages/download/linux/redhat.html
>>> +++ b/templates/pages/download/linux/redhat.html
>>> @@ -51,6 +51,9 @@ The PostgreSQL Yum Repository currently supports:
>>> <p><strong><sup>*</sup>Note</strong>: due to the shorter support cycle
>>> on Fedora, all supported versions of PostgreSQL are not available on this platform. We do not recommend
>>> using Fedora for server deployments.
>>> +
>>> +<p><strong><sup>*</sup>Note</strong>: PostgreSQL can't install in CentOS 8 or RedHat Enterprise 8 just execute the following steps.
>>> +We need to execute "dnf module disable postgresql" before install the client package.
>>
>> This doesn't explain what the problem is, and why the above command works (or
>> what side effects it may have). I don't think it's a bad idea to mention this
>> problem on the page but we should phrase it in such a way that it's clear what
>> the underlying problem is, and what the fix means. Linking to offical RPM docs
>> can be a good way too?
>>
>> cheers ./daniel
>>
From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org, pgsql-www(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net> |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-09 12:11:26 |
Message-ID: | 1533bc1bdac22370bd87599bd04a0a3fdc8649fa.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hi,
On Thu, 2019-11-14 at 10:29 +0100, Daniel Gustafsson wrote:
> Adding -www as this isn't a documentation issue but a website issue.
Adding Magnus :-)
Seriously speaking, for RHEL 8, we need to add
dnf -qy module disable postgresql
command. Magnus, can you patch this when you can?
Cheers,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-09 12:17:36 |
Message-ID: | CABUevEzHT86uJ2wrsPcq=FzGtGX1_LT_7YLObwGO282sc2OxPw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
On Mon, Dec 9, 2019 at 1:11 PM Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> Hi,
>
> On Thu, 2019-11-14 at 10:29 +0100, Daniel Gustafsson wrote:
> > Adding -www as this isn't a documentation issue but a website issue.
>
> Adding Magnus :-)
>
> Seriously speaking, for RHEL 8, we need to add
>
> dnf -qy module disable postgresql
>
> command. Magnus, can you patch this when you can?
>
Yeah, it seems like it would be better to add this as part of the
instructions rather than as a note on the side.
What is the normal time to do this, in the sequence. After the repository
rpm is installed but before client packages?
And is there any case you'd want to add the pg repositories but *not* do
this? I assume not?
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-09 17:38:01 |
Message-ID: | a664b383420a60ab96e0f5d28adbcd6e8b9c08bb.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hi,
On Mon, 2019-12-09 at 13:17 +0100, Magnus Hagander wrote:
>
> What is the normal time to do this, in the sequence. After the repository
> rpm is installed but before client packages?
Right.
Cheers,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-10 20:00:06 |
Message-ID: | CABUevEzDYwXwHUjZz_X2wYbVu-Ncx+oqiKwC3Deu=c1refj_Eg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
On Mon, Dec 9, 2019 at 6:38 PM Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> Hi,
>
> On Mon, 2019-12-09 at 13:17 +0100, Magnus Hagander wrote:
> >
> > What is the normal time to do this, in the sequence. After the repository
> > rpm is installed but before client packages?
>
> Right.
>
>
I have pushed an update for this to the site.
//Magnus
From: | Yasuhiro Horimoto <horimoto(at)clear-code(dot)com> |
---|---|
To: | magnus(at)hagander(dot)net |
Cc: | devrim(at)gunduz(dot)org, daniel(at)yesql(dot)se, pgsql-docs(at)lists(dot)postgresql(dot)org, pgsql-www(at)postgresql(dot)org |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-11 00:40:26 |
Message-ID: | 20191211.094026.440864323079558092.horimoto@clear-code.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg와이즈 토토SQL : Postg와이즈 토토SQL 메일 링리스트 : 2019-12-11 00:40 이후 PGSQL-DOCS pgsql-www |
Hello,
Thank you very much for your update.
I can successfully installed PostgreSQL
on CentOS 8 by this procedure.
Thanks,
From: Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: I suggest improving install steps for CentOS 8
Date: Tue, 10 Dec 2019 21:00:06 +0100
> On Mon, Dec 9, 2019 at 6:38 PM Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
>>
>> Hi,
>>
>> On Mon, 2019-12-09 at 13:17 +0100, Magnus Hagander wrote:
>> >
>> > What is the normal time to do this, in the sequence. After the repository
>> > rpm is installed but before client packages?
>>
>> Right.
>>
>>
> I have pushed an update for this to the site.
>
> //Magnus
From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Yasuhiro Horimoto <horimoto(at)clear-code(dot)com>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: I suggest improving install steps for CentOS 8 |
Date: | 2019-12-11 11:53:19 |
Message-ID: | cfdef41b7a8d06b106095367cf0d911a1ba625a8.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs pgsql-www |
Hi Magnus,
On Tue, 2019-12-10 at 21:00 +0100, Magnus Hagander wrote:
> I have pushed an update for this to the site.
Thanks a lot!
Cheers,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR