Results 1 to 5 of 5

Thread: Leap 42.3 fails to update

  1. #1

    Default Leap 42.3 fails to update

    For several days now, the routine Online Update check has been failing in my openSUSE Leap 42.3 installation. The error message is:

    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/'

    When I update through YaST, I get similar errors on two repositories. They have to be skipped to get the others to work. When I look on the server, the directory and file are indeed not there. This was working normally until fairly recently.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Leap 42.3 fails to update

    Quote Originally Posted by fpleland View Post
    For several days now, the routine Online Update check has been failing in my openSUSE Leap 42.3 installation. The error message is:

    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/'

    When I update through YaST, I get similar errors on two repositories. They have to be skipped to get the others to work. When I look on the server, the directory and file are indeed not there. This was working normally until fairly recently.
    First, show us your repos, between CODE tags, the # in the layout ribbon
    Code:
    zypper lr -d
    But to make sure the cache hasn't polluted:
    Code:
    zyooer clean && zypper ref
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Leap 42.3 fails to update

    Thanks for your help.

    Response to zypper lr -d:

    Code:
      | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
    ---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+--------
     1 | Mozilla                             | Mozilla                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.3/                |        
     2 | google-chrome                       | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                  |        
     3 | http-download.opensuse.org-7295caf3 | isv:ownCloud:desktop                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/openSUSE_Leap_42.3/ |        
     4 | http-download.opensuse.org-9d234e75 | Emulators:Wine                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.3/        |        
     5 | openSUSE-Leap-42.3-0                | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/scsi-S__%5Cx5b                                        |        
     6 | opensuse-guide.org-repo             | Libdvdcss Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                                   |        
     7 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                     |        
     8 | repo-debug                          | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                  |        
     9 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/              |        
    10 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                             |        
    11 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                         |        
    12 | repo-non-oss                        | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                    |        
    13 | repo-oss                            | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                        |        
    14 | repo-source                         | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                 |        
    15 | repo-source-non-oss                 | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/             |        
    16 | repo-update                         | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                   |        
    17 | repo-update-non-oss                 | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                               |        
    18 | skype-stable                        | skype (stable)                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                                   |
    Repositories have been cleaned up with zypper clean. Afterwards, the response to zypper ref still shows the same two repository errors:

    Code:
    Retrieving repository 'Mozilla' metadata .............................................................[done]
    Building repository 'Mozilla' cache ..................................................................[done]
    Repository 'google-chrome' is up to date.                                                                   
    Repository 'isv:ownCloud:desktop' is up to date.                                                            
    Retrieving repository 'Emulators:Wine' metadata ......................................................[done]
    Building repository 'Emulators:Wine' cache ...........................................................[done]
    Repository 'Libdvdcss Repository' is up to date.                                                            
    Retrieving repository 'Packman Repository' metadata ..................................................[done]
    Building repository 'Packman Repository' cache .......................................................[done]
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/'                                                                                                     
    Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
    Do you want to disable the repository openSUSE-Leap-42.3-Non-Oss permanently? [yes/no] (no): 
    Skipping repository 'openSUSE-Leap-42.3-Non-Oss' because of the above error.
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/leap/42.3/repo/oss/'                                                                                                         
    Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
    Do you want to disable the repository openSUSE-Leap-42.3-Oss permanently? [yes/no] (no): 
    Skipping repository 'openSUSE-Leap-42.3-Oss' because of the above error.
    Retrieving repository 'openSUSE-Leap-42.3-Update' metadata ...........................................[done]
    Building repository 'openSUSE-Leap-42.3-Update' cache ................................................[done]
    Repository 'openSUSE-Leap-42.3-Update-Non-Oss' is up to date.                                               
    Repository 'skype (stable)' is up to date.                                                                  
    Some of the repositories have not been refreshed because of an error.
    Also, I can successfully perform updates on an openSUSE virtual machine that lives on the same network. It currently has a much simpler repository structure.

  4. #4
    Join Date
    Sep 2012
    Posts
    7,101

    Default Re: Leap 42.3 fails to update

    Wrong repositories type - correct type is yast2, not rpm-md.

  5. #5

    Default Re: Leap 42.3 fails to update

    Quote Originally Posted by arvidjaar View Post
    Wrong repositories type - correct type is yast2, not rpm-md.
    Thanks arvidjaar.

    Deleting and re-adding the repositories has fixed the issue.

    I could not find a way to change the type of an existing repository. The two affected ones are system repositories that have been there since the beginning, untouched by me. I do add and remove repos from time to time, but not those.

    Best regards,
    fpleland

Posting Permissions

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