Upgrading tumbleweed to leap

Hi Folks,

I am facing a bit of problem (probably with repositories) while upgrading from Tumbleweed to LEAP.

Previously I had 13.2 installed and I successfully converted it to LEAP. Here are my repository list on tumbleweed (was) :

linux-ecgc:/etc/joe # zypper repos --uri

| Alias | Name | Enabled | GPG Check | Refresh | URI

---------------------±------------------------------------±---------------------±----------------------±---------------------------±--------±---------------------------------------------

1 | http-download.opensuse.org-6530d636 | openSUSE:Factory | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss/
2 | http-download.videolan.org-20612828 | SuSE | Yes | (r ) Yes | Yes | http://download.videolan.org/SuSE/Tumbleweed/
3 | http-ftp.gwdg.de-32f6394d | Packman Repository | Yes | (r ) Yes | Yes | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/
4 | http-ftp.gwdg.de-4131b461 | Packman Repository | Yes | (r ) Yes | Yes | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/
5 | http-opensuse-guide.org-f4287b54 | libdvdcss repository | Yes | (r ) Yes | Yes | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/
6 | repo-debug | repo-debug | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/debug
7 | repo-non-oss | repo-non-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss
8 | repo-oss | repo-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss
9 | repo-src-non-oss | repo-src-non-oss | No | ---- | Yes | http://download.opensuse.org/tumbleweed/repo/src-non-oss
10 | repo-src-oss | repo-src-oss | No | ---- | Yes | http://download.opensuse.org/tumbleweed/repo/src-oss
11 | repo-update | repo-update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/tumbleweed/

However, the constant upgrades has made me weary of this quickly. Since I am not a developer, I figured I better upgrade to LEAP.
And I have followed the instructions listed here : https://en.opensuse.org/SDB:System_upgrade

Now my repository list is as follows: (IS)
linux-ecgc:/etc/joe # zypper repos --uri

| Alias | Name | Enabled | GPG Check | Refresh | URI

--------------------±----------------------------------±----------------------------------±----------------------±---------------------------±--------±-----------------------------------

1 | openSUSE-Leap-42.1-Update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/oss/
2 | openSUSE-Leap-42.1-Update-Non-Oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/non-oss/

I am definitely missing some repositories because upon invoking a distribution upgrade I am facing consistency issues.

linux-ecgc:/etc/joe # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See ‘man zypper’ for more information about
this command.
Loading repository data…
Reading installed packages…
Computing distribution upgrade…
6 Problems:
Problem: nothing provides libisl.so.10()(64bit) needed by cpp48-4.8.5-18.1.x86_64
Problem: nothing provides libgio-2_0-0 = 2.44.1 needed by gio-branding-openSUSE-42.1-5.1.noarch
Problem: nothing provides libgif.so.6()(64bit) needed by java-1_7_0-openjdk-1.7.0.91-22.1.x86_64
Problem: systemd-224-2.3.x86_64 requires util-linux >= 2.26, but this requirement cannot be provided
Problem: systemd-224-2.3.x86_64 requires util-linux >= 2.26, but this requirement cannot be provided
Problem: systemd-224-2.3.x86_64 requires util-linux >= 2.26, but this requirement cannot be provided

Problem: nothing provides libisl.so.10()(64bit) needed by cpp48-4.8.5-18.1.x86_64
Solution 1: keep obsolete cpp48-4.8.5-1.1.x86_64
Solution 2: break cpp48-4.8.5-18.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): c

I do have a backup of tumbleweed repositories, but not of 13.2 repositories.
I guess we are missing a bit of documentation on tumbleweed. But then again, it’s for developers who really know their stuff, so I understand that.>:(
My questions are :

  1. Is it possible to move from tumbleweed to LEAP ? If yes, how ?
  2. How can I fall back to 13.2 from tumbleweed ?

Also, I have copied my old (tumbleweed) repo.d directory on to the new (attempted LEAP) repo.d directory. How do I tell zypper to check the modify repo list and update itself ?

Yes, you are missing Leap repositories. What you have is only updates, not Leap itself.

  1. Is it possible to move from tumbleweed to LEAP ? If yes, how ?
  2. How can I fall back to 13.2 from tumbleweed ?

Both effectively mean downgrade your packages. I doubt many people tried it; the inherent problem is, while upgrade to new version is usually tested, downgrade to earlier versions usually not, so nobody knows whether it works. You would save yourself a lot of troubles if you simply make new clean install.

Thought so. Thanks a lot ! lol!

now my repo list looks like this:

linux-ecgc:~ # zypper repos --uri

| Alias | Name | Enabled | GPG Check | Refresh | URI

--------------------±----------------------------------±----------------------------------±----------------------±---------------------------±--------±-----------------------------------

1 | OSS-LEAP-42.1 | OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/distribution/leap/42.1/repo/oss/
2 | bugfix-OSS-LEAP-42.1 | bugfix-OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/update/leap/42.1/oss/
3 | bugfix-non-OSS-LEAP-42.1 | bugfix-non-OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/update/leap/42.1/non-oss/
4 | non-OSS-LEAP-42.1 | non-OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/
5 | openSUSE-Leap-42.1-Update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/oss/
6 | openSUSE-Leap-42.1-Update-Non-Oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/non-oss/

Yup, there are double entries. Well, that shouldn’t be an issue.

I have invoked a distribution upgrade. I’ll report after reboot.

In the meantime, I’d like to downgrade my other laptop from tumbleweed to 13.2 later on(just for the heck of it! I have a 13.2 USB ready…).
let’s see !

But can someone answer my other question ?
[If I copy/change the contents of /etc/zypp/repos.d, how can I tell zypper to refresh itself ? ]

Surprise - “zypper refresh” :slight_smile:

Thanks… Well, I have only dabbled in Solaris before … pretty new to Suse.!!

I seriously think this is broken…

the update is stuck here for close to an hour… so looks like I am going to have a broken system soon enough.

( 653/2234) Installing: dracut-037-66.2 …[done]
( 654/2234) Installing: parted-3.1-17.1 …[done]
( 655/2234) Installing: kernel-default-4.1.12-1.1 …<100%>/]

Lesson learnt. Downloading the 42.1 image on second laptop now. :slight_smile:

In future please use code tags for any computer output. It makes it easier for helpers to read. Code tags are the # in the editors form

You list of repos in the last list did not contain duplicates

Thanks for the tip. :slight_smile:


2 | bugfix-OSS-LEAP-42.1 | bugfix-OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/update/leap/42.1/oss/ 
5 | openSUSE-Leap-42.1-Update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/oss/

and


3 | bugfix-non-OSS-LEAP-42.1 | bugfix-non-OSS-LEAP-42.1 | Yes | ( p) Yes | No | http://download.opensuse.org/update/leap/42.1/non-oss/
6 | openSUSE-Leap-42.1-Update-Non-Oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/42.1/non-oss/

Aren’t they pointing at the same repo ?

no non-OS are non open source OS is open source. Different things

IMO the User should have been directed to an authoritative document from the beginning.
Although there are a few other SDB “upgrades” (like distribution upgrade), I’ve found the following current, accurate and recommended. I’m referring to the section someone added near the end with commands to upgrade from 13.2 to LEAP. Everything there should apply to TW, only modifying the sed command to parse your TW repo names instead of 13.2

https://en.opensuse.org/SDB:System_upgrade#Running_the_Upgrade

You can use the same steps to “upgrade” from anything to 13.1, but you’ll have to modify the commands (particularly the sed command) to point to 13.1 instead of LEAP.

TSU

Thanks, but I already consulted that. Using that ‘sed’ command led me to the partial repo list as mentioned in my first post.

So far, upgrade is still stuck at what I reported earlier.

Just a thought… is there any separate kernel in Solaris to fall back to ? (Like failsafe mode in Solaris)… gotta google that…

Thanks folks. My two laptops are running with 42.1 and 13.2 respectively. Now I know why downgrading kernels are such a pain in the arse.