PackageKit error File \”/usr/share/PackageKit/helpers/yum/yumBackend.py\”, line 1215, in _get_depends_not_installed – Resolved

2010-02-04 99 words 1 min read

In packagekit, if you getting the error below:

Traceback (most recent call last):
File ”/usr/share/PackageKit/helpers/yum/yumBackend.py”, line 1215, in _get_depends_not_installed
rc, msgs =  self.yumbase.buildTransaction()
File ”/usr/lib/python2.6/site-packages/yum/__init__.py”, line 719, in buildTransaction
self.plugins.run(’postresolve’, rescode=rescode, restring=restring)
File ”/usr/lib/python2.6/site-packages/yum/plugins.py”, line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File ”/usr/lib/yum-plugins/remove-with-leaves.py”, line 71, in postresolve_hook
if opts.remove_leaves or remove_always:
AttributeError: ’NoneType’ object has no attribute ’remove_leaves’

then you can resolve it. The solution to the problem is there in the traceback, luckily this time.

So, the problem is with the remove_leaves plugin. Simply remove the plugin and see packagekit working again.

sudo yum remove yum-plugin-remove-with-leaves

🙂


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it