On Nov 14, 2007 12:50 PM, yapple <no-reply-gw@xxxxxxxxxxxxxxxx> wrote: > I installed F8 x86_64 yesterday, today I try to run Software Updater,it fails: > > Component: pirut > Summary: TB29ec97ad ini.py:563:readfp:UnboundLocalError: local variable 'line' referenced before assignment > > Traceback (most recent call last): > File "/usr/sbin/pup", line 614, in > main() > File "/usr/sbin/pup", line 606, in main > pup = PackageUpdater(not options.autoapply, options.config) > File "/usr/sbin/pup", line 85, in __init__ > GraphicalYumBase.__init__(self, False, config) > File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__ > plugin_types=(yum.plugins.TYPE_CORE,)) > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in doConfigSetup > errorlevel=errorlevel) > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 164, in _getConfig > self.getReposFromConfig() > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 229, in getReposFromConfig > parser.readfp(confpp_obj) > File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 106, in readfp > self.data.readfp(fp) > File "/usr/lib/python2.5/site-packages/iniparse/ini.py", line 563, in readfp > if line and line[-1]=='n': > UnboundLocalError: local variable 'line' referenced before assignment > > Local variables in innermost frame: > pending_lines: [] > fp: > exc: None > self: > cur_section_name: None > linecount: 0 > cur_option_name: None > fname: file://///etc/yum.repos.d/flash.repo [1] > cur_option: None > cur_section: None > > > Links: > ------ > [1] file://///etc/yum.repos.d/flash.repo > > Your problem may be linked to your python problem. Yum and it's associated applications such as pirut require python. You should read the release notes to see if you have all of the python components installed. You might check to see if you also to have the x86 (32-bit) packages installed. (I cannot tell you if this is the case since I have not yet installed the x86_64 version of F8,)