smart IndexError

Claude Jones cjoneslists at tehogeeservices.com
Thu Dec 11 11:22:59 PST 2008


I was using smart to run an uprade from F9 to F10 when it started 
producing the following error message:
******************************************************************************
# smart update
Loading cache...
Traceback (most recent call last):                
###########################                                         
( 41%)
  File "/usr/bin/smart", line 195, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 168, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.5/site-packages/smart/interface.py", 
line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.5/site-
packages/smart/commands/update.py", line 77, in main
    ctrl.reloadChannels()
  File "/usr/lib/python2.5/site-packages/smart/control.py", line 
378, in reloadChannels
    self._cache.load()
  File "/usr/lib/python2.5/site-
packages/smart/backends/rpm/metadata.py", line 293, in load
    prvargs, reqargs, upgargs, cnfargs)
  File "/usr/lib/python2.5/site-
packages/smart/backends/rpm/base.py", line 106, in equals
    fk([x for x in other.provides if x.name[0] != "/"])):
IndexError: string index out of range
********************************************************************************
I've tried removing and reinstalling Smart; running Smart fix; 
smart channel --remove-all --- this one clears up the problem, 
but as soon as I start adding channels back in, the error 
reappears - I just tried only adding the regular Fedora channel 
for example, and I immediately got the error - this error appears 
when it's updating the cache...
-- 
Claude Jones
Brunswick, MD, USA



More information about the Smart mailing list