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/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.

Please post the list of repositories as you hav them now, so we can check if they are correct:

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.

Try this in an Browser:

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:

http://download.opensuse.org/update/leap/42.3/repo/

Also 404.

So you can confirm your used URL…

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


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:


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:~ # 

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?

Do you read my Post?

Wrong URL.

Actually, I read your post and kind of answered in https://forums.opensuse.org/showthread.php/528643-Invalid-update-repositories?p=2848246#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/showthread.php/528643-Invalid-update-repositories?p=2848246#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/showthread.php/528643-Invalid-update-repositories?p=2848249#post2848249.

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.

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 …

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/

Repo URL for the Update Repos are invalid in Post #4:

wget http://download.opensuse.org/update/leap/42.3/repo/non-oss/ 
--2017-12-16 18:28:32--  http://download.opensuse.org/update/leap/42.3/repo/non-oss/
Auflösen des Hostnamen »download.opensuse.org (download.opensuse.org)«... 195.135.221.134, 2001:67c:2178:8::13
Verbindungsaufbau zu download.opensuse.org (download.opensuse.org)|195.135.221.134|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 404 Not Found
2017-12-16 18:28:32 FEHLER 404: Not Found.

Umph, you are right of course – I stand corrected.

Seems I copied the “distribution” URL and exchanged “distribution” by “update” and “oss” by “non-oss” to get the various permutations. Obviously the “/repo” escaped me, even when looking hard.

Anyway, the machine is upgraded now. Sorry for bothering you and thanks for you patience!