[ATrpms-devel] yum kmdl plugin (was: atrpms kernel modules)
Paulo Cavalcanti
promac at gmail.com
Sat Jul 29 16:10:33 CEST 2006
Seems to be fine now.
However, the step "Running transaction check"
is substantially slower, because of the rpm database check.
The test could be done only if there is a new kernel available.
But this will preclude a delayed kmdl module installation, maybe available
several days ahead of the kernel upgrade.
I do not know. I think it is fine the way it is.
I will use it, anyway.
By the way, the new version of mldonkey fixed the mlgui problem.
An uncorrelated question. Since I upgraded to FC5 I noticed that controlling
tv-time via lirc is not good. I can not change channels smoothly.
Another thing is that when I press the power button of my remote control in
gnome it tries to close my session (and I have to press the cancel button on
the window). This is very irritating and I have nothing in the configuration
file that would justify this odd behaviour. In FC4 lirc works very well,
though.
Thanks,
/Paulo Roma.
On 7/29/06, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
>
> On Sat, Jul 29, 2006 at 11:10:25AM +0200, Axel Thimm wrote:
> > On Sat, Jul 29, 2006 at 12:21:22AM -0300, Paulo Cavalcanti wrote:
> > > Hi, Axel
> > >
> > > I used the first "update" with yum today
> > > and your plugin tried to install the modules
> > >
> > > nvidia, lirc, and sk98lin.
> > >
> > > But they are already installed, as you can see below.
> >
> > OK, I'll look into it, thanks!
>
> Can you test the following patch?
>
> --- /usr/lib/yum-plugins/kmdl.py~ 2006-07-27 00:44:49.000000000+0200
> +++ /usr/lib/yum-plugins/kmdl.py 2006-07-29 15:01:21.000000000+0200
> @@ -79,7 +79,7 @@
> if pkg.name == pkgname and pkg.arch == kernel[1]:
> if not pkgfound or compareEVR(pkg.returnEVR(),
> pkgfound.returnEVR()) == 1:
> pkgfound=pkg
> - if pkgfound:
> + if pkgfound and not conduit.getRpmDB().installed(
> pkgfound.name, pkgfound.arch, pkgfound.epoch, pkgfound.version,
> pkgfound.release):
> print "Installing " + pkgfound.name
> (n, a, e, v, r) = pkgfound.pkgtup
> conduit.info(2, '---> Package %s.%s %s:%s-%s set to be
> %s' % (n, a, e, v, r,
>
> --
> Axel.Thimm at ATrpms.net
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20060729/cadd67bf/attachment.html
More information about the atrpms-devel
mailing list