Thread: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
From
Anton Akulov
Date:
Hello,
postgresql94* packages are broken on Amazon Linux AMI 2015.03
It’s linked to RHEL 7, but base is RHEL 6 here.
Amazon Linux AMI 2015.03# yum install postgresql94-server postgresql94
Loaded plugins: priorities, update-motd, upgrade-helper
979 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package postgresql94.x86_64 0:9.4.1-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql94-libs = 9.4.1-1PGDG.rhel7 for package: postgresql94-9.4.1-1PGDG.rhel7.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql94-9.4.1-1PGDG.rhel7.x86_64
---> Package postgresql94-server.x86_64 0:9.4.1-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-units for package: postgresql94-server-9.4.1-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql94-server-9.4.1-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql94-libs.x86_64 0:9.4.1-1PGDG.rhel7 will be installed
---> Package postgresql94-server.x86_64 0:9.4.1-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-units for package: postgresql94-server-9.4.1-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql94-server-9.4.1-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql94-server-9.4.1-1PGDG.rhel7.x86_64 (pgdg94)
Requires: systemd-units
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Could you please fix ?
Best regards,
Anton
--
Anton Akulov
Senior Linux Systems Engineer
Anton Akulov
Senior Linux Systems Engineer
Re: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
From
Devrim Gündüz
Date:
Hi, On Mon, 2015-04-13 at 10:26 +0200, Anton Akulov wrote: > postgresql94* packages are broken on Amazon Linux AMI 2015.03 > > It’s linked to RHEL 7, but base is RHEL 6 here. My impression is that the OS is expanding $releasever to RHEL 7. Any chance you can edit your repo file manually? Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment
Re: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
From
Anton Akulov
Date:
Hi,
release ver here isn’t 7 it’s just ‘latest’.
>>> yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)
Loaded plugins: priorities, update-motd, upgrade-helper
{'arch': 'ia32e',
'awsdomain': 'amazonaws.com',
'awsregion': 'us-east-1',
'basearch': 'x86_64',
'releasever': 'latest',
'uuid': '5264c78d-4497-4a85-ae8d-09a60bf0e1de'}
Interesting thing is, with PGDG repository for 9.3 it works like a charm.
For 9.4 - not.
Best regards,
--
Anton Akulov
Senior Linux Systems Engineer
Anton Akulov
Senior Linux Systems Engineer
On 13 Apr 2015, at 15:17, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi,
On Mon, 2015-04-13 at 10:26 +0200, Anton Akulov wrote:postgresql94* packages are broken on Amazon Linux AMI 2015.03
It’s linked to RHEL 7, but base is RHEL 6 here.
My impression is that the OS is expanding $releasever to RHEL 7. Any
chance you can edit your repo file manually?
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Re: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
From
Devrim Gündüz
Date:
Hi, On Mon, 2015-04-13 at 16:47 +0200, Anton Akulov wrote: > Interesting thing is, with PGDG repository for 9.3 it works like a > charm For 9.4 - not. On both 9.3 and 9.4, we have this symlink: rhel-latest-x86_64 -> rhel-7-x86_64/ So I have no idea why it works on 9.3, but not on 9.4 :( May I ask you to edit your repo file, and point directly to RHEL 6 repo? I don't know much about Amazon Linux -- should we generate a specific repo RPM for that one, so that people won't need to edit it? Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment
Re: postgresql94* packages from pgdg-redhat94-9.4-1.noarch.rpm are broken on Amazon Linux AMI 2015.03
From
Devrim Gündüz
Date:
Hi, On Wed, 2015-04-22 at 09:27 +0200, Anton Akulov wrote: > > I edited repo file and pointed it to RHEL 6 repo. > Installation of PG 9.4 was successful. Great! > And I think Idea of creation special repo RPM for Amazon Linux is > quite good ! Ok, can you please send me the output of rpm -qf /etc/redhat-release > Meanwhile postgis2_94 package installation failed with this error: > > Error: Package: gdal-libs-1.9.2-6.rhel6.x86_64 (pgdg94) > Requires: libpoppler.so.5()(64bit) poppler packages comes with the base OS on RHEL/CentOS/SL. Amazon might have removed it for some reason. You can directly download it from a CentOS mirror. Please note that poppler depends on lcms-libs, openjpeg-libs and poppler-data packages. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR