Still unable to use Smart with Mandriva

Steve Morris samorris at netspace.net.au
Fri Aug 5 03:55:50 PDT 2011


On 05/08/11 17:18, Anders F Björklund wrote:
> Steve Morris wrote:
>
>> Hi,
>>     I have just upgraded my Mandriva System to 2011.0 and synced smart to those urpmi repositories but I am still unable to use smart. Before syncing I deleted the smart cache and deleted all existing repository definitions, then ran the smart gui.
> As far as I know, Mandriva 2011.0 is not released and there is nobody working on developing/testing Smart 1.4 on it.
2011.0 is at RC2 at the moment I believe, but they have released it into 
repositories in directory 'Official' which is causing some 
misconceptions on what it actually is. They have also update the version 
of smart in their 2011 repository to 1.4 but it doesn't work because of 
the old problem of trying to process a cz compressed file as a standard 
xml file.
>
>> In the gui I ran a repository update to retrieve the synthesis files, and at the end of this process I got the error messages listed below, but they were on the unnecessary info.lzma file that I had reported previously with the previous version of Mandriva.
> The info.xml.lzma file is used for some of the info, like source/url/license etc, not in the "synthesis" file.
I thought this file was superfluous because as far as I am aware 
Mandriva's urpmi doesn't download these files, it seems to only download 
the synthesis files. It seems to me that it is only rpmdrake (their gui 
package manager) that downloads the info files, but only when they are 
needed to retrieve information on individual packages.
>
>>     The messages below were from running sudo smart update from a shell. The other thing I don't understand with these errors is that the gui interface had already successfully downloaded the file identified in the below messages, so I don't understand why the smart shell interface got the error.
>>
>> Fetching information for 'Netspace 2011 Contrib 64 bit'...
>> Traceback (most recent call last):
>>   File "/usr/bin/smart-1.4", line 200, in<module>
>>     main(sys.argv[1:])
>>   File "/usr/bin/smart-1.4", line 173, in main
>>     exitcode = iface.run(opts.command, opts.argv)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/interface.py", line 53, in run
>>     result = _command.main(self._ctrl, opts)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/commands/update.py", line 82, in main
>>     failed = not ctrl.reloadChannels(channels, caching=NEVER)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/control.py", line 388, in reloadChannels
>>     if not channel.fetch(self._fetcher, progress):
>>   File "/usr/local/downloads/smart/smart-1.4/smart/channels/urpmi.py", line 122, in fetch
>>     fetcher.run(progress=progress)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/fetcher.py", line 253, in run
>>     if not handler.tick():
>>   File "/usr/local/downloads/smart/smart-1.4/smart/fetcher.py", line 1596, in tick
>>     item.setSucceeded(localpath, fetchedsize)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/fetcher.py", line 597, in setSucceeded
>>     self._progress.setSubDone(self._urlobj.original)
>>   File "/usr/local/downloads/smart/smart-1.4/smart/progress.py", line 251, in setSubDone
>>     fragment, subdata) = self.__subprogress[subkey]
>> KeyError: 'ftp://ftp.netspace.net.au/linux/MandrivaLinux/official/2011/x86_64/media/contrib/release/media_info/MD5SUM'
> Presumably this internal error stopped it from working/completing properly ?
Yes, when it gets this error it shuts down.
>
> Still think it's related to https://bugs.launchpad.net/smart/+bug/244605
I had a look at this incident and it does sound similar in that I have 
some plf repositories in the list which are specifying a mirror list, 
but I still get the error even if I remove these.
In the last thread I sent through with similar error messages, every 
channel in the list is individual synthesis files and there are no 
mirror lists specified in any channel, and as indicated Smart's progress 
counter is reaching 100% before it downloads all required files, but no 
file has been retried. It seems from that example that Smart is getting 
its progress counter incorrect relative to the number of files it has to 
download.

regards,
Steve

>
> --anders
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 126 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20110805/85eafdb1/attachment-0003.vcf>


More information about the Smart mailing list