Upgrading 15.2 to 15.5

Hey All!

I have tried to upgrade the OS from 15.2 to 15.5 and I didn’t succeed.
I have follows couple of guides, but get the same, getting 981 problems with the packages
for example:
981 Problems:
Problem: problem with installed package OpenIPMI-2.0.25-lp152.2.7.x86_64
etc,etc

please assist me, thanks in advance

Jumping from 15.2 to 15.5 is not recommended. You should only go one version at a time

Doing a fresh install rather then an upgrade would be better since the intermediate versions may not be available. If you have a separate home partition that can be saved and not reformatted just mounted as /home.

I don’t think that a direct upgrade from 15.2 to 15.5 will be done easily:

First of all openSUSE does not recommend skipping versions on upgrade.

But there is an even more serious argument against an (direct) upgrade from 15.2 to 15.5:

From versions 15.2 to 15.4 openSUSE Leap and SUSE Linux Enterprise Desktop were merged step by step. One of the major indications for this is that since openSUSE 15.3 there are more repositories needed to make up the standard system.

Installing openSUSE 15.5 from scratch might be a better approach.

We cannot help you when the only information you provide is “etc”, but educated guess is that most of those “problems” are related to vendor change from openSUSE to SUSE. In this case you would see exactly the same “problems” when updating to 15.3. IIRC Leap 15.2 had patches to make openSUSE and SUSE compatible vendors, so the first step is to make sure your 15.2 is fully updated.

The second consideration is two additional update repositories that appeared since Leap 15.3, so you actually need to perform update twice - the first update adds them and the next update installs packages from them. Or you add them in advance.

Anyway - unless you show the full commands you used to perform update and their complete output anything will be just a guess.

I did update from 15.2 to 15.4 without any real issues except vendor change. It was early enough, as I mentioned it should have been improved in the meantime. Of course, one could always use --force-resolution or --allow-vendor-change but without knowing what repositories are used it could lead to packages installed from the “wrong” repositories.

Where have you got it from? The only real difference is that in 15.2 and below SLE packages were rebuilt for Leap and in 15.3 and above SLE binary packages are used directly. There is no “merging” in any sense of this word.

Use the full DVD to install 15.5 and, when you get to the Disks, go to the Expert option and select Existing partitions. You then only have to assocate the existing 15.2 partitions with /, swap and /home, ensuring that you format /. The installation will only delete, reformat and install to /, leaving everything else untouched.
Also you can import the existing 15.2 users and continue with the same logins as previously.

Fine! But without any knowledge about OPs system and OPs familiarity with openSUSE I would never give any kind of advice to upgrade from 15.2 to 15.5 (that is just my personal approach, yours might be different).

Sorry, I’m no native English speaker.

So yes, merge does probably not describe what really happened. My main intention was to point out that there might be additional obstacles (e.g. more repositories) to be considered.

when trying to upgrade to 15.3 from 15.2 getting an problem with packages error

You really must be more verbose. “trying to upgrade” is much too vague. There are several methods to do this and we can not give advice based on assumptions.

Also you must take into account that all those versions are old and out of support. People here have moved from 15.2 to 15.3 some years ago, they moved to 15.4 about a year ago, many are upgrading to 15.5 just now. Thus their memory about how it was some years and versions ago may have faded.

How did you upgrade (DVD, online, …)?

What were the errors in detail?

Do you even read replies to your questions?

Nobody ever mentions this SDB: <https://en.opensuse.org/SDB:System_upgrade>


And for Leap 15.5, this information: <https://en.opensuse.org/SDB:System_upgrade#0._New_4096_bit_RSA_signing_key>

  • For Leap 15.5, new 4096 bit RSA signing key has been introduced which previous Leap versions – not only Leap 15.4 – will have to insert into the RPM signing key database. :sunglasses:

For Leap 15.2, you may be lucky and won’t need to follow the legacy upgrade instructions: <https://en.opensuse.org/SDB:System_upgrade#Upgrading_from_Leap_%3C_15.2>

Which is completely unrelated to this question.

On a Leap version 15.4 and earlier, try to execute “zypper --releasever=15.5 refresh” without having installed the Leap 15.5 RSA signing keys …

  • I suspect that, the Leap 15.5 repositories will complain …
    Can’t verify that because, I upgraded an old Laptop (with Wayland and via WLAN) from Leap 15.4 to Leap 15.4 with the Leap 15.5 RSA signing keys installed when I executed “zypper --releasever=15.5 refresh” …

First upgrade to 15.3 by downloading the image here:
https://download.opensuse.org/distribution/leap/15.3/iso/openSUSE-Leap-15.3-3-DVD-x86_64-Build38.1-Media.iso
Burn it to a usb or dvd, boot from it, and select upgrade.
Then repeat the same steps for 15.4:
https://download.opensuse.org/distribution/leap/15.4/appliances/iso/openSUSE-Leap-15.4-CR-DVD-x86_64-Build31.412-Media.iso
Then for 15.5:
https://download.opensuse.org/distribution/leap/15.5/iso/openSUSE-Leap-15.5-DVD-x86_64-Media.iso

Moral of the story: Never leave a system for more than a year without security updates

Henk, the Release Notes for each and every Leap release are here: <https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/>

  • Alternatively, one should really document everything which was needed to be done at each Release Upgrade … :upside_down_face:

If we would have Cola, we would have a Rum-Cola if we would have rum.

Many of the questions here would not have been asked if one would have made notes of what one did :cold_sweat:

1 Like