yum chooses 'older' provides

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

 



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?

--
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