[Bug 243832] perl & mod_perl-devel : buggy dependency ?

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 12 13:22:53 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: perl & mod_perl-devel : buggy dependency ?


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243832


paul at city-fan.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|perl                        |mod_perl




------- Additional Comments From paul at city-fan.org  2007-06-12 09:22 EST -------
(In reply to comment #2)
> Cannot reproduce here with FC7 (x86_64ú:
> 
> [matej at hubmaier ~]$ rpm -qa mod_per\*
> [matej at hubmaier ~]$ rpm -q perl
> perl-5.8.8-18.fc7
> [matej at hubmaier ~]$ 
> 
> and 
> 
> [matej at hubmaier ~]$ sudo yum deplist perl |grep -C 3 mod_perl
>   dependency: perl(warnings)
>    provider: perl.i386 4:5.8.8-18.fc7
>    provider: perl.x86_64 4:5.8.8-18.fc7
>    provider: mod_perl-devel.x86_64 2.0.3-7
>    provider: mod_perl-devel.i386 2.0.3-7
>   dependency: perl(Pod::Usage)
>    provider: perl.i386 4:5.8.8-18.fc7
>    provider: perl.x86_64 4:5.8.8-18.fc7
> --
>   dependency: perl(warnings)
>    provider: perl.i386 4:5.8.8-18.fc7
>    provider: perl.x86_64 4:5.8.8-18.fc7
>    provider: mod_perl-devel.x86_64 2.0.3-7
>    provider: mod_perl-devel.i386 2.0.3-7
>   dependency: perl(Pod::Usage)
>    provider: perl.i386 4:5.8.8-18.fc7
>    provider: perl.x86_64 4:5.8.8-18.fc7
> [matej at hubmaier ~]$ 
> 
> which means IMHO that this dependency will be preferably satisfied by perl
> package itself.

In theory that is correct, and traditional yum behaviour has always been to
choose the package with the shortest name in the event of multiple packages
providing a dependency, hence perl would be preferred to mod_perl-devel.

However, there have been many reports of packages with longer names being
selected in F7, and this would appear to be an instance of this.

It could probably be worked around by doing:
# yum --exclude=mod_perl-devel install perl

but surely nobody would deny that having mod_perl-devel provide perl(warnings)
is a bug?

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list