Online Update von openSuSE 11.3

Hinweis: In dem Thema Online Update von openSuSE 11.3 gibt es 5 Antworten. Der letzte Beitrag () befindet sich ganz unten auf dieser Seite.
  • Seit ein paar Tagen/Wochen geht das Online Update meiner openSuSE 11.3 installation nicht mehr. Weder mit Yast noch mit zypper direkt. Zuerst hatte ich einen Mirror eingetragen, zum Schluss nun aber direkt download.opensuse.org. Allerdings geht es auch dort nicht mehr. Mit zypper sieht das so aus:


    [cs]garfield:~ # zypper lu
    Retrieving repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' metadata [\]
    Failed to download ./repodata/35c299a79590999c86e9d207c9909052406a097e-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' metadata [error]
    Repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' is invalid.
    Can't provide ./repodata/35c299a79590999c86e9d207c9909052406a097e-susedata.xml.gz : Failed to download ./repodata/35c299a79590999c86e9d207c9909052406a097e-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' because of the above error.
    Retrieving repository 'openSUSE-11.3-Oss' metadata [|]
    Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'openSUSE-11.3-Oss' metadata [error]
    Repository 'openSUSE-11.3-Oss' is invalid.
    Can't provide /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz : Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'openSUSE-11.3-Oss' because of the above error.
    Loading repository data...
    Reading installed packages...
    No updates found.
    [/cs]


    Ist da irgendwas auf dem Downloadserver falsch, oder kann ich da lokal etwas reparieren?


    Martin

    Für den Inhalt des Beitrages 31290 haftet ausdrücklich der jeweilige Autor: wizo4800

  • Öffne mal spaßeshalber eins dieser in Zypper ausgebenen Repos im Browser und schau dir an wohin der Link führt.


    Ansonsten vorhandene Repos löschen und die neuen komplett als URL eintragen

    Für den Inhalt des Beitrages 31291 haftet ausdrücklich der jeweilige Autor: thomas23

  • Die URLs sehen eigentlich in Ordnung aus. Führe mal ein:

    Code
    zypper cc -mM


    (obwohl

    Code
    zypper cc -M


    auch reichen müsste)
    und danach wieder ein:

    Code
    zypper lu


    aus. Ansonsten zeige auch mal die Ausgabe von:

    Code
    zypper lr -d

    Für den Inhalt des Beitrages 31301 haftet ausdrücklich der jeweilige Autor: tomfa-ng

  • Ich habe nun folgendes versucht:
    [cs]garfield:~ # zypper cc -mM
    All repositories have been cleaned up.
    garfield:~ # zypper cc -M
    All repositories have been cleaned up.[/cs]


    Danach wieder ein update versucht:
    [cs]garfield:~ # zypper lu
    Retrieving repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' metadata [\]
    Failed to download ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' metadata [error]
    Repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' is invalid.
    Can't provide ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz : Failed to download ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'Aktualisierungen fuer openSUSE 11.3 11.3-1.82' because of the above error.
    Retrieving repository 'openSUSE-11.3-Non-Oss' metadata [done]
    Building repository 'openSUSE-11.3-Non-Oss' cache [done]
    Retrieving repository 'openSUSE-11.3-Oss' metadata [-]
    Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'openSUSE-11.3-Oss' metadata [error]
    Repository 'openSUSE-11.3-Oss' is invalid.
    Can't provide /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz : Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'openSUSE-11.3-Oss' because of the above error.
    Loading repository data...
    Reading installed packages...
    No updates found.[/cs]


    Die gewünschte Ausgabe der Repositories:
    [cs]garfield:~ # zypper lr -d
    # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    --+-------------------------------------------------+-----------------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------+--------
    1 | Aktualisierungen_fuer_openSUSE_11.3_11.3-1.82_1 | Aktualisierungen fuer openSUSE 11.3 11.3-1.82 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/11.3/ |
    2 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | No | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
    3 | openSUSE-11.3-Non-Oss_1 | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/non-oss/|
    4 | openSUSE-11.3-Oss_1 | openSUSE-11.3-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/oss/ |
    5 | repo-debug | openSUSE-11.3-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/d…stribution/11.3/repo/oss/ |
    6 | repo-source | openSUSE-11.3-Source | No | Yes | 99 | NONE | http://download.opensuse.org/s…stribution/11.3/repo/oss/ |
    garfield:~ #[/cs]


    Dann habe ich im Yast alle Sourcen gelöscht (ausser CD) und neu eingetragen:
    [cs]garfield:~ # zypper lr -d
    # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    --+-------------------------------+---------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------+--------
    1 | download.opensuse.org-non-oss | Haupt-Repository (NON-OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/non-oss/|
    2 | download.opensuse.org-oss | Haupt-Repository (DEBUG) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/d…stribution/11.3/repo/oss/ |
    3 | download.opensuse.org-oss_1 | Haupt-Repository (OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/oss/ |
    4 | download.opensuse.org-oss_2 | Haupt-Repository (Quellen) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/s…stribution/11.3/repo/oss/ |
    5 | download.opensuse.org-update | Hauptaktualisierungs-Repository | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/11.3/ |
    6 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | No | No | 99 | yast2 | cd:///?devices=/dev/sr0 [/cs]


    ..und erneut versucht:
    [cs]garfield:~ # zypper lu
    Retrieving repository 'Haupt-Repository (OSS)' metadata [\]
    Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss/
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'Haupt-Repository (OSS)' metadata [error]
    Repository 'Haupt-Repository (OSS)' is invalid.
    Can't provide /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz : Failed to download /suse/setup/descr/dvd-11.3-22.1.i586.pat.gz from http://download.opensuse.org/distribution/11.3/repo/oss/
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'Haupt-Repository (OSS)' because of the above error.
    Retrieving repository 'Hauptaktualisierungs-Repository' metadata [|]
    Failed to download ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Abort, retry, ignore? [a/r/i/?] (a):
    Retrieving repository 'Hauptaktualisierungs-Repository' metadata [error]
    Repository 'Hauptaktualisierungs-Repository' is invalid.
    Can't provide ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz : Failed to download ./repodata/8c726c9d3ca6fe3708602e60d3ebd4c8a15e234d-susedata.xml.gz from http://download.opensuse.org/update/11.3/
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Warning: Disabling repository 'Hauptaktualisierungs-Repository' because of the above error.
    Loading repository data...
    Reading installed packages...
    No updates found.
    [/cs]


    Irgendwie komisch, weil die Dateien ja eigentlich per Browser sichtbar/downloadbar sind. Ein Proxy etc. wird nicht verwendet...


    Komisch ist aber wenn ich eine der Dateien mit curl holen bekomme ich sie auch auf dem effektiven System:
    [cs]garfield:/ # curl -O http://download.opensuse.org/d…dvd-11.3-22.1.i586.pat.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 380 100 380 0 0 5109 0 --:--:-- --:--:-- --:--:-- 5205
    garfield:/ #
    [/cs]

    4 Mal editiert, zuletzt von wizo4800 ()

    Für den Inhalt des Beitrages 31303 haftet ausdrücklich der jeweilige Autor: wizo4800

  • So, das Problem ist vorerst gelöst - bzw. umgangen. Ich habe einfach für die "fehlerhaften Repos" einen anderer Mirror gewählt:


    [cs]garfield:/ # zypper lr -d
    # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    --+-------------------------------+----------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------+--------
    1 | download.opensuse.org-non-oss | Haupt-Repository (NON-OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/non-oss/ |
    2 | download.opensuse.org-oss | Haupt-Repository (DEBUG) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/d…stribution/11.3/repo/oss/ |
    3 | download.opensuse.org-oss_2 | Haupt-Repository (Quellen) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/s…stribution/11.3/repo/oss/ |
    4 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | No | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
    5 | openSuSE_11.3_(oss) | openSuSE 11.3 (oss) | Yes | Yes | 99 | yast2 | http://ftp.hosteurope.de/mirro…stribution/11.3/repo/oss/ |
    6 | openSuSE_11.3_(updates) | openSuSE 11.3 (updates) | Yes | Yes | 99 | rpm-md | http://ftp.hosteurope.de/mirro…opensuse.org/update/11.3/ |
    garfield:/boot #[/cs]


    Danach sah es so aus:
    [cs]garfield:/# zypper lu
    Loading repository data...
    Reading installed packages...
    S | Repository | Name | Current Version | Available Version | Arch
    --+-------------------------+------------------+-----------------+-------------------+-------
    v | openSuSE 11.3 (updates) | libpython2_6-1_0 | 2.6.5-3.3.1 | 2.6.5-3.5.2 | x86_64
    v | openSuSE 11.3 (updates) | perl | 5.12.1-2.3.1 | 5.12.1-2.5.1 | x86_64
    v | openSuSE 11.3 (updates) | perl-base | 5.12.1-2.3.1 | 5.12.1-2.5.1 | x86_64
    v | openSuSE 11.3 (updates) | perl-doc | 5.12.1-2.3.1 | 5.12.1-2.5.1 | noarch
    v | openSuSE 11.3 (updates) | python | 2.6.5-3.3.1 | 2.6.5-3.5.1 | x86_64
    v | openSuSE 11.3 (updates) | python-base | 2.6.5-3.3.1 | 2.6.5-3.5.2 | x86_64
    v | openSuSE 11.3 (updates) | python-xml | 2.6.5-3.3.1 | 2.6.5-3.5.2 | x86_64
    [/cs]


    Das Update selbst funktionierte dann auch einwandfrei. Vermutlich ist doch einfach etwas am SuSE Mirror nicht in Ordnung...


    Martin

    Für den Inhalt des Beitrages 31305 haftet ausdrücklich der jeweilige Autor: wizo4800

  • Hallo Martin,


    nach meinen Erfahrungen in 11.3 gab es stets dann Probleme mit den Updates, wenn es auch nur ein ungültiges Repo gab. (Das haben Deine Tests ja auch so bestätigt.) Die Ursache war wohl, dass einige Repos umgezogen waren.
    In der Praxis habe ich dann diese ungültigen Repos gelöscht (beim Updateversuch wurden die ungültigen ja angezeigt - so wusste ich, was ich löschen muss) und habe dann mit den noch gültigen die Updates gemacht. Lief das ordentlich durch, hatte ich auch alle ungültigen beim Löschen getroffen.
    Anschließend bin ich in die Repoverwaltung gegangen und habe erneut nach Community-Repos gesucht und die gelöschten, die nun aber die richtigen Quellangaben hatten, wieder hinzugefügt. Das hat fast immer funktioniert.
    In 11.4 ist mir das (glaube ich) noch nicht passiert.


    Viel Spaß noch!