Results 1 to 4 of 4

Thread: non-oss repo "File '/repodata/repomd.xml' not found on medium"

  1. #1

    Default non-oss repo "File '/repodata/repomd.xml' not found on medium"

    Hi

    Not sure if this is the correct forum, but it looks as though the non-oss repo does not have a folder "repodata" in it's "suse" folder

    I had to modify my /etc/zypp/repos.d/repo-oss.repo file the other week, to add a /suse/ to the end of the repo path

    baseurl=http://download.opensuse.org/tumbleweed/repo/oss/suse/

    but doing the same with the also not-working repo-non-oss.repo file

    baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/suse/

    still gives me the error that repodata/repomd.xml is not found

    Using a web browser and browsing - what else? - those folders shows that there is an

    http://download.opensuse.org/tumblew...ata/repomd.xml

    but that repodata/repomd.xml structure does not exist for the non-oss repo

    Am I missing something obvious, or an announcement, or is the non-oss repo broken?

    The files and other packages appear to be there.


    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: non-oss repo "File '/repodata/repomd.xml' not found on medium"

    Hi
    You need to remove the suse/ bit, the Tumbleweed repositories are not repositories, they are install media and have no repodata. If you get an error on refresh, generally it's a mirror not fully synced, or a new snapshot being uploaded or even being redirected to a faulty mirror in your locale.

    When this happens you need to add some verbosity to zypper with the -v option, the more v's the more detail eg -vvvv

    Code:
    zypper -vv ref -r 7
    
    Verbosity: 2
    Initializing Target
    Specified repositories: repo-non-oss 
    Checking whether to refresh metadata for openSUSE-Tumbleweed-Non-Oss
    Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/content ........................................................................................[done]
    Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/media.1/media ..................................................................................[done]
    Repository 'openSUSE-Tumbleweed-Non-Oss' is up to date.                                                                                                                
    Specified repositories have been refreshed.
    See how it looks at two different places.... in this case it's working fine here, so fix the url and try another ref.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: non-oss repo "File '/repodata/repomd.xml' not found on medium"

    Thanks for the reply.

    I had tried both without the /suse/ and with.

    I've now got a baseurl of

    Code:
    baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/
    and get:

    Code:
    Checking whether to refresh metadata for openSUSE-Tumbleweed-Non-Oss
    Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml ............................[not found]
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/tumbleweed/repo/non-oss/'
    
    Abort, retry, ignore? [a/r/i/...? shows all options] (a):
    Aha!
    And I have just found the answer

    My repo file had

    Code:
    type=rpm-md
    I commented that line out, and did a refresh, and that line is now

    Code:
    type=yast2
    and it successfully refreshes


    Thanks for your hint, it made me read the while repo file, not just the base url bit.

  4. #4

    Default Re: non-oss repo "File '/repodata/repomd.xml' not found on medium"

    Quote Originally Posted by iDominic42 View Post
    Thanks for the reply.

    I had tried both without the /suse/ and with.

    I've now got a baseurl of

    Code:
    baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/
    and get:

    Code:
    Checking whether to refresh metadata for openSUSE-Tumbleweed-Non-Oss
    Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml ............................[not found]
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/tumbleweed/repo/non-oss/'
    
    Abort, retry, ignore? [a/r/i/...? shows all options] (a):
    Aha!
    And I have just found the answer

    My repo file had

    Code:
    type=rpm-md
    I commented that line out, and did a refresh, and that line is now

    Code:
    type=yast2
    and it successfully refreshes


    Thanks for your hint, it made me read the while repo file, not just the base url bit.
    I had the same problem as OP, where 'repodata/repomd.xml' was not found. I also commented out `type=rpm-md` on both oss and non-oss repos in Tumbleweed, and Only one of them (oss) has removed the commented type=rpm-md line and replaced it with type=yast2. The other repo (non-oss), still has the commented out type=rpm-md line.

    The strange thing is, they both successfully refresh now and I can update my packages. I had a hard time finding this answer, and have not been able to find any others related to it. Can someone more experienced with Tumbleweed enlighten me on what the issue here is? What's wrong with rpm-md, and why switch to yast2? Why did it only do it to one of the repos that was failing instead of both?

    Is this a safe solution, or is it a work around?

Posting Permissions

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