Zypper update-problems (repository XY is out of date...)

on another thread, zagoes gives this solution, it worked for me too :


The matter is, sometimes (or very often) the connection to the main repo is broken. The solution is to add a mirror instead of the main server. The zypper told you to which repository the connection failed. Mainly are this “oss”, “non-oss”, “debug” and “update”.

Under the following link you can choose a near or trusted mirror: Mirrors Released Version - openSUSE
Hint: Choose a mirror of Point 1.x with the complete archive

That gave you the following urls to the repositories on the mirror:
http://ChoseMirror/opensuse/distribution/11.0/repo/oss
http://ChoseMirror/opensuse/distribution/11.0/repo/non-oss
http://ChoseMirror/opensuse/distribution/11.0/repo/debug
http://ChoseMirror/opensuse/update/11.0/

e.g. I chose the mirror of switzerland and got following urls:
“http:///mirror.switch.ch/ftp/mirror/opensuse/distribution/11.0/repo/oss”
“http:///mirror.switch.ch/ftp/mirror/opensuse/distribution/11.0/repo/non-oss”
“http:///mirror.switch.ch/ftp/mirror/opensuse/distribution/11.0/repo/debug”
“http:///mirror.switch.ch/ftp/mirror/opensuse/update/11.0/”

Now replace the urls of the repositories with the new one. For that open yast2. Under Software choose Software Repositories. In the opening window replace the url of “oss”, “non-oss”, “debug” and “update”. High light the specific repositories, click the edit button, choose the option “Edit Complete URL” and paste the matching url you collected before. After you did it for all 4 main repo, click the refresh button and choose the option"Refresh all Enabled". Last steps are push the finish button.

If your are using the opensuse updater applet, you have to restart it.