Description of problem: kernel-devel package is treated as installonly kernel-smp-devel is updated They should be treated the same way.. which way they are both treated is a matter of opinionated opinion. I've brought this up in fedora-packaging list as per seth's request.. but the discussion sort of died without a clear consensous. I'm filing this to make sure the issue isn't forgotten. Version-Release number of selected component (if applicable): yum-2.3.2-1
Would a generic Provides: kernel-devel in kernel-devel-smp help? Seems like the low-hanging way to fix this.
fixed in yum upstream i just added kernel-smp-devel to the installonly list in the default config.
*** Bug 156741 has been marked as a duplicate of this bug. ***
But adding these to the yum config is going to be ugly and really shouldn't be needed anyway. If we do it in yum, then we need to also add -xen0-devel and -xenU-devel and then when we collapse the xen packages, -xen-devel. It seems far simpler to do the following in the kernel spec file Index: kernel-2.6.spec =================================================================== RCS file: /cvs/dist/devel/kernel/kernel-2.6.spec,v retrieving revision 1.1291 diff -u -u -r1.1291 kernel-2.6.spec --- kernel-2.6.spec 10 May 2005 01:14:09 -0000 1.1291 +++ kernel-2.6.spec 10 May 2005 12:31:57 -0000 @@ -428,6 +428,7 @@ Group: System Environment/Kernel Provides: kernel-smp-devel-%{_target_cpu} = %{rpmversion}-%{release} Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}smp +Provides: kernel-devel = %{rpmversion}-%{release}smp AutoReqProv: no Prereq: /usr/sbin/hardlink, /usr/bin/find @@ -468,6 +469,7 @@ AutoReqProv: no Provides: kernel-xen0-devel-%{_target_cpu} = %{rpmversion}-%{release} Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}xen0 +Provides: kernel-devel = %{rpmversion}-%{release}xen0 Prereq: /usr/sbin/hardlink, /usr/bin/find %description xen0-devel @@ -502,6 +504,7 @@ AutoReqProv: no Provides: kernel-xenU-devel-%{_target_cpu} = %{rpmversion}-%{release} Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}xenU +Provides: kernel-devel = %{rpmversion}-%{release}xenU Prereq: /usr/sbin/hardlink, /usr/bin/find %description xenU-devel Dave/Seth -- if this seems sane to you, let me know and I can commit it.
Changed the kernel spec and reverted the yum change. This'll fix the kernel-xen[0U]-devel too :-)
*** Bug 157730 has been marked as a duplicate of this bug. ***
Uhm.... I'm still seeing kernels-smp-devel being updated by yum in rawhide even as of today. kernel-smp-devel 1341 updated 1340 and so on back in time since this bug was put in the modified state. As far as I can tell nothing has changed. Did you accidently revert the wrong yum change in comment #5? -jef
*** Bug 158627 has been marked as a duplicate of this bug. ***
I see what's going on here... looking at doing a generic fix for it in yum
yum wasn't matching provides against installonlypkgs -- fixed for yum-2.3.2-5 (and in upstream cvs)
kernel-smp-devel installs instead of updates for me, for awhile now. Closing the bug as fixed.