smart fails when founds a symlink that ponts to nothing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Imported: http://
Reason: Smart should handle broken symlinks in a local repository (as well as remote repositories). Alternatively it should report 'file not found' for both scenarios
further details: https:/
msg1077 (view) Author: mmodem Date: 2007-01-23.22:50:23
I my local rpm-dir repository i have some symlinks, but lately one of those
symlinks wasnt pointin anymore to a package since i erase it, so when running
smart and when loading cache it outputs this error and then freezes:
Traceback (most recent call last):
File "/usr/lib64/
line 180, in callback
exec code in globals
File "<callback>", line 1, in ?
File "/usr/lib64/
line 709, in editChannels
self.
File "/usr/lib64/
line 417, in rebuildCache
self.
File "/usr/lib64/
reloadChannels
self.
File "/usr/lib64/
202, in load
for h, offset in self.getHeaders
File "/usr/lib64/
630, in getHeaders
file = open(filepath)
IOError: [Errno 2] Arquivo ou diretório não
encontrado: '/mnt/ext3/