[Fedora-packaging] kernel-module-proposal 2 and yum: some tests
Thorsten Leemhuis
fedora at leemhuis.info
Thu Sep 29 15:53:22 UTC 2005
Am Donnerstag, den 29.09.2005, 11:36 -0400 schrieb Ignacio
Vazquez-Abrams:
> On Thu, 2005-09-29 at 16:58 +0200, Thorsten Leemhuis wrote:
> > > [...]
> > > Dependencies Resolved
> > >
> > > =============================================================================
> > > Package Arch Version Repository
> > > Size
> > > =============================================================================
> > > Installing:
> > > kernel-module-ndiswrapper i686 1.1-1.2.6.11_1.1369_FC4smp
> > > step_1 3.3 k
> > > Installing for dependencies:
> > > kernel-smp i686 2.6.11-1.1369_FC4 base
> > > 13 M
> > > ndiswrapper i386 1.1-1 step_1
> > > 22 k
> > >
> > > Transaction Summary
> > > =============================================================================
> > > Install 3 Package(s)his
> > > [...]
> >
> > Seems yum prefers to install the kernel-module for the smp kernel and
> > therefor also installs that kernel even when a UP-Kernel is installed
> > already. Not very nice :-(
>
> But not surprising. The SMP module has a higher version and so yum will
> prefer it over the "older" one. This is one of the reasons for putting
> the kernel version in %name instead.
No, it is not. If the kernel-version is in %name you probably have
Requires: kernel-module-ndiswrapper = 1.1-1
in your ndiswrapper-package and
Provides: kernel-module-ndiswrapper = 1.1-1
in the module package. This is needed to get the kernel-module when you
type
yum install ndiswrapper
Then the same thing can happen. See for example:
http://bugzilla.livna.org/show_bug.cgi?id=392#c9
Here yum installed the UP-kernel and the UP-kernel-module on a machine
that only had a SMP-Kernel before.
--
Thorsten Leemhuis <fedora at leemhuis.info>
More information about the Fedora-packaging
mailing list