Tumbleweed refresh/update errors /content not found on medium.

Folks:
My machine info is this.

|MediaPC:/etc/zypp/repos.d # cat /etc/os-release
|
NAME=“openSUSE Tumbleweed”

VERSION=“20180319”

ID=opensuse
ID_LIKE=“suse”
VERSION_ID=“20180319”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20180319”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/”|

I am trying to do a

zypper ref -f 

I see the following errors

|MediaPC:/etc/zypp/repos.d # zypper ref -f
|
Forcing raw metadata refresh
Retrieving repository ‘Main Repository (NON-OSS)’ metadata -----------------------------------------------------------------------------------------]
File ‘/content’ not found on medium 'http://download.opensuse.org/tumbleweed/repo/non-oss/’|

I am not able to solve it. Please help.

Regards,
-Narahari

20180319 – that’s a bit old. You have not been updating.

At some time, I’m not exactly sure, there was a change to the repo format. It seems that you missed the change. And because you were not updating regularly, you missed the transition period where things would have still worked but your repo would have been reconfigured.

My suggestion:

1: Get the output from “zypper lr -d”, and save that to a file.
2: Delete all of your repos.
3: Add the repos back (that’s why you saved info into a file). The repos should get the proper configuration when you add them back.

Thank you so much @nrickert for your help, time and attention. You are right I had not updated in a while. I did not know that repo format change.

I made the change as you suggested and it works now.

Much Appreciated.

Just to reiterate, I used the help provide by @nrickert and the following with a bit more details. Yes it is about upgrade but it worked for me.

https://www.techrepublic.com/article/how-to-upgrade-opensuse-leap-to-opensuse-tumbleweed/

I’m glad to hear that everything is now working properly for you.

Thanks for reporting back.