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

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


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

Even if i try to update the channel (media) from wich previously removed the 
package, i continue getting errors:

]# smart update mde_local
Carregando o cache...
Traceback (most recent call last):#####################################  ( 
99%)
  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/interface.py", line 53, in 
run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib64/python2.4/site-packages/smart/commands/update.py", line 77, 
in main
    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] No such file or 
directory: '/mnt/ext3/linux/mandriva/2007/x86_64/updates/lib64koffice2-progs-1.5.91-3.2mdv2007.0.x86_64.rpm'


At this point i dont see a way to run smart without having to remove the 
config file wich is said, since i have many channels configured.
This is truly annoying...

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



More information about the Smart mailing list