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

FEHLER!: ungültige XML Datei:

Hallo Forum

Ich bekomme seit letzter Zeit dauernd die selbe Fehlermeldung obwohl Smart bei mir trotzdem sehr gut funktioniert. Aber jetzt bin ich doch mal neugierig was folgende Fehlermeldung bedeutet:
----------------------------------------------------------------
Lade Zwischenspeicher...
FEHLER!: ungültige XML Datei:
FEHLER!: /var/lib/smart/channels/suser-raoul%%http:__moking.free.fr_raoul_SuSE10.1_repodata_repomd.xml
FEHLER!: http://moking.free.fr/raoul/SuSE10.1/repodata/repomd.xml
FEHLER!: syntax error: line 1, column 49
Update Zwischenspeicher...
-----------------------------------------------------------

Gruß Peter
 
Und Du bist sicher, dass dieses Repository existiert? Ich behaupte einfach mal, dass es nicht mehr existiert. Der Link zur repomd.xml liefert nämlich einen 404-Fehler zurück.

Entferne den Channel aus der Konfiguration oder deaktivier ihn.
 
OP
T

trommelpeter

Member
Hallo

Ich wollte den Channel gerade entfenen. Aber egal welche Befehle ich probiere: als Fehlermeldung kommt immer, das der Channel nicht gefunden wurde. Kann ich diesen Channel evtl mit einem editor in der Datei von smart löschen?
Und auf was müsste ich dabei achten?

Gruß Peter
 
OP
T

trommelpeter

Member
Der drittletzte channel ist es der sich einfach nicht entfernen lässt:

[suse-101-apt-usr-local-bin]
type = apt-rpm
name = SUSE Linux 10.1 APT usr-local-bin Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = usr-local-bin

[suse-101-apt-suse-projects]
type = apt-rpm
name = SUSE Linux 10.1 APT SuSe Projects Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suse-projects

[suse-101-apt-suser-oc2pus]
type = apt-rpm
name = SUSE Linux 10.1 APT Suser Oc2pus Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suser-oc2pus

[suse-101-apt-suse-people]
type = apt-rpm
name = SUSE Linux 10.1 APT SuSe People Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suse-people

[jpackage-1.6]
type = apt-rpm
name = JPackage 10.1 apt repository (1.6)
baseurl = http://mirrors.sunsite.dk/jpackage/1.6/generic
components = free

[jpackage-1.7]
type = apt-rpm
name = JPackage 10.1 apt repository (1.7)
baseurl = http://ftp.heanet.ie/pub/jpackage/1.7/generic
components = free

[suse-101-apt-security-drpm]
type = apt-rpm
name = SUSE Linux 10.1 APT Security-drpm Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = security-drpm

[rpmkeys-101-apt]
type = apt-rpm
name = SUSE Linux 10.1 APT RPMKeys Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = rpmkeys

[suse-101-apt-gnome]
type = apt-rpm
name = SUSE Linux 10.1 APT Gnome Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = gnome

[suse-101-apt-security-prpm]
type = apt-rpm
name = SUSE Linux 10.1 APT Security-prpm Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = security-prpm

[suse-101-apt-non-oss]
type = apt-rpm
name = SUSE Linux 10.1 APT Non-oss Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = non-oss

[suse-101-apt-wine]
type = apt-rpm
name = SUSE Linux 10.1 APT Wine Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = wine

[kde3]
type = rpm-md
name = kde3
baseurl = http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1

[flash]
type = apt-rpm
baseurl = http://macromedia.mplug.org/rpm/
components = macromedia

[suse-101-apt-suser-rbos]
type = apt-rpm
name = SUSE Linux 10.1 APT Suser-rbos Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suser-rbos

[suse-101-apt-suser-crauch]
type = apt-rpm
name = SUSE Linux 10.1 APT Suser-Crauch Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suser-crauch

[suse-101-apt-sbarnin]
type = apt-rpm
name = SUSE Linux 10.1 APT sbarnin Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = sbarnin

[suse-101-apt-suser-tcousin]
type = apt-rpm
name = SUSE Linux 10.1 APT Suser-tcousin Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suser-tcousin

[suse-101-apt-kernel-of-the-day]
type = apt-rpm
name = SUSE Linux 10.1 APT Kernel of the day Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = kernel-of-the-day

[suse-101-apt-jacklab]
type = apt-rpm
name = SUSE Linux 10.1 APT Jacklab Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = jacklab

[rpm-sys]
type = rpm-sys
name = RPM System

[suse-101-apt-update-drpm]
type = apt-rpm
name = SUSE Linux 10.1 APT Update-drpm Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = update-drpm

[packman-i686-101-apt]
type = apt-rpm
name = Packman 10.1 APT Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = packman-i686

[packman-101-apt]
type = apt-rpm
name = Packman 10.1 APT Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = packman

[xemini]
type = apt-rpm
name = Xemini 10.1 apt repository
baseurl = http://op4.xemini.de/linux/suse/apt/SuSE/10.1-i386/
components = xemini

[kde-backports]
type = rpm-md
name = kde
baseurl = http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.1

[olsen]
type = apt-rpm
name = Olsen 10.1 apt repository
baseurl = http://folk.uio.no/oeysteio/apt/suse/10.1-olsen/
components = Olsen

[suse-101-apt-extra]
type = apt-rpm
name = SUSE Linux 10.1 APT Extra Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = extra

[suse-101-apt-kolab]
type = apt-rpm
name = SUSE Linux 10.1 APT Kolab Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = kolab

[suse-101-apt-update-prpm]
type = apt-rpm
name = SUSE Linux 10.1 APT Update-prpm Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = update-prpm

[suse-101-apt-kraxel]
type = apt-rpm
name = SUSE Linux 10.1 APT Kraxel Repository
disabled = yes
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = kraxel

[suse-101-apt-update]
type = apt-rpm
name = SUSE Linux 10.1 APT Update Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = update

[suse-101-apt-samba3]
type = apt-rpm
name = SUSE Linux 10.1 APT Samba3 Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = samba3

[suse-101-apt-security]
type = apt-rpm
name = SUSE Linux 10.1 APT Security Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = security

[suse-101-apt-mozilla]
type = apt-rpm
name = SUSE Linux 10.1 APT Mozilla Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = mozilla

[suser-raoul]
type = rpm-md
name = raoul
baseurl = http://moking.free.fr/raoul/SuSE10.1/

[suse-101-apt-base]
type = apt-rpm
name = SUSE Linux 10.1 APT Base Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = base

[suse-101-apt-suser-guru]
type = apt-rpm
name = SUSE Linux 10.1 APT Suser Guru Repository
baseurl = http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386
components = suser-guru


trommel@linux-360i:~>
 
OP
T

trommelpeter

Member
Hallo

Ich bin manchmal echt zu faul zum selber denken. Inzwischen müsste ich doch wissen das man Fehlermeldungen genau durchlesen muss.

Nachdem meine Befehle in der Konsole versagten habe ich jetzt folgendes endlich bemerkt. Wenn mann die Fehlermeldung liest fällt folgende Stelle auf:

FEHLER!: ungültige XML Datei:
FEHLER!: /var/lib/smart/channels/suser-raoul%%http:__moking.free.fr_raoul_SuSE10.1_repodata_repomd.xml

Der Pfad springt mir direkt ins Gesicht und ich merke es nicht.

kdesu konqueror

und die Datei
/var/lib/smart/channels/suser-raoul%%http:__moking.free.fr_raoul_SuSE10.1_repodata_repomd.xml

einfach löschen und alles passt.

Gruß Peter
 
Nein, es passt nicht. Das Repository ist nämlich immer noch in der Konfiguration drin, existiert aber nicht auf dem Server und wird beim nächsten "smart update" wieder zu genau demselben Problem führen.

Die Lösung steht bereits da:
Code:
smart channel --remove suser-raoul
 
OP
T

trommelpeter

Member
Hallo

Okay. Ich habe smart channel -- remove suser raoul ausgefürt. JETZT passt es. War vorher wohl etwas zu voreilig.

Gruß Peter
 
Oben