[Yum] yum chooses 'older' provides
seth vidal
skvidal at linux.duke.edu
Thu Dec 7 16:16:42 UTC 2006
On Tue, 2006-12-05 at 23:07 +0100, Patrice Dumas wrote:
> Hello,
>
> My system is a fedora devel, but I also tested on fc5 and fc6.
>
> I have 2 packages, libnet and libnet10 (both in fedora extras), for
> libnet10, I have:
>
> Name: libnet10
> Version: 1.0.2a
> Release: 11%{?dist}
> Obsoletes: libnet < 1.1.0
> Obsoletes: libnet-devel < 1.1.0
> Provides: libnet = %{version}-%{release}
> Provides: libnet-devel = %{version}-%{release}
>
>
> For libnet I have an empty libnet package, and everything is in
> libnet-devel (which provides libnet):
>
> Name: libnet
> Version: 1.1.2.1
> Release: 9%{?dist}
>
> %package devel
> Provides: %{name} = %{version}-%{release}
>
>
> Now if I do a
> yum install libnet
> libnet10 is chosen, while chosing libnet-devel would have seemed more
> appropriate to me, since libnet10 provides 1.0.2a-11 while libnet-devel
> provides libnet 1.1.2.1-9. Is it a feature or a bug? In case it is not a bug
> what is the correct way to handle my case?
>
Can you list the packages out using:
yum list libnet\*
and send that output here.
Thanks,
-sv
More information about the Yum
mailing list