[Yum-devel] yum 3.1.6 and yum-metadata-parser 1.0.4
Tim Lauridsen
tla at rasmil.dk
Sat Apr 7 05:33:52 UTC 2007
jonathan pickard wrote:
> jonathan pickard wrote:
>
>> seth vidal wrote:
>>
>>
>>> Hi all,
>>> Yum 3.1.6 and yum-metadata-parser 1.0.4 are released.
>>>
>>> [snip]
>>>
>>>
>> Hi
>> I have upgraded to yum 3.1.6 and upgraded the metadata-parser to 1.0.4,
>> I also have the following plugins installed:
>> "kernel-module" plugin
>> "fedorakmod" plugin
>> "skip-broken" plugin
>>
>> # yum list yum*
>> Excluding Packages in global exclude list
>> Finished
>> Installed Packages
>> yum.noarch
>> 3.1.6-1 installed
>> yum-fedorakmod.noarch 1.1.1-1
>> installed
>> yum-kernel-module.noarch 1.1.1-1
>> installed
>> yum-metadata-parser.i386 1.0.4-1
>> installed
>> yum-skip-broken.noarch 1.1.1-1
>> installed
>> yum-utils.noarch 1.1.1-1
>> installed
>>
>> When i run yum update with plugins=1 set in my yum.conf file i get:
>> # yum update
>> Loading "kernel-module" plugin
>> Loading "fedorakmod" plugin
>> Loading "skip-broken" plugin
>> Setting up Update Process
>> Excluding Packages in global exclude list
>> Finished
>> Resolving Dependencies
>> Traceback (most recent call last):
>> File "/usr/bin/yum", line 29, in ?
>> yummain.main(sys.argv[1:])
>> File "/usr/share/yum-cli/yummain.py", line 135, in main
>> (result, resultmsgs) = base.buildTransaction()
>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 543, in
>> buildTransaction
>> self.plugins.run('preresolve')
>> File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 162, in run
>> func(conduitcls(self, self.base, conf, **kwargs))
>> File "/usr/lib/yum-plugins/kernel-module.py", line 60, in preresolve_hook
>> instpkgs = conduit.getRpmDB().getPackages()
>> AttributeError: 'RPMDBPackageSack' object has no attribute 'getPackages'
>>
>> When i run yum update with plugins=0 set in my yum.conf file i get:
>> # yum update
>> Setting up Update Process
>> Excluding Packages in global exclude list
>> Finished
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package ImageMagick.i386 0:6.2.8.0-4.fc6 set to be updated
>> Checking deps for ImageMagick.i386 0-6.2.8.0-4.fc6 - u
>> Checking deps for ImageMagick.i386 0-6.2.8.0-3.fc6.1 - None
>> [snip]
>> ---> Package redhat-rpm-config.noarch 0:8.0.45-9.fc6 set to be updated
>> Checking deps for redhat-rpm-config.noarch 0-8.0.45-9.fc6 - u
>> Checking deps for evolution-data-server.i386 0-1.8.3-2.fc6 - None
>>
>> Dependencies Resolved
>>
>> =============================================================================
>> Package Arch Version Repository Size
>> =============================================================================
>> Installing:
>> kernel-devel i686 2.6.20-1.2933.fc6 updates
>> 4.8 M
>> Updating:
>> [snip]
>> Transaction Summary
>> =============================================================================
>> Install 1 Package(s)
>> Update 28 Package(s)
>> Remove 0 Package(s)
>>
>> Total download size: 72 M
>> Is this ok [y/N]:
>>
>>
>>
>>
> Apologies for replying to my own post - but if i disable to
> kernel-module plugin then the update works.
> and...... on my FC6 machine yum is significantly quicker than the .5
> and .4 versions
>
> Thanks
>
>
There is a problem with the kernel-module plugin in yum-utils-1.1.1, it
is fix in CVS and will be fixed in yum-utils-1.1.2.
You can grab a fixed kernel-module.py here:
http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-utils/plugins/kernel-module/kernel-module.py?view=co
and place it in /usr/lib/yum-plugins.
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20070407/8a08ca45/attachment.htm
More information about the Yum-devel
mailing list