new to the list

Henri Girard henrigira at numericable.fr
Fri Apr 7 11:44:29 PDT 2006


I deleted first as you told me and rename the py file
that's the result :
[root at localhost smart]# smart channel -y --add newcontrib type=urpmi 
baseurl=http://gd.tuwien.ac.at/pub/linux/Mandriva/devel/cooker/i586/media/contrib 
hdlurl=media_info/hdlist.cz

[root at localhost smart]# smart channel -y --add newjpackage type=urpmi 
baseurl=http://gulus.usherbrooke.ca/pub/distro/Mandrakelinux/devel/cooker/i586/media/jpackage 
hdlurl=media_info/hdlist.cz

[root at localhost smart]# smart channel -y --add newplf-free type=urpmi 
baseurl=ftp://gsa10.eps.cdf.udc.es/plf/mandriva/free/cooker/i586 
hdlurl=hdlist.cz

[root at localhost smart]# smart channel -y --add newplf-nonfree type=urpmi 
baseurl=ftp://ftp.mandrivauser.cz/plf/mandriva/non-free/cooker/i586 
hdlurl=hdlist.cz

[root at localhost smart]#
[root at localhost smart]# smart update
Chargement du cache...
Mise à jour du cache...     ################################### [100%]

Récupération des informations pour 'newcontrib'...
-> http://gd.tuwien.ac.at/pub/linux/Mandriva/devel/cooker/.../MD5SUM
MD5SUM                      ################################### [  6%]
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/lib/python2.4/site-packages/smart/interface.py", line 53, 
in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 
78, in main
    failed = not ctrl.reloadChannels(channels, caching=NEVER)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 351, in 
reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/usr/lib/python2.4/site-packages/smart/channels/urpmi.py", line 
76, in fetch
    md5, name = line.split()
ValueError: too many values to unpack
[root at localhost smart]# smart update
Chargement du cache...
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/lib/python2.4/site-packages/smart/interface.py", line 53, 
in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 
77, in main
    ctrl.reloadChannels()
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 351, in 
reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/usr/lib/python2.4/site-packages/smart/channels/urpmi.py", line 
76, in fetch
    md5, name = line.split()
ValueError: too many values to unpack



Bogdano Arendartchuk a écrit :
> On 4/7/06, Henri Girard <henrigira at numericable.fr> wrote:
>   
>> Hi :)
>> i use smart in mandriva 2006
>> I had a problem and find how to cure it (i think ...)
>> it connected to server ciril and i wanted to delete it... I used to
>> configure smart with easyurpmi
>> as there is an option... But i don't see any configuration of smart ?
>> how can i know where the configuration files are ?
>> i deleted in smart : channels and packages files and i started again...
>> but sometimes ciril is still in it ?
>> wish help :)
>> kind regards
>> Henri
>>     
>
> Hi Henri,
>
> Smart stores its channels and configuration data in
> var/lib/smart/config, which is a python pickle file and is not
> intended for edition "by hand" (otherwise it would be in /etc/). You
> can check if these channels are still being used by doing `smart
> channel --show`.
>
> The smart from Mandriva package will try to add these channels from 
> ftp.ciril.fr every time you run it and there is no channel configured.
> Try to rename the file /usr/lib/smart/distro.py and remove these
> channels again. Please let us know if didn't work.
>
> Bogdano
>   




More information about the Smart mailing list