On Mon, 2002-03-04 at 09:01, Buchan Milne wrote: > > The point being that if it provides the kernel, and someone does rpm > -Uvh, it will be a disaster for the newbie. Since it doesn't provide > "kernel", newbie double-clicks on the rpm, or runs rpm -Uvh kernel*.rpm > (thereby qualifying for the expert list ;-)) or uses MandrakeUpdate, and > it now does not upgrade the kernel, since there is no kernel package. > So now both kernels are installed.
This has nothing to do with packages provides. This is simply a string match for any installed package with the name format kernel-x.x.x. I can rpm -q anypackageonmysystem and it will work for that package, except packages named kernel-x.x.x. It seems our fancy tools have outgrown the simple origin of rpm. -- Steve Fox http://k-lug.org
