Problem updating repos (oss/non-oss)

I did a clean install of Tumbleweed from 20180120 image, but I can’t update repos OSS and NON-OSS.
I get this:


Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/oss/content':
Error code: Curl error 8
Error message: The requested URL returned error: 404 Not Found

But if I curl that url I don’t get 404 (actually I get the metadata).

I tried deleting and adding the repos again, changing dns servers, deactivating firewall, but I still can’t get an update.

This is the output of zypper lr -d:


# | Alias        | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                      | Service
--+--------------+-----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------+--------
1 | repo-debug   | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/  |        
2 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/tumbleweed/repo/non-oss/    |        
3 | repo-oss     | openSUSE-Tumbleweed-Oss     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/tumbleweed/repo/oss/        |        
4 | repo-source  | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/ |        
5 | repo-update  | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/          |        

Thanks,

Please always copy/paste one more line at the top and bottom of your computer text. Then it will include the prompt (which can tell your potential helpers several things) and the command (which tells us what you did without you having to add stories like “This is the output of zypper lr -d:”) and the new prompt (which tells us that this is complete).

In the case of your first error message, we have no idea what you did because the command is not there.

Thanks,

I will put whole information next time. In the first command I was doing

# zypper ref

I solved it now. I changed the url of the repos to https. Now the update works.