Results 1 to 7 of 7

Thread: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

  1. #1
    Join Date
    Feb 2009
    Location
    Concordia, MO, USA
    Posts
    159

    Default YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    I set up YaST's Online Update to run nightly, but often it fails because it says it can't find /repodata/repomd.xml in the path to one repository or another. Tonight I decided to try to hunt down what's happening, so I started YaST's Online Update Configuration, which failed with this message:
    Code:
      File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Leap_42.1/'
    Okay, says, I, let's see if I can get to it with my web browser. I plug in the repository URL, and my web browser shows
    Code:
    Index of /repositories/KDE:/KDE3/openSUSE_Leap_42.1
    Name                     Last modified      Size   Parent Directory                              -  
    KDE3-DEFAULT.ymp         07-Jul-2016 13:02   20K   Details
    KDE:KDE3.repo            07-Jul-2016 13:02  288    Details
    noarch/                  07-Jul-2016 13:02    -  
    repodata/                07-Jul-2016 13:02    -  
    src/                     07-Jul-2016 13:02    -  
    x86_64/                  07-Jul-2016 13:02    -  
    Apache/2.2.12 (Linux/SUSE) Server at download.opensuse.org Port 80
    MirrorBrain powered by Apache
    Following the link repodata/,it shows
    Code:
    Index of /repositories/KDE:/KDE3/openSUSE_Leap_42.1/repodata
    Icon  Name                                                                              Last modified      Size  [DIR] Parent Directory                                                                                       -   
    [   ] 12be4e4c2b832a20c0db4c57260dae90e46e9fc19c02fb36bf3c082ad465f5a3-patterns.xml.gz  07-Jul-2016 13:02  720    Details
    [   ] 868a1d72b5241857523562b3225c20852e0275458c1ca3e188c0f0b1d4a6a243-filelists.xml.gz 07-Jul-2016 13:02  1.9M   Details
    [   ] 67927a233004a37027e43e2ef31bcb7e3bd76ce3f06d4b35cb6d3a56c8a3fe42-other.xml.gz     07-Jul-2016 13:02  361K   Details
    [   ] dec0e49311b93265da677b6975b4ea0c63ca678fb806e72ae32fa98a31c1d016-primary.xml.gz   07-Jul-2016 13:02  581K   Details
    [TXT] repomd.xml                                                                        07-Jul-2016 13:02  2.0K   Details
    [   ] repomd.xml.asc                                                                    07-Jul-2016 13:02  189    Details
    [   ] repomd.xml.key                                                                    07-Jul-2016 13:02  1.0K   Details
    Apache/2.2.12 (Linux/SUSE) Server at download.opensuse.org Port 80
    MirrorBrain powered by Apache
    and following the repomd.xml link I see
    Code:
    <repomd><revision>1467889349</revision><tags><repo>obsrepository://build.opensuse.org/KDE:KDE3/openSUSE_Leap_42.1</repo></tags><data type="filelists"><checksum type="sha256">868a1d72b5241857523562b3225c20852e0275458c1ca3e188c0f0b1d4a6a243</checksum><open-checksum type="sha256">5ef54e245a9a08e8434265401023b9595a4a702dcdeb0c86d6f0d954276f74f5</open-checksum><location href="repodata/868a1d72b5241857523562b3225c20852e0275458c1ca3e188c0f0b1d4a6a243-filelists.xml.gz"/><timestamp>1467889358</timestamp><size>1993628</size><open-size>25715221</open-size></data><data type="patterns"><checksum type="sha256">12be4e4c2b832a20c0db4c57260dae90e46e9fc19c02fb36bf3c082ad465f5a3</checksum><open-checksum type="sha256">a32c00250d43d3c4ba571bd2e2066c3b9feda9fde31c38664382fee245f08663</open-checksum><location href="repodata/12be4e4c2b832a20c0db4c57260dae90e46e9fc19c02fb36bf3c082ad465f5a3-patterns.xml.gz"/><timestamp>1467889362</timestamp><size>720</size></data><data type="other"><checksum type="sha256">67927a233004a37027e43e2ef31bcb7e3bd76ce3f06d4b35cb6d3a56c8a3fe42</checksum><open-checksum type="sha256">34a8caac81ff4107ea156f17b5a368665c97b68edf74d4ee5ed7319fdf0b5234</open-checksum><location href="repodata/67927a233004a37027e43e2ef31bcb7e3bd76ce3f06d4b35cb6d3a56c8a3fe42-other.xml.gz"/><timestamp>1467889358</timestamp><size>369584</size><open-size>4045543</open-size></data>
    :
    I am able to do this over and over, first trying to load Online Update Configuration, then browsing the repository. What's going on here?
    NB, I have seen this happen with different repositories, not just this one. Also, I notice that in the message the offending resource is named /repodata/repomd.xml, with a leading slash. Is that normal?

    Thanks.

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,875

    Default AW: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    http://download.opensuse.org redirects to a mirror near by you and maybe the Mirror has Problems.
    Or the Repo gets an Update, so just wait

    Or try this one:
    ftp://ftp5.gwdg.de/pub/opensuse/repo...USE_Leap_42.1/

  3. #3
    Join Date
    Feb 2009
    Location
    Concordia, MO, USA
    Posts
    159

    Default Re: AW: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    Quote Originally Posted by Sauerland View Post
    http://download.opensuse.org redirects to a mirror near by you and maybe the Mirror has Problems.
    Or the Repo gets an Update, so just wait

    Or try this one:
    ftp://ftp5.gwdg.de/pub/opensuse/repo...USE_Leap_42.1/
    Is there a way, then, to make YaST Online Update Configuration not use the mirrors? This is not the only repository that gets hung, it seems that it can vary with every run (from which I conclude that the mirror is the fault, not any individual repository at the mirror).
    Looking at the Online Update Configuration, even the Advanced tab does not seem to provide a way to prevent mirroring.

  4. #4
    Join Date
    Feb 2009
    Location
    Concordia, MO, USA
    Posts
    159

    Default Re: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    Well, this has gotten beyond irritating; now neither YaST nor zypper can refresh any of the repositories. I'm guessing that my YaST and/or zypper configurations are corrupted. Whenever I start any of the YaST or zypper services that require repositories they tell me that they can't find various repository components. For example:
    Code:
    # zypper -v ref
    Verbosity: 1
    Initializing Target
    Specified repositories:
    Checking whether to refresh metadata for KDE3
    Retrieving: repomd.xml ..............................................................................................................................[error]
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Leap_42.1/'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): i
    Do you want to disable the repository KDE3 permanently? [yes/no] (no): n
    Skipping repository 'KDE3' because of the above error.
    Checking whether to refresh metadata for Main Repository (NON-OSS)
    Retrieving: content .................................................................................................................................[error]
    File '/content' not found on medium 'http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): i
    Do you want to disable the repository Main Repository (NON-OSS) permanently? [yes/no] (no): n
    Skipping repository 'Main Repository (NON-OSS)' because of the above error.
    Checking whether to refresh metadata for Update Repository (Non-Oss)
    Retrieving: repomd.xml ..............................................................................................................................[error]
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/update/leap/42.1/non-oss/'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): a
    ABORT request: Aborting requested by user
    But I can see those resources with a browser:
    Code:
    # links http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Leap_42.1/repodata/repomd.xml
    
    <repomd><revision>1467889349</revision><tags><repo>obsrepository://build.opensuse.org/KDE:KDE3/openSUSE_Leap_42.1</repo></tags><data type="filelists"><checksum type="sha256">868a1d72b5241857523562b3225c20852e0275458c1ca3e188c0f0b1d4a6a243</checksum><open-checksum type="sha256">5ef54e245a9a08e8434265401023b9595a4a702dcdeb0c86d6f0d954276f74f5</open-checksum><location href="repodata/868a1d72b5241857523562b3225c20852e0275458c1ca3e188c0f0b1d4a6a243-filelists.xml.gz"/><timestamp>1467889358</timestamp><size>1993628</size><open-size>25715221</open-size></data><data type="patterns"><checksum type="sha256">12be4e4c2b832a20c0db4c57260dae90e46e9fc19c02fb36bf3c082ad465f5a3</checksum><open-checksum type="sha256">a32c00250d43d3c4ba571bd2e2066c3b9feda9fde31c38664382fee245f08663</open-checksum><location href="repodata/12be4e4c2b832a20c0db4c57260dae90e46e9fc19c02fb36bf3c082ad465f5a3-patterns.xml.gz"/><timestamp>1467889362</timestamp><size>720</size></data><data type="other"><checksum type="sha256">67927a233004a37027e43e2ef31bcb7e3bd76ce3f06d4b35cb6d3a56c8a3fe42</checksum><open-checksum type="sha256">34a8caac81ff4107ea156f17b5a368665c97b68edf74d4ee5ed7319fdf0b5234</open-checksum><location href="repodata/67927a233004a37027e43e2ef31bcb7e3bd76ce3f06d4b35cb6d3a56c8a3fe42-other.xml.gz"/>
    :
    Code:
    # links http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/content
    
    CONTENTSTYLE  11
    DATADIR       suse
    DESCRDIR      suse/setup/descr
    DISTRO        cpe:/o:opensuse:opensuse-addon-nonoss:42.1,openSUSE NonOSS Addon
    LINGUAS       af ar be_BY bg br ca cy el et ga gl gu_IN he hi_IN hr ka km ko lt mk nn pa_IN rw sk sl sr_CS ss st tg th tr uk ve vi xh zu
    REPOID        obsproduct://build.opensuse.org/openSUSE:Leap:42.1/openSUSE-Addon-NonOss/42.1/ftp/i586-x86_64
    VENDOR        openSUSE
    META SHA256 f5b6f09ce0ff46bb5e1c575ddb19f9714e3c11dc58125d30e6f080eecee093bb  appdata-failed.html.xz
    META SHA256 60f9fa26123c3f3918d8cd14c9017861c2035435b2b2778fd3e4891a26fdd4a0  appdata-failed.xml.gz
    META SHA256 d1a7b36f8309796c950b0067bebc113e83bfb7aeb89fd0a517c3fa23c075cf79  appdata-icons.tar.gz
    META SHA256 012e5c7585a0ee2a47b79030699aacd51ef52cbf6b876b7c04fe9a9031924bc9  appdata.html.xz
    META SHA256 8802186730c87683b82c388a5dfc594f059e13cbdc34e7e89ac9f52c04aaa8f0  appdata.xml.gz
    META SHA256 3f81a9fde86cd9306a3714e910da715e25beae20b0328bbb17912eab81a948ba  packages.DU.gz
    META SHA256 122db86d24db9774a8c16e422873b5c041b3dfd6d032a154dfe662b3c87cae4e  packages.FL.gz
    META SHA256 25c58ba5447d223888a16289374250c2db300109ee6d23b1b6b526bf756c6cb6  packages.cs.gz
    META SHA256 5913becbb2775198d5cd86d4895d18159b9c385af088407ab594be1631484647  packages.de.gz
    META SHA256 a34860800f8654052847b9715e49e92cf94f29b177abc80c4e8d29cdeb1f33aa  packages.en.gz
    META SHA256 df659b3c5fa5d2c8b7574e892d93436e89c057a4e013fdf7484b0ec938284f8d  packages.es.gz
    META SHA256 21a2435d6247555df69c240bc445d2b7491ad79e9ad17550667942c2331a7354  packages.fr.gz
    META SHA256 6c060e3d7e08b365763bea86b16b1bdfa4a7d4d5e9f47a47e28533a5a553fbe9  packages.gz
    META SHA256 c7207f49345287d70f01e92e53b8c461753e4410c6b74a692d76d4d6af5e3883  packages.hu.gz
    META SHA256 4e2d469deddf23582c49efa2024a1da6bab5e43215b0a0d839a8bf09b2c06e16  packages.it.gz
    META SHA256 f8ef5a685ff18ed1acde3d224cd2bd428134afc0a704bb196dd660bbc470dcd9  packages.ja.gz
    META SHA256 8d6b5df89c1f391129cce4a0ca2eafa15f0cc6f054922702cabe9135421beb8a  packages.lt.gz
    META SHA256 6e47469df5b0a214bbed74fc7b0c371cff9c0b0b9c29d1b63a02f41e05ca6809  packages.nl.gz
    META SHA256 dcc0f4534b69a41374fe9974791dcee20fb22468f84f18972b94a990f6803a13  packages.pl.gz
    META SHA256 1cd4134728513b77b6dd87c26bd18c35f30e932a715c6c846d1f324ae0853e86  packages.pt.gz
    META SHA256 6a5ff91d2ded708288389c063f40bdba47bf5f3b29f829f44d5f261ee4f8ba1e  packages.pt_BR.gz
    META SHA256 2bd010bcd29f0315f7971d1575a04cfba484485f2242838b983eb2a636ee510b  packages.ru.gz
    META SHA256 8cbee433820b5f8b6c7c12c1a8ef1f16914d7388affa9515cdcbe257ea5144a3  packages.uk.gz
    META SHA256 17ae42fe220a39e62e17ac3c6b7c953ff4e4f55d877c2c542f414967d6ae0adf  packages.zh_CN.gz
    KEY SHA256  d9f574c69457dc5ee30d8d143484677379d2e9229fa9fb7986462dd716d08ad6  gpg-pubkey-307e3d54-4be01a65.asc
    KEY SHA256  971c0b268e632409ad7ccd26d43a04fe13dba82267f9b3cfab937a0d44789765  gpg-pubkey-3dbdc284-53674dd4.asc
    So, what's the best way to clear out the corrupted configurations and rebuild? Can I just rename the /etc/zypp and /etc/YaST directories and rerun zypper and YaST respectively? Perhaps merely rename some of the files in those directories? If so, which ones?

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    The standard command to purge the local zypp cache completely and rebuild is
    Code:
    zypper clean -all
    There are other commands to purge only partly, but IMO just purging everything and re-building is the simplest approach with best results.

    After the above command, the next time you refresh or otherwise "read" your repos using YAST or zypper will re-build. If you want to manually rebuild from the command line, just refresh
    Code:
    zypper ref
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6

    Default Re: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    I have the same problem in Evergreen 13.1, just started a thread. It's been going on for several weeks now. This system has not been updated in ages because of this.

  7. #7
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: YaST Online Update (Configuration) can't find /repodata/repomd.xml but web browser can?

    Quote Originally Posted by jlturriff View Post
    I am able to do this over and over, first trying to load Online Update Configuration, then browsing the repository. What's going on here?
    NB, I have seen this happen with different repositories, not just this one. Also, I notice that in the message the offending resource is named /repodata/repomd.xml, with a leading slash. Is that normal?

    Thanks.
    I am getting reports from a few of the neighbours I have set up with openSUSE.

    I am running openSUSE 13.1 aka Evergreen, as well, and I am having no problems at all with the repos on my machine. This suggests to me that it is not a mirror problem, because at least a couple of them are using the same ISP I am using and are literally next door neighbours. If it was a mirror problem, I would be suffering the same problem, AFAIK, because the closest mirror to them would be the same as the closest mirror to me.

    Did someone take advantage of an openSUSE vulnerability? Is there a way a hacker could alter one of the mutliple host-related files to detour the app manager away from the proper locations or block them?
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •