• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Probleme mit Smartchannels

Klaus R

Newbie
Hallo zusammen,

ich habe gerade versucht die neueste Channelliste von Divine herunterzuladen.

Wenn ich ein smart update versuche kommen folgende Fehlermeldungen:

Lade Zwischenspeicher...
Traceback (most recent call last): ( 0%)
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 375, in reloadChannels
self._cache.load()
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 485, in loadFileProvides
file = open(self._filename)
IOError: [Errno 2] No such file or directory: '/var/lib/smart/channels/suse-101-apt-non-oss%%http:__ftp.gwdg.de_pub_linux_suse_apt_SuSE_10.1-i386_base_pkglist.non-oss'

Habe nur ich das Problem und stelle mich dumm an oder gibt es hier grundsätzlich Probleme?
 

Pfalzwolf

Member
Es gibt offenbar eine Anzahl von Problemen, die sich in unterschiedlichen Fehlermeldungen zeigen.
Weiteres Beispiel:
Code:
# smart update
Update Zwischenspeicher...                                       ########################################################################################### [100%]

Hole Informationen für 'Packman 3rd party package repository for SUSE Linux on ftp.gwdg.de'
-> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/base/release
release                                                          ########################################################################################### [  1%]
-> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/base/release.packman-i686
release.packman-i686                                             ########################################################################################### [  2%]
-> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/base/release.packman
release.packman                                                  ########################################################################################### [  3%]
-> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/base/pkglist.packman-i686.bz2
pkglist.packman-i686.bz2                                         ########################################################################################### [  4%]
-> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/base/pkglist.packman.bz2
pkglist.packman.bz2                                              ########################################################################################### [  5%]

Hole Informationen für 'SUSE 10.0 OpenSource Repository'
-> http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source/media.1/media
media                                                                                                                                                        [  5%]
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/yast2.py", line 67, in fetch
    digest = getFileDigest(fetched.getTargetPath())
  File "/usr/lib/python2.4/site-packages/smart/util/filetools.py", line 31, in getFileDigest
    file = open(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Das Löschen der smart Arbeitsdaten channels und cache hat nichts gebracht.
Code:
# rm /var/lib/smart/channels/*
# rm /var/lib/smart/cache
 

oc2pus

Ultimate Guru
File "/usr/lib/python2.4/site-packages/smart/channels/yast2.py", line 67, in fetch

versucht mal die yast2-channels zu vermeiden wo es geht, da gibt es zur Zeit Probleme und in der nächsten smart-Version 0.42 wird es einen fix dazu geben ...

Fehler im bugzilla:
Code:
https://bugzilla.novell.com/show_bug.cgi?id=185562
 
Oben