max. no. of channels/packages?

Werner Flamme werner.flamme at ufz.de
Mon Jan 14 07:43:55 PST 2008


Mauricio Teixeira   [14.01.2008 15:33]:
> Werner Flamme wrote:
>> for some days, I cannot get smart to update the channels. Is there a
>> maximum number of channels or packages that I have to obey?
> 
> There is no such limit.
> 
> For what I see in your error logs, a few files are corrupted, not sure 
> if because they're bad on the mirrors, wrong download, or bad in your 
> hard drive.
> 
> I would suggest 'rm -f /var/lib/smar/channels/*' and try 'smart update' 
> again.
> 

Mauricio,

thank you, it almost worked. After adding a 't' to your line ;-) smart
updates. I found a lot of "file not found" or "junk in file" messages -
then I noticed that http://software.opensuse.org seems to bei down at
the moment. Now I changed this URL to some mirrors and smart updates - until

Fetching information for 'B5 RPM-MD Devel XML-update'...
->
http://ftp.skynet.be/pub/software.opensuse.org/XML/xml-10.3-update/repodata/repomd.xml
repomd.xml
################################################################################
[ 36%]

Fetching information for '42 Printing'...
->
ftp://ftp5.gwdg.de/pub/opensuse/repositories/Printing/openSUSE_10.3/repodata/repomd.xml
repomd.xml
################################################################################
[ 37%]
->
ftp://ftp5.gwdg.de/pub/opensuse/repositories/Printing/openSUSE_10.3/repodata/filelists.xml.gz
filelists.xml.gz
################################################################################
[ 38%]
->
ftp://ftp5.gwdg.de/pub/opensuse/repositories/Printing/openSUSE_10.3/repodata/primary.xml.gz
primary.xml.gz
################################################################################
[ 38%]
Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib64/python2.5/site-packages/smart/interface.py", line 53,
in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib64/python2.5/site-packages/smart/commands/update.py",
line 78, in main
    failed = not ctrl.reloadChannels(channels, caching=NEVER)
  File "/usr/lib64/python2.5/site-packages/smart/control.py", line 354,
in reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/usr/lib64/python2.5/site-packages/smart/channels/rpm_md.py",
line 118, in fetch
    fetcher.run(progress=progress)
  File "/usr/lib64/python2.5/site-packages/smart/fetcher.py", line 243,
in run
    if not handler.tick():
  File "/usr/lib64/python2.5/site-packages/smart/fetcher.py", line 1505,
in tick
    multi.remove_handle(handle)
pycurl.error: curl object not on this multi-stack


BTW, I' using smart-0.52-27.1 on openSUSE 10.3 x86_64. Forgot to mention
this in my first posting :-(

Maybe it's the patch Patryk posted? I'll try...

It works now!

Thanks Mauricio, thanks Patryk!!

And before I forget it: thanks to all developers who changed the sorting
of packages in smart --gui! I complained 3 months ago ;-)

Regards,
Werner

-- 
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-1921 - Fax (0341) 235-451921
http://www.ufz.de - eMail: werner.flamme at ufz.de



More information about the Smart mailing list