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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx changed:

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




------- Additional Comments From paul@xxxxxxxxxxxx  2007-06-12 09:22 EST -------
(In reply to comment #2)
> Cannot reproduce here with FC7 (x86_64ú:
> 
> [matej@hubmaier ~]$ rpm -qa mod_per\*
> [matej@hubmaier ~]$ rpm -q perl
> perl-5.8.8-18.fc7
> [matej@hubmaier ~]$ 
> 
> and 
> 
> [matej@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@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.


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux