How to switch repos from 13.2 to Tumbleweed (for system upgrade)?

Hi,

I am trying to upgrade a system from 13.2 to Tumbleweed but I am facing difficulty with finding the analogous yast URL’s for the repos.

Currently I have:


# zypper lr -d
# | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                             | Service
--+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------+--------
1 | ftp.gwdg.de-suse          | Packman Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/        |
2 | repo-debug                | openSUSE-13.2-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/  |
3 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                 |
4 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/         |
5 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/    |
6 | repo-oss                  | openSUSE-13.2-Oss                  | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/        |
7 | repo-source               | openSUSE-13.2-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |
8 | repo-update               | openSUSE-13.2-Update               | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                       |
9 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/               |

I don’t know if I should look here:

http://download.opensuse.org/tumbleweed/repo/

or within other directories. Example: I can’t find if those are duplicates or what:

http://download.opensuse.org/debug/tumbleweed/repo/oss/

or this:

http://download.opensuse.org/tumbleweed/repo/debug/

I hope someone can provide a list of valid replacements for the above URLs so I can proceed with the update without breaking the system.

http://download.opensuse.org/tumbleweed/repo/oss/
http://download.opensuse.org/tumbleweed/repo/non-oss/
http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/

Mind, I wouldn’t upgrade, but perform a clean install.

Thanks but why only 3? What about the other 6? (in case one decides to enable them too at a certain point in time)

Maybe you notice a pattern??

You can add the others anyway after the upgrade

I found this which seems to answer my question:

https://en.opensuse.org/Package_repositories

I bet nothing is installed from the other ones. You can add TW’s update repo, if you want, but it’s only used to push certain updates if waiting for a new TW release is going to take too long. http://download.opensuse.org/update/tumbleweed/

Thank you.

BTW looking at the link I found: why are there no ‘Update Non-OSS’ and ‘Debug Update’ for Tumbleweed?

Also as I am upgrading another similar system too:

Does it matter if I simply remove all repos and add the new ones or should I go and update one by one the URLs (like I did now)?

Or even better: could I simply copy the /etc/repos.d from the system which has already updated to Tumbleweed to the one which I want to upgrade, then simply run ‘zypper dup’?

However you want.
Since 13.1>13.2(?) the DVD upgrade default has been to remove the old repos (You can always upgrade using a TW DVD, and you can see this).
Personally, I go in there and modify to <disable> the old repos until I know that the upgrade is successful which theoretically gives me a chance (possibly problematic) of re-installing the original OS.

Just don’t confuse which repos belong to which OS, which starts with naming repositories by their OS and then be diligent re-inspecting or removing unnecessary OS ASAP.

FWIW, you don’t have to manually edit every repo URI, the SDB:Upgrade has a sed command which can be used to modify all your repos at once(remember that not all repos will have a version for the upgraded OS, so double-check the existence of the new URI)
https://en.opensuse.org/SDB:System_upgrade

TSU

All updated.
Thanks everyone.