[issue109] smart sometimes catch wrong MD5SUM file

Funda Wang at Labix Tracker tracker at labix.org
Thu Apr 6 06:14:01 PDT 2006


Funda Wang <fundawang at linux.net.cn> added the comment:

[root at localhost fundawang]# smart update plf-nonfree
Loading cache...
Updating cache...               ######################################## [100%]

Fetching information for 'plf-nonfree'...
-> http://ftp.mandrivauser.cz/plf/mandriva//non-free/cooker/MD5SUM
MD5SUM                          ######################################## [ 33%]
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 fundawang]# cat
/var/lib/smart/channels/plf-nonfree%%ftp\:__ftp.free.fr_pub_Distributions_Linux_plf_mandriva_non-free_cooker_MD5SUM
lrwxrwxrwx   1 root     root           23 Jul  8  2004 Mandrake-updates ->
Sunsite-updates/updates
drwxr-xr-x   2 root     root           23 Oct  4  2005 MandrakeClub
drwxrwxr-x   4 (?)      (?)            46 Oct 14 06:38 Mandrakelinux
drwxrwxr-x  14 (?)      (?)           136 Sep 14  2005 Mandriva-old
lrwxrwxrwx   1 root     root           13 Sep  7  2005 Mandrivalinux ->
Mandrakelinux
lrwxrwxrwx   1 root     root           23 Oct  7  2005 Mandrivalinux-updates ->
Sunsite-updates/updates
drwxr-xr-x   3 root     root           20 Jul  8  2004 Sunsite-updates
drwxr-xr-x   8 (?)      (?)          4096 Feb 11 08:37 borgnet
-rw-r--r--   1 root     root      6481573 Apr  5 22:03 ls-lR.gz
drwxr-xr-x  13 root     root          151 Jul 19  2005 people
drwxrwxrwx   4 mullah   blue           62 Apr  2 17:07 plf
drwxrwxr-x   4 (?)      (?)            28 Sep 18  2005 seerofsouls
drwxrwsr-x  13 vybiral  vybiral      4096 Nov 18 14:36 thacs

That is to say, smart catch the content of the given directory if MD5SUM file
cannot be found.

----------
title: smart cannot be started in Mandriva cooker -> smart sometimes catch wrong MD5SUM file

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue109>
_______________________________________



More information about the Smart mailing list