smart crash

Kostas Georgokitsos kgeorgokitsos at nomioan.gr
Thu Sep 21 22:45:23 PDT 2006


Hiall,

We had a short blackout yesterday, and now my smart crashes, it seems to do 
this when 1. reading the cache at the beginning 2. trying to update.

below is a traceback from an update attempt:

# smart update
Change in field 'Disabled' of channel 'Latest wine packages (suse-wine)' 
detected.
Old value: None
New value: Yes
Replace current value? (Y/n): Y

Loading cache...
Traceback (most recent call last):                            
##################################################################################    
( 97%)
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 77, 
in main
    ctrl.reloadChannels()
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in 
reloadChannels
    self._cache.load()
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/metadata.py", line 
321, in loadFileProvides
    self.parseFilesList(fndict)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/metadata.py", line 
346, in parseFilesList
    for event, elem in cElementTree.iterparse(file, ("start", "end")):
  File "<string>", line 64, in __iter__
SyntaxError: not well-formed (invalid token): line 479344, column 58


I assume that a file of smart got nuked during the blackout. Any idea how to 
recover? 
I am using guru's rpms for opensuse 10.1 in version smart-0.42-12.

Kostas



More information about the Smart mailing list