[ATrpms-devel] yum kmdl plugin

Tako Schotanus quintesse at palacio-cristal.com
Sat Jul 29 17:33:13 CEST 2006


With all the talk about this yum-plugin I was wondering Axel: is yum 
again a viable and trustworthy option for keeping your system up-to-date?

I'm asking because for a long time you seemed to consider it one of the 
worst. So how does it compare nowadays to apt and smart?

Cheers,
 -Tako


Axel Thimm 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,
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel




More information about the atrpms-devel mailing list