Thread: rpm failure

rpm failure

From
David Bear
Date:
While running a yum update on a system, the update fails with the message:

Transaction Check Error:
  package postgresql-libs-8.3.11-1PGDG.el5.x86_64 (which is newer than postgresql-libs-8.1.22-1.el5_5.1.i386) is already installed


I've checked, and I don't have  postgresql-libs-8.1.22-1.el5_5.1.i386 installed. I've installed postgresql from the pgdg rpm. 

I've modified all the /etc/yum.repos.d/ files to exclude=postgresql*

I have /etc/yum.repos.d/pgdg-83.repo that gets v8.3 . 

I don't know why rpm thinks I have something else installed. I just need to know how to clear the error. 

Anyone have any pointers?

--
David Bear
College of Public Programs at ASU
602-494-0424

Re: rpm failure

From
Devrim GÜNDÜZ
Date:
On Thu, 2011-01-13 at 14:57 -0700, David Bear wrote:
>
> I've modified all the /etc/yum.repos.d/ files to exclude=postgresql*

This is wrong, if you include pgdg repo in the word "all" above.

What did you exclude exactly?

> I've checked, and I don't have  postgresql-libs-8.1.22-1.el5_5.1.i386
> installed. I've installed postgresql from the pgdg rpm.

The message says "You have 8.3, which is newer than 8.1". It does not
say that you have 8.1.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

Re: rpm failure

From
Tom Lane
Date:
David Bear <David.Bear@asu.edu> writes:
> While running a yum update on a system, the update fails with the message:
> Transaction Check Error:
>   package postgresql-libs-8.3.11-1PGDG.el5.x86_64 (which is newer than
> postgresql-libs-8.1.22-1.el5_5.1.i386) is already installed

It looks to me like yum would like to install the current Red Hat
version of postgresql-libs, most likely because you have or need to
install some other Red Hat package that requires it.

            regards, tom lane

Re: rpm failure

From
Vladimir Rusinov
Date:


On Fri, Jan 14, 2011 at 12:57 AM, David Bear <David.Bear@asu.edu> wrote:
While running a yum update on a system, the update fails with the message:

Transaction Check Error:
  package postgresql-libs-8.3.11-1PGDG.el5.x86_64 (which is newer than postgresql-libs-8.1.22-1.el5_5.1.i386) is already installed


I've checked, and I don't have  postgresql-libs-8.1.22-1.el5_5.1.i386 installed. I've installed postgresql from the pgdg rpm. 

I've modified all the /etc/yum.repos.d/ files to exclude=postgresql*

I have /etc/yum.repos.d/pgdg-83.repo that gets v8.3 . 

I don't know why rpm thinks I have something else installed. I just need to know how to clear the error. 

Anyone have any pointers?

run rpm -qa | grep postgres - you'll see which postgresql packages are installed. If you'll find there any 8.1 packages, remove them and install compat-postgresql-libs from the pgdg repo instead.

--
Vladimir Rusinov
http://greenmice.info/