Smart stopped working

Axel Thimm Axel.Thimm at ATrpms.net
Sat Jul 15 02:55:48 PDT 2006


On Sat, Jul 15, 2006 at 09:18:09AM +0200, J.L. Blom wrote:
> Hi,
> I had smart installed and thanks to the help of Axel got it working
> beautifully for one day. However, suddenly - it's possible after a
> restart I don't remember anymore - when I start it I get an error
> message and smart kills itself. The error message is:
> -----------------------------------------------------------
> 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 364, in run
> 
>   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/metadata.py",
> line 98, in getLoadSteps
>     return os.path.getsize(self._filename)/BYTESPERPKG
> 
>   File "/usr/lib64/python2.4/posixpath.py", line 139, in getsize
>     return os.stat(filename).st_size
> 
> OSError: [Errno 2] No such file or directory:
> '/var/lib/smart/channels/ivazquez%%
> http:__fedora.ivazquez.net_yum_5_x86_64_RPMS.ivazquez_repodata_primary.xml'
> ---------------------------------------------------------------------------------
> Regarding the last line /var/lib/smart/channels/ivazquez.channel
> contains:
> ------------------------------
> [ivazquez]
> name=Fedora Core 5 - x86_64 - ivazquez
> baseurl=http://fedora.ivazquez.net/yum/5/x86_64/RPMS.ivazquez
> type=rpm-md
> -----------------------------
> Looking correct. Can anybody (Alex?) tell me how to correct this?

Not sure how you giot into that state, but nuking /var/lib/smart/* may
get you going again. If it gets into the same state nuke it again and
comment the ivazquez repo.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20060715/09e029c2/attachment-0003.pgp>


More information about the Smart mailing list