Thread: 7.3.3 upgrade with RPMs on RH 8.0
i'm trying to figure out an error message i enoountered while upgrading a RH8.0 system from 7.3.2 to 7.3.3 using RPMs. i was about to post asking why the upgrade is failing, but researching the problem leads me to ask a different question. when i initially went to install postgresql-pl-7.3.3-1PGDG.i386.rpm it gave me the following message error: Failed dependencies: perl(Pg) is needed by postgresql-pl-7.3.3-1PGDG this confused me, because i thought the perl stuff was installed: rpm -qa | grep perl ... perl-5.8.0-55 ... perl-DBI-1.30-1 perl-DBD-Pg-1.13-5 ... when going back to fact check, i was suprised to see that despite the message, rpm -qa on the system in question now shows the rpm as installed: [root@localhost 7.3.3]# rpm -qa | grep postg postgresql-7.3.3-1PGDG postgresql-pl-7.3.3-1PGDG ... so for the moment, i'm going to presume from the output of rpm -aq that it is installed, despite the error message. am i wrong about this, or is a bogus error message being emitted for some obscure reason? richard -- Richard Welty rwelty@averillpark.net Averill Park Networking 518-573-7592 Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security
On Fri, 25 Jul 2003 12:12:48 -0400 (EDT) Richard Welty <rwelty@averillpark.net> wrote: > i'm trying to figure out an error message i enoountered while upgrading > a RH8.0 system from 7.3.2 to 7.3.3 using RPMs. ok, i discovered a mistake in my original report. i wasn't trying to install > postgresql-pl-7.3.3-1PGDG.i386.rpm i was trying to install postgresql-contrib-7.3.3 when i got > error: Failed dependencies: > perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG and the following is still correct: > this confused me, because i thought the perl stuff was installed: > rpm -qa | grep perl > .. > perl-5.8.0-55 > .. > perl-DBI-1.30-1 > perl-DBD-Pg-1.13-5 > .. so who supplies perl(Pg) for postgresql-contrib if it doesn't come from postgresql-pl or from perl-DBD-Pg-1.13-5? should i just rpm -ivh --nodepends and hope? right now my development system is broken because i need pgcrypto and it's part of contrib... richard -- Richard Welty rwelty@averillpark.net Averill Park Networking 518-573-7592 Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security
On Friday 25 July 2003 19:48, Richard Welty wrote: > On Fri, 25 Jul 2003 12:12:48 -0400 (EDT) Richard Welty <rwelty@averillpark.net> wrote: > > i'm trying to figure out an error message i enoountered while upgrading > > a RH8.0 system from 7.3.2 to 7.3.3 using RPMs. > > ok, i discovered a mistake in my original report. i wasn't trying to > install > > > postgresql-pl-7.3.3-1PGDG.i386.rpm > > i was trying to install > > postgresql-contrib-7.3.3 > > when i got > > > error: Failed dependencies: > > perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG > > and the following is still correct: > > this confused me, because i thought the perl stuff was installed: > > > > rpm -qa | grep perl > > .. > > perl-5.8.0-55 > > .. > > perl-DBI-1.30-1 > > perl-DBD-Pg-1.13-5 > > .. > > so who supplies perl(Pg) for postgresql-contrib if it doesn't come from > postgresql-pl or from perl-DBD-Pg-1.13-5? > > should i just rpm -ivh --nodepends and hope? right now my development > system is broken because i need pgcrypto and it's part of contrib... Should be safe to nodeps it. There is (was?) a "Pg" module for perl separate from the DBD-Pg but it shouldn't interfere with the crypto stuff (it's in C iirc). You're not the only one to get bitten by this - see archives for details. -- Richard Huxton Archonet Ltd