LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   software manager crash bug (http://www.linuxquestions.org/questions/fedora-35/software-manager-crash-bug-508955/)

joecool169 12-09-2006 08:08 PM

software manager crash bug
 
Hey what's up

I'm a brand new linux user running FC5 small problem i'm having with the pirut software manager on gnome. Everything was running fine until i discovered the update manager when i ws trying to install a driver...so i updated yum, there were about bunch avalible and figured i should be ok to update it and proceeded. After updating when i accessed the add/remove software it gave me the following bug report

Quote:

Component: Software Manager
Summary: TB9275b279 downloadonly.py:26:config_hook:AttributeError: 'NoneType' object has no attribute 'add_option'

Traceback (most recent call last):
File "/usr/sbin/pirut", line 363, in ?
main()
File "/usr/sbin/pirut", line 358, in main
pm = PackageManager()
File "/usr/sbin/pirut", line 56, in __init__
GraphicalYumBase.__init__(self, False)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 123, in __init__
self.doPluginSetup(types=(yum.plugins.TYPE_CORE))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 173, in doPluginSetup
optparser, types)
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 148, in __init__
self.run('config')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 164, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/downloadonly.py", line 26, in config_hook
parser.add_option('', '--downloadonly', dest='dlonly', action='store_true',
AttributeError: 'NoneType' object has no attribute 'add_option'

Local variables in innermost frame:
conduit: <yum.plugins.ConfigPluginConduit instance at 0xb7a0148c>
parser: None
Does anyone know of a way to rollback the yum updates or purge the yum files?

unSpawn 12-18-2006 11:19 AM

Download the latest Yum RPM from your distro's repo and use rpm to try and upgrade it.

joecool169 12-19-2006 11:29 AM

i figured out what happened. i had manually updated yum with all updates avalible, since most of them were for fc6 it wouldn't work properly. this really didn't resolve anyhing but i reformatted my os. thanks for your help anyway

unSpawn 12-19-2006 12:53 PM

Aww. OK. Please remember for next time reinstalling the OS should not be necessary unless you really and deliberately fscked up.


All times are GMT -5. The time now is 07:40 AM.