[suggest] broken dependencies for some perl modules on RHEL4

Peter J. Holzer hjp+rpmforge at wsr.ac.at
Mon Jun 7 18:25:21 CEST 2010


On 2010-06-07 11:51:16 +0200, Christoph Maser wrote:
> Am Montag, den 07.06.2010, 09:56 +0200 schrieb Peter J. Holzer:
> > Several perl modules have broken dependencies on rhel4.
> > 
> > For example:
> > 
> > perl-DBD-Pg-2.17.1-1.el4.rf              requires perl >= 5.006001 
> > perl-Module-Build-0.3603-1.el4.rf        requires perl >= 5.006001 
> > perl-Regexp-Common-2010010201-1.el4.rf   requires perl >= 5.00473 
> > 
> > However, RHEL4 uses a different numbering scheme:
> > 
> > rpm -q --provides perl
> > ...
> > perl = 4:5.8.8-2.el4s1
> > 
> 
> Actually it seems you are wrong
> 
> 
> yum provides "perl >= 5.006001" gives me this:

I use up2date, not yum. Can yum access the Redhat repository on RHEL 4?
I never checked, but that might be a good opportunity to switch from
up2date to yum on the older redhat boxes.


> perl.x86_64                              3:5.8.5-49.el4

I have perl = 4:5.8.8-2.el4s1 (from the rhel-x86_64-as-4-webapp-1-beta
channel), but that's an even higher version number, so if 3:5.8.5 is
good enough, 4:5.8.8 should work, too.

> Matched from:
> perl >= 5.006001

No epoch, so a package with epoch 3 or even 4 should be larger in any
case[1]. Indeed, if I download the package and install it with "rpm -U" it
works fine.

Looks like up2date ignores the epoch when comparing version numbers,
which is definitely a bug (although I doubt that Redhat will fix it,
since they switched to yum with RHEL 5).

        hp

[1] Which makes the dependency a bit useless.

-- 
   _  | Peter J. Holzer    | Auf jedem Computer sollte der Satz Ludwigs II
|_|_) | Sysadmin WSR       | eingeprägt stehen: "Ein ewig Rätsel will ich
| |   | hjp at wsr.ac.at      | bleiben, mir und andern."
__/   | http://www.hjp.at/ |    -- Wolfram Heinrich in desd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.repoforge.org/pipermail/users/attachments/20100607/48f56466/attachment.sig>


More information about the users mailing list