Re: yum chooses 'older' provides

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

 



On Thu, Dec 07, 2006 at 11:16:42AM -0500, seth vidal wrote:
> 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\*

libnet-debuginfo.i386                    1.1.2.1-9.fc6          extras-developme
libnet-devel.i386                        1.1.2.1-9.fc6          extras-developme
libnet10.i386                            1.0.2a-11.fc6          extras-developme
libnet10-debuginfo.i386                  1.0.2a-11.fc6          extras-developme

I didn't post unrelated packages (libnetfilter_conntrack).

--
Pat
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux