public inbox for [email protected]  
help / color / mirror / Atom feed
getting rhel7 packages instead of rhel6 packages
5+ messages / 2 participants
[nested] [flat]

* getting rhel7 packages instead of rhel6 packages
@ 2016-09-08 12:50 Sebastian Steuer <[email protected]>
  2016-09-08 14:18 ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Sebastian Steuer @ 2016-09-08 12:50 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hi,

when using repository config from this package:
Amazon Linux AMI 2015.03 - x86_64
https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-ami201503-93-9.3-2.noarc...

i'm getting *.PGDG.rhel7.x86_64 instead of PGDG.rhel6.x86_64

that breaks things as these packages do not exist in:
https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64

also if they would some will require systemd

i believe repodata is broken

kind regards
Sebastian


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

* Re: getting rhel7 packages instead of rhel6 packages
  2016-09-08 12:50 getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
@ 2016-09-08 14:18 ` Devrim Gündüz <[email protected]>
  2016-09-08 14:25   ` Re: getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Devrim Gündüz @ 2016-09-08 14:18 UTC (permalink / raw)
  To: Sebastian Steuer <[email protected]>; pgsql-pkg-yum


Hi,

On Thu, 2016-09-08 at 13:50 +0100, Sebastian Steuer wrote:
> when using repository config from this package:
> Amazon Linux AMI 2015.03 - x86_64
> https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-a
> mi201503-93-9.3-2.noarch.rpm
> 
> i'm getting *.PGDG.rhel7.x86_64 instead of PGDG.rhel6.x86_64
> 
> that breaks things as these packages do not exist in:
> https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64
> 
> also if they would some will require systemd
> 
> i believe repodata is broken

AFAICS from the .repo file in git repo, they all point to RHEL6 directory:

https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/

Can you please paste contents of .repo file under /etc/yum.reposs.d/pgdg-93-
ami201503.repo ?

Thanks!

Regards,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

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

* Re: getting rhel7 packages instead of rhel6 packages
  2016-09-08 12:50 getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  2016-09-08 14:18 ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
@ 2016-09-08 14:25   ` Sebastian Steuer <[email protected]>
  2016-09-08 14:41     ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Sebastian Steuer @ 2016-09-08 14:25 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgsql-pkg-yum

Hi,

it is correct

# cat /etc/yum.repos.d/pgdg-93-ami201503.repo
[pgdg93]
name=PostgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch
baseurl=
https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93

[pgdg93-source]
name=PostgreSQL 9.3 Amazon Linux AMI 2015.03 - $basearch - Source
failovermethod=priority
baseurl=
https://download.postgresql.org/pub/repos/yum/srpms/9.3/redhat/rhel-6-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93


On Thu, Sep 8, 2016 at 3:18 PM, Devrim Gündüz <[email protected]> wrote:

>
> Hi,
>
> On Thu, 2016-09-08 at 13:50 +0100, Sebastian Steuer wrote:
> > when using repository config from this package:
> > Amazon Linux AMI 2015.03 - x86_64
> > https://download.postgresql.org/pub/repos/yum/9.3/redhat/
> rhel-6-x86_64/pgdg-a
> > mi201503-93-9.3-2.noarch.rpm
> >
> > i'm getting *.PGDG.rhel7.x86_64 instead of PGDG.rhel6.x86_64
> >
> > that breaks things as these packages do not exist in:
> > https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64
> >
> > also if they would some will require systemd
> >
> > i believe repodata is broken
>
> AFAICS from the .repo file in git repo, they all point to RHEL6 directory:
>
> https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/
>
> Can you please paste contents of .repo file under
> /etc/yum.reposs.d/pgdg-93-
> ami201503.repo ?
>
> Thanks!
>
> Regards,
> --
> Devrim GÜNDÜZ
> EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>


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

* Re: getting rhel7 packages instead of rhel6 packages
  2016-09-08 12:50 getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  2016-09-08 14:18 ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
  2016-09-08 14:25   ` Re: getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
@ 2016-09-08 14:41     ` Devrim Gündüz <[email protected]>
  2016-09-08 15:00       ` Re: getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Devrim Gündüz @ 2016-09-08 14:41 UTC (permalink / raw)
  To: Sebastian Steuer <[email protected]>; +Cc: pgsql-pkg-yum


Hi,

On Thu, 2016-09-08 at 15:25 +0100, Sebastian Steuer wrote:
> it is correct
> 
> # cat /etc/yum.repos.d/pgdg-93-ami201503.repo
> [pgdg93]
> name=PostgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch
> baseurl=
> https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-$basearch
> enabled=1

Ok, but there are not RHEL 7 packages in this directory. Can you please make
sure that there are no more .repo files in this directory that includes PGDG
stuff in it?

Thanks!

Regards,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

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

* Re: getting rhel7 packages instead of rhel6 packages
  2016-09-08 12:50 getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  2016-09-08 14:18 ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
  2016-09-08 14:25   ` Re: getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
  2016-09-08 14:41     ` Re: getting rhel7 packages instead of rhel6 packages Devrim Gündüz <[email protected]>
@ 2016-09-08 15:00       ` Sebastian Steuer <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Sebastian Steuer @ 2016-09-08 15:00 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgsql-pkg-yum

Hi,

there is no other PGDG repositories configured on that system. In fact
there are only amazon repositories + the repo file i've already pasted to
you.
but i realized it was yum cache
it had pgdg93 repository before and it had things cached that confused yum

did yum clean all and it works now

sorry for that

kind regards
Sebastian





On Thu, Sep 8, 2016 at 3:41 PM, Devrim Gündüz <[email protected]> wrote:

>
> Hi,
>
> On Thu, 2016-09-08 at 15:25 +0100, Sebastian Steuer wrote:
> > it is correct
> >
> > # cat /etc/yum.repos.d/pgdg-93-ami201503.repo
> > [pgdg93]
> > name=PostgreSQL 9.3 - Amazon Linux AMI 2015.03 - $basearch
> > baseurl=
> > https://download.postgresql.org/pub/repos/yum/9.3/redhat/
> rhel-6-$basearch
> > enabled=1
>
> Ok, but there are not RHEL 7 packages in this directory. Can you please
> make
> sure that there are no more .repo files in this directory that includes
> PGDG
> stuff in it?
>
> Thanks!
>
> Regards,
> --
> Devrim GÜNDÜZ
> EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>


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


end of thread, other threads:[~2016-09-08 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 12:50 getting rhel7 packages instead of rhel6 packages Sebastian Steuer <[email protected]>
2016-09-08 14:18 ` Devrim Gündüz <[email protected]>
2016-09-08 14:25   ` Sebastian Steuer <[email protected]>
2016-09-08 14:41     ` Devrim Gündüz <[email protected]>
2016-09-08 15:00       ` Sebastian Steuer <[email protected]>

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