Re: rpm install not recognized by yum.

Lists: Postg토토 사이트
From: "slamp slamp" <slackamp(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: rpm install not recognized by yum.
Date: 2008-09-03 15:24:07
Message-ID: 78926d250809030824p13f778d4ne17818541a8b3251@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

one of our servers had the pgdg rpms (8.2.4) installed by hand. now
that the yum repo is available, i installed
pgdg-redhat-8.2-4.noarch.rpm. this is on
redhat-release-5Server-5.2.0.4. i do a yum update and the rpms are not
being recognized. how come? also when i performed yum clean all i get
the message "Repository pgdg82 is listed more than once in the
configuration". although i only see one declaration of pgdg82, the
other is pgdg82-source. Anyone have this issue?

# cat /etc/yum.repos.d/pgdg-82-redhat.repo
[pgdg82]
name=PostgreSQL 8.2 $releasever - $basearch
baseurl=http://yum.pgsqlrpms.org/8.2/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

[pgdg82-source]
name=PostgreSQL 8.2 $releasever - $basearch - Source
failovermethod=priority
baseurl=http://yum.pgsqlrpms.org/srpms/8.2/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG


From: "slamp slamp" <slackamp(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: rpm install not recognized by yum.
Date: 2008-09-04 20:12:25
Message-ID: 78926d250809041312o61ddabe9s1b586a1221cae519@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

anyone? i am able to install others apps like ptop from the repo. just
cant update the installed ones.

On Wed, Sep 3, 2008 at 11:24 AM, slamp slamp <slackamp(at)gmail(dot)com> wrote:
> one of our servers had the pgdg rpms (8.2.4) installed by hand. now
> that the yum repo is available, i installed
> pgdg-redhat-8.2-4.noarch.rpm. this is on
> redhat-release-5Server-5.2.0.4. i do a yum update and the rpms are not
> being recognized. how come? also when i performed yum clean all i get
> the message "Repository pgdg82 is listed more than once in the
> configuration". although i only see one declaration of pgdg82, the
> other is pgdg82-source. Anyone have this issue?
>
>
> # cat /etc/yum.repos.d/pgdg-82-redhat.repo
> [pgdg82]
> name=PostgreSQL 8.2 $releasever - $basearch
> baseurl=http://yum.pgsqlrpms.org/8.2/redhat/rhel-$releasever-$basearch
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>
> [pgdg82-source]
> name=PostgreSQL 8.2 $releasever - $basearch - Source
> failovermethod=priority
> baseurl=http://yum.pgsqlrpms.org/srpms/8.2/redhat/rhel-$releasever-$basearch
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>


From: "slamp slamp" <slackamp(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: rpm install not recognized by yum.
Date: 2008-09-04 20:42:28
Message-ID: 78926d250809041342s61210c7en9eb63deea6d48fa9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

ok i managed to get this to work. however i still get the "Repository
pgdg82 is listed more than once in the configuration", this is
probably a rhel yum bug.

On Thu, Sep 4, 2008 at 4:12 PM, slamp slamp <slackamp(at)gmail(dot)com> wrote:
> anyone? i am able to install others apps like ptop from the repo. just
> cant update the installed ones.
>
> On Wed, Sep 3, 2008 at 11:24 AM, slamp slamp <slackamp(at)gmail(dot)com> wrote:
>> one of our servers had the pgdg rpms (8.2.4) installed by hand. now
>> that the yum repo is available, i installed
>> pgdg-redhat-8.2-4.noarch.rpm. this is on
>> redhat-release-5Server-5.2.0.4. i do a yum update and the rpms are not
>> being recognized. how come? also when i performed yum clean all i get
>> the message "Repository pgdg82 is listed more than once in the
>> configuration". although i only see one declaration of pgdg82, the
>> other is pgdg82-source. Anyone have this issue?
>>
>>
>> # cat /etc/yum.repos.d/pgdg-82-redhat.repo
>> [pgdg82]
>> name=PostgreSQL 8.2 $releasever - $basearch
>> baseurl=http://yum.pgsqlrpms.org/8.2/redhat/rhel-$releasever-$basearch
>> enabled=1
>> gpgcheck=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>>
>> [pgdg82-source]
>> name=PostgreSQL 8.2 $releasever - $basearch - Source
>> failovermethod=priority
>> baseurl=http://yum.pgsqlrpms.org/srpms/8.2/redhat/rhel-$releasever-$basearch
>> enabled=0
>> gpgcheck=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>>
>


From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "slamp slamp" <slackamp(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: rpm install not recognized by yum.
Date: 2008-09-04 20:50:13
Message-ID: dcc563d10809041350w5efca529kf1a4e666db20f42d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트

On Thu, Sep 4, 2008 at 2:42 PM, slamp slamp <slackamp(at)gmail(dot)com> wrote:
> ok i managed to get this to work. however i still get the "Repository
> pgdg82 is listed more than once in the configuration", this is
> probably a rhel yum bug.

Sure you don't have it again in an included yum .conf file? That's
happened to me before.


From: "slamp slamp" <slackamp(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: rpm install not recognized by yum.
Date: 2008-09-05 14:34:46
Message-ID: 78926d250809050734x540e444v10a63b3a95d37a50@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Thu, Sep 4, 2008 at 4:50 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> On Thu, Sep 4, 2008 at 2:42 PM, slamp slamp <slackamp(at)gmail(dot)com> wrote:
>> ok i managed to get this to work. however i still get the "Repository
>> pgdg82 is listed more than once in the configuration", this is
>> probably a rhel yum bug.
>
> Sure you don't have it again in an included yum .conf file? That's
> happened to me before.
>

im pretty sure, i even uninstalled the repo rpm and added it manually
to yum.conf and it gave the same message. centos does not seem to have
this issue.


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: slamp slamp <slackamp(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: rpm install not recognized by yum.
Date: 2008-09-06 19:28:23
Message-ID: 1220729303.15417.3.camel@laptop.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi,

On Wed, 2008-09-03 at 11:24 -0400, slamp slamp wrote:

> how come? also when i performed yum clean all i get
> the message "Repository pgdg82 is listed more than once in the
> configuration". although i only see one declaration of pgdg82, the
> other is pgdg82-source. Anyone have this issue?

Please check /etc/yum.conf file.

We have 8.2 + RHEL 5 on many servers, and we don't have this issue.
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org