[issue265] smart crashes if a package is removed from a media

Zé at Labix Tracker tracker at labix.org
Wed Jan 24 11:11:12 PST 2007


Zé <mmodem00 at gmail.com> added the comment:

Well i have removed some packages fro my local rpm media and when i runned 
smart it outputed again a error about a missing rpm and then crashes, here is 
the error:

Traceback (most recent call last):

  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/lib64/python2.4/site-packages/smart/interfaces/gtk/interactive.py", 
line 373, in run
    self._ctrl.reloadChannels()

  File "/usr/lib64/python2.4/site-packages/smart/control.py", line 375, in 
reloadChannels
    self._cache.load()

  File "/usr/lib64/python2.4/site-packages/smart/backends/rpm/header.py", line 
681, in loadFileProvides
    file = open(filepath)

IOError: [Errno 2] Arquivo ou diretório não 
encontrado: '/mnt/ext3/linux/mandriva/2007/x86_64/updates/lib64koffice2-progs-1.5.91-3.2mdv2007.0.x86_64.rpm'


So appears that this patch isnt really working.

----------
status: resolved -> in-progress

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue265>
_______________________________________



More information about the Smart mailing list