Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Invalid update repositories

  1. #1

    Exclamation Invalid update repositories

    I just wanted to upgrade a machine from 42.2 to 42.3. However, the 42.3 update repositories seem to be broken. The command "zypper ref" leads to the results listed below. I noticed that according to file timestamps of "16-Dec-2017 10:17", i.e. about 3 hours ago, something has been done at http://download.opensuse.org/update/leap/42.3/oss/. Perhaps the error has been introduced by then?

    What can I do now? Or when?

    Repository 'openSUSE Leap 42.3 Distribution Non-OSS' is up to date.
    Repository 'openSUSE Leap 42.3 Distribution OSS' is up to date.
    Retrieving repository 'openSUSE Leap 42.3 Update Non-OSS' metadata ..............................................................................................................................................................................................[error]
    Repository 'openSUSE Leap 42.3 Update Non-OSS' is invalid.
    [repo-42.3-update-non-oss|http://download.opensuse.org/update/...repo/non-oss/] Valid metadata not found at specified URL
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'openSUSE Leap 42.3 Update Non-OSS' because of the above error.
    Retrieving repository 'openSUSE Leap 42.3 Update OSS' metadata ..................................................................................................................................................................................................[error]
    Repository 'openSUSE Leap 42.3 Update OSS' is invalid.
    [repo-42.3-update-oss|http://download.opensuse.org/update/...2.3/repo/oss/] Valid metadata not found at specified URL
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'openSUSE Leap 42.3 Update OSS' because of the above error.
    Some of the repositories have not been refreshed because of an error.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,746

    Default Re: Invalid update repositories

    Please post the list of repositories as you hav them now, so we can check if they are correct:
    Code:
    zypper lr -d
    Btw, I see this is your first post here: Welcome to the openSUSE forums.

    Please not there is an important, but not easy to find feature on the forums:

    Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
    Henk van Velden

  3. #3
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,721

    Default AW: Invalid update repositories

    Try this in an Browser:
    Code:
    http://download.opensuse.org/update/leap/42.3/repo/non-oss/
    You get an Error 404

    So next thing for me is to delete the URL up to the last Slash:
    Code:
    http://download.opensuse.org/update/leap/42.3/repo/
    Also 404.

    So you can confirm your used URL.....

  4. #4

    Default Re: Invalid update repositories

    Sorry for not having used the CODE tag! Here's the listing once again, and this time the URLs are hopefully kept intact:

    Code:
    machine:~ # LANG= zypper ref
    Repository 'openSUSE Leap 42.3 Distribution Non-OSS' is up to date.                                                                                                                                                                                                     
    Repository 'openSUSE Leap 42.3 Distribution OSS' is up to date.                                                                                                                                                                                                         
    Retrieving repository 'openSUSE Leap 42.3 Update Non-OSS' metadata ..............................................................................................................................................................................................[error]
    Repository 'openSUSE Leap 42.3 Update Non-OSS' is invalid.
    [repo-42.3-update-non-oss|http://download.opensuse.org/update/leap/42.3/repo/non-oss/] Valid metadata not found at specified URL
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'openSUSE Leap 42.3 Update Non-OSS' because of the above error.
    Retrieving repository 'openSUSE Leap 42.3 Update OSS' metadata ..................................................................................................................................................................................................[error]
    Repository 'openSUSE Leap 42.3 Update OSS' is invalid.
    [repo-42.3-update-oss|http://download.opensuse.org/update/leap/42.3/repo/oss/] Valid metadata not found at specified URL
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'openSUSE Leap 42.3 Update OSS' because of the above error.
    Some of the repositories have not been refreshed because of an error.
    machine:~ #
    And here's my repository listing:

    Code:
    machine:~ # LANG= zypper lr -d
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    #  | Alias                               | Name                                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                              | Service
    ---+-------------------------------------+---------------------------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------+--------
     1 | download.opensuse.org-non-oss_1     | Aktualisierungs-Repository (Nicht-Open-Source-Software) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/                           |        
     2 | download.opensuse.org-oss           | Haupt-Repository (OSS)                                  | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/distribution/leap/42.2/repo/oss/                    |        
     3 | download.opensuse.org-oss_1         | Hauptaktualisierungs-Repository                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/oss                                |        
     4 | http-download.opensuse.org-375e5e41 | KDE:Qt5                                                 | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_42.2/           |        
     5 | http-download.opensuse.org-b2c5f469 | KDE:Frameworks5                                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/     |        
     6 | http-download.opensuse.org-d17a2da6 | openSUSE:Leap:42.2:Update                               | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2:/Update/standard/ |        
     7 | http-download.opensuse.org-fe0cbb62 | KDE:Frameworks5                                         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.2/   |        
     8 | openSUSE-42.2-0                     | openSUSE-42.2-0                                         | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-hp_DVD_A_DS8A9SH_653303012799                 |        
     9 | openSUSE:Factory                    | openSUSE:Factory                                        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/            |        
    10 | opensuse-guide.org-repo             | Libdvdcss Repository                                    | No      | ----      | ----    |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/                               |        
    11 | packman.inode.at-suse               | Packman Repository                                      | No      | ----      | ----    |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/                                 |        
    12 | repo-42.3-non-oss                   | openSUSE Leap 42.3 Distribution Non-OSS                 | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                |        
    13 | repo-42.3-oss                       | openSUSE Leap 42.3 Distribution OSS                     | Yes     | (r ) Yes  | No      |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                    |        
    14 | repo-42.3-update-non-oss            | openSUSE Leap 42.3 Update Non-OSS                       | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/42.3/repo/non-oss/                      |        
    15 | repo-42.3-update-oss                | openSUSE Leap 42.3 Update OSS                           | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/42.3/repo/oss/                          |        
    16 | repo-source                         | openSUSE-Leap-42.2-Source                               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/oss/             |        
    17 | repo-source-non-oss                 | openSUSE-Leap-42.2-Source-Non-Oss                       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/non-oss/         |        
    machine:~ #

  5. #5

    Default Re: Invalid update repositories

    On multiple machines that have 42.3 already, "zypper ref" runs as expected, and when I upgraded these machines from 42.2 to 42.3 months ago, everything went like a charm.

    Could it be the zypper software stack on 42.2 is broken, at least on my to-be-upgraded machine?

    Could I run "zypper dup" without the update repositories, enable them after the upgrade, and only then update the packages?

  6. #6
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,721

    Default AW: Invalid update repositories

    Do you read my Post?

    Wrong URL.

  7. #7

    Default Re: Invalid update repositories

    Actually, I read your post and kind of answered in https://forums.opensuse.org/showthre...46#post2848246, where I pointed out that the URLs got corrupted in my post by my not using the CODE tag.

    The actual URLs are correct and are also shown in in https://forums.opensuse.org/showthre...46#post2848246. I can access them with a browser just fine, and I can use them on my 42.3 machines without problems, see https://forums.opensuse.org/showthre...49#post2848249.

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,670
    Blog Entries
    3

    Default Re: Invalid update repositories

    Quote Originally Posted by Rainer_Klute View Post
    The actual URLs are correct ...
    Are they?

    When I compare to my repos, you have a string "/repo" in the urls for the update repos. I don't have that string. Try fixing that.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  9. #9

    Default Re: Invalid update repositories

    I am using exactly the same URLs as for my machines that are already running 42.3 and updating from these repos regularly. In fact, I copied the URL to add the update repos from my browser's URL field, just to make sure no error creeps in.

    Currently the upgrade from 42.2 to 42.3 is running, with the update repos disabled. Well, we'll see what the outcome will be …

  10. #10
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,033

    Default Re: Invalid update repositories

    Quote Originally Posted by Rainer_Klute View Post
    In fact, I copied the URL to add the update repos from my browser's URL field, just to make sure no error creeps in.
    Was that before or after you posted your repository list (post #4) ? As in that list the two update repository URLs (#14 & #15) are clearly incorrect...

    Perhaps after your update completes recheck those ?

    The correct URLs, as you no doubt by now know, are:

    http://download.opensuse.org/update/leap/42.3/oss/
    http://download.opensuse.org/update/leap/42.3/non-oss/
    Regards, Paul

Page 1 of 2 12 LastLast

Posting Permissions

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