How to upgrade 15.6 to 16.0

Hy, have here a plain vanilla 15.6 KDE I wanted to upgrade today to 16.0 following the wiki.

First try, as usual, with zypper --releasever 16 dup, but that didn’t work, as the format of the repo files changed. (Same in Debian, but the old version still works, just saying…).

Next try, installing the migration tool, then starting the migration tool as root, but for minutes nothing happens, have tried 3 times.

So: What’s next?

Nothing has changed. You misinterpreted something, but as you again did not provide any information we have no idea what it was.

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

I tried zypper --releasever 16 dup and got many errors on repo refresh, so I tried this migration tool, which failed, so what to try next?

Apparently the migration tool has added repos with the CDN, which I don’t want, had dedicated repos/mirrors before, so big mess now in /etc/zypp/repos.d

No idea how to start up cleaning this mess…

I agree that this article is not helpful at all. It points to the XML document that many users will not understand instead of providing the actual repository definitions.

The standard install defines two enabled repositories with URL

http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64
http://codecs.opensuse.org/openh264/openSUSE_Leap_16

If you do not like cdn.opensuse.org replace it with download.opensuse.org

That is all that you need for a standard install. There are no update repositories anymore. There is also non-oss repository:

http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/x86_64

you may want to enable/define it too for update.

how about packman? :slight_smile:

I have no idea. You should know whether you used anything from this repository or not.

You marked this topic as “Solved”. When you have other questions better start a new topic.

I didn’t mark anything, sorry.

So I did zypper dup wih the repos arvidjaar suggested, worked fine, reboot, OK.

Then I added KDEextra (kaffeine needed for DVB-S2) and packman (vlc and codes). Did zypper dup --allow-vendor-change, which updated vlc, codecs, kaffeine, fine. But underway it removed the kernel-default etc. no idea why.

On reboot I hang on Grub menu, complaining it found no kernel. No it get’s tricky…

Any ideas how to get my kernel back?

Yes you did. See your first post above. And only the topic starter can do so.

Can you remove that, dunno how that happend. Not my intention, not helpful at that stage at all…

The system is dualboot with TW, so if I know which file to download and where to place it in / I see a chance to get my kernel back. Help!

I’ve unmarked that post as the solution for you.

Slightly OT (but maybe helpful for other users in the future).

@arvidjaar and @suse_rasputin
Can you check the SDB again? I overworked the instructions to be more in order. Also the differences between the repos is now described better.

I think this is much better! Thanks.

Many, many thanks!

Any ideas how to get my kernel back? :frowning:

When the kernel package got removed, you should be able to install it with
zypper in kernel-default

This has to be done from the broken Leap system (not TW). If you only have a tty, make sure to boot with network access.

But it is possible that more than only the kernel got removed.

Hy!

Did a chroot from TW and opened yast, it said kernel 6.12 installed, so I went to “boot loader” in yast and re-installed Grub from there, but on reboot Grub complains, that kernel 6.4 (?!?!?) is not installed. See attached.

What a mess!

Tried to re-install kernel-default in chroot, but:

 # sudo zypper in kernel-default
Loading repository data...
Reading installed packages...
'kernel-default' is already installed.
Package 'kernel-default' is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
Resolving package dependencies...
Nothing to do.

Next try: chroot again, found out that the Leap 16 repo had been removed at some stage, re-added it. Un-installed kernel 6.12 from yast and re-installed it. To be sure, I went to “Boot Loader” in yast, edited some kernel option, to update Grub and rebooted.

Unbelievable, but the same error in Grub, it expects kernel 6.4 and can’t find it.

What now? :open_mouth: