Re: yum-kernel-module-1.0.4-1 errors

Tim Lauridsen <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
jonathan pickard wrote:
> hi
> i am having a few errors with yum at the moment, i am using yum-3.1.6-1
> and yum-kernel-module-1.0.4-1 on FC6:
>
> [root@kyle ~]# yum -d 2 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'
>
>
>
>   
if you are using yum-3.1.x, you have to use yum-utils-1.1.x.

Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.