Thread: fail to install postgresql15 on Alma9
Hello, I am foillowing instructions on https://www.postgresql.org/download/linux/redhat/ I select version "15" I select "Red Hat Enterprise, Rocky, AlmaLinux or or Oracle 9" I get this command to run: "dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm" But then I fail to install postgersql15: # yum install postgresql15-server Last metadata expiration check: 0:22:07 ago on Tue 18 Jun 2024 12:16:52 PM CDT. No match for argument: postgresql15-server Error: Unable to find a match: postgresql15-server I can install postgresql16-server sussessfully but not 15. I need 15. What am I doing wrong? Thank you, Dmitry
On 6/18/24 10:40 AM, Dmitry O Litvintsev wrote: > Hello, > > I am foillowing instructions on > > https://www.postgresql.org/download/linux/redhat/ > > I select version "15" > I select "Red Hat Enterprise, Rocky, AlmaLinux or or Oracle 9" > > I get this command to run: > > "dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm" > > But then I fail to install postgersql15: > > # yum install postgresql15-server > Last metadata expiration check: 0:22:07 ago on Tue 18 Jun 2024 12:16:52 PM CDT. > No match for argument: postgresql15-server > Error: Unable to find a match: postgresql15-server > > I can install postgresql16-server sussessfully but not 15. > I need 15. What am I doing wrong? I don't use RH, still the instructions here: https://www.postgresql.org/download/linux/redhat/ Mention doing: # Disable the built-in PostgreSQL module: sudo dnf -qy module disable postgresql Did you do the above? Then: # Install PostgreSQL: sudo dnf install -y postgresql15-server > > Thank you, > Dmitry > > -- Adrian Klaver adrian.klaver@aklaver.com
Yes I did. Sorry did not mention that. I ran the dnf -qy module sisable postgresql prior to running. dnf install postgresql15-server (so that did not help) ________________________________________ From: Adrian Klaver <adrian.klaver@aklaver.com> Sent: Tuesday, June 18, 2024 12:44 PM To: Dmitry O Litvintsev; pgsql-generallists.postgresql.org Subject: Re: fail to install postgresql15 on Alma9 [EXTERNAL] – This message is from an external sender On 6/18/24 10:40 AM, Dmitry O Litvintsev wrote: > Hello, > > I am foillowing instructions on > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.postgresql.org_download_linux_redhat_&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=I2ltoVawe3G4fDFhBnctZ1KL0SOhQ6aSbVqMSepdekg&e= > > I select version "15" > I select "Red Hat Enterprise, Rocky, AlmaLinux or or Oracle 9" > > I get this command to run: > > "dnf install -y https://urldefense.proofpoint.com/v2/url?u=https-3A__download.postgresql.org_pub_repos_yum_reporpms_EL-2D9-2Dx86-5F64_pgdg-2Dredhat-2Drepo-2Dlatest.noarch.rpm&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=pe18CD7xIVa4f2Npl1shD05CkZ2fTQSJQEWbhzzB8lI&e= " > > But then I fail to install postgersql15: > > # yum install postgresql15-server > Last metadata expiration check: 0:22:07 ago on Tue 18 Jun 2024 12:16:52 PM CDT. > No match for argument: postgresql15-server > Error: Unable to find a match: postgresql15-server > > I can install postgresql16-server sussessfully but not 15. > I need 15. What am I doing wrong? I don't use RH, still the instructions here: https://urldefense.proofpoint.com/v2/url?u=https-3A__www.postgresql.org_download_linux_redhat_&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=I2ltoVawe3G4fDFhBnctZ1KL0SOhQ6aSbVqMSepdekg&e= Mention doing: # Disable the built-in PostgreSQL module: sudo dnf -qy module disable postgresql Did you do the above? Then: # Install PostgreSQL: sudo dnf install -y postgresql15-server > > Thank you, > Dmitry > > -- Adrian Klaver adrian.klaver@aklaver.com
dnf -qy module sisable postgresql -> "dnf -qy module disable postgresql". Proper syntax was used. :) ________________________________________ From: Dmitry O Litvintsev <litvinse@fnal.gov> Sent: Tuesday, June 18, 2024 12:48 PM To: Adrian Klaver; pgsql-generallists.postgresql.org Subject: Re: fail to install postgresql15 on Alma9 [EXTERNAL] – This message is from an external sender Yes I did. Sorry did not mention that. I ran the dnf -qy module sisable postgresql prior to running. dnf install postgresql15-server (so that did not help) ________________________________________ From: Adrian Klaver <adrian.klaver@aklaver.com> Sent: Tuesday, June 18, 2024 12:44 PM To: Dmitry O Litvintsev; pgsql-generallists.postgresql.org Subject: Re: fail to install postgresql15 on Alma9 [EXTERNAL] – This message is from an external sender On 6/18/24 10:40 AM, Dmitry O Litvintsev wrote: > Hello, > > I am foillowing instructions on > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.postgresql.org_download_linux_redhat_&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=I2ltoVawe3G4fDFhBnctZ1KL0SOhQ6aSbVqMSepdekg&e= > > I select version "15" > I select "Red Hat Enterprise, Rocky, AlmaLinux or or Oracle 9" > > I get this command to run: > > "dnf install -y https://urldefense.proofpoint.com/v2/url?u=https-3A__download.postgresql.org_pub_repos_yum_reporpms_EL-2D9-2Dx86-5F64_pgdg-2Dredhat-2Drepo-2Dlatest.noarch.rpm&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=pe18CD7xIVa4f2Npl1shD05CkZ2fTQSJQEWbhzzB8lI&e= " > > But then I fail to install postgersql15: > > # yum install postgresql15-server > Last metadata expiration check: 0:22:07 ago on Tue 18 Jun 2024 12:16:52 PM CDT. > No match for argument: postgresql15-server > Error: Unable to find a match: postgresql15-server > > I can install postgresql16-server sussessfully but not 15. > I need 15. What am I doing wrong? I don't use RH, still the instructions here: https://urldefense.proofpoint.com/v2/url?u=https-3A__www.postgresql.org_download_linux_redhat_&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=7PHi3TDlwkvpc07MjENbOxVFl0u_sEurf250JnUFWCU&m=mN1kv7hRIfX0oHlFSSc1RH4ouENojXHa2_3698E0kc58mIkDJKb2bf8RjnP6ZWob&s=I2ltoVawe3G4fDFhBnctZ1KL0SOhQ6aSbVqMSepdekg&e= Mention doing: # Disable the built-in PostgreSQL module: sudo dnf -qy module disable postgresql Did you do the above? Then: # Install PostgreSQL: sudo dnf install -y postgresql15-server > > Thank you, > Dmitry > > -- Adrian Klaver adrian.klaver@aklaver.com
On 6/18/24 10:48, Dmitry O Litvintsev wrote: > Yes I did. Sorry did not mention that. I ran the > > dnf -qy module sisable postgresql > > prior to running. > > dnf install postgresql15-server > > (so that did not help) > Have you retried the install in case it was just a repo refresh issue? If that does not work then the only other suggestion I have is to visit: https://yum.postgresql.org/contact/ -- Adrian Klaver adrian.klaver@aklaver.com