zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Upgrade opensuse 15.1 to 15.2

August 27, 2020 by Igor Drobot 4 Comments

openSUSE Leap 15.2 is available since beginning of July.
Now, one month after the release, I am sure its the best time to perform the Upgrade on the production systems.

Note, that it is always a good idea to:
– look into the upgrade release notes to make sure, you don’t run in any deprecations with your currently running software
– run a backup or a snapshot of the system, which will going to be upgraded
– run the upgrade steps inside a screen

After you read the release notes and run a backup, synchronize your system to the actual patch level:

zypper ref ; zypper up

Now you can safe update your repositories to 15.1 version:

sed -i 's/15.1/15.2/' /etc/zypp/repos.d/*
mv /etc/zypp/repos.d/openSUSE-15.1.0.repo /etc/zypp/repos.d/openSUSE-15.2.0.repo

The move step can fail, if your repository file name is different from the default one. But this is not a problem at all: The refresh process merely replaces needed repos.

Now, you are ready to run the upgrade process:

zypper refresh && zypper dup

Your system will have to be restarted at once, for all the changes to take effect and, thus, run the new system.

Filed Under: Linux

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Comments

  1. Petr says

    January 6, 2021 at 15:14

    After upgrade from DVD (the system was recognized as 15.1) the KDE etc. runs o.k.. Only the login screen shows a silly full-screen keyboard, from where by not so intuitive clicking the real login screen appears (but completely different from 15.1). That keyboard appeared first time after the above unsuccessful upgrade and persists.

  2. Petr says

    January 6, 2021 at 13:08

    I’m not sure why that happened, I even didn’t find a lp15.2 kernel although the above commands have shown nothing to update or upgrade. I try to upgrade from DVD. It only upgrades from default repositories, but seems safer.

  3. Igor Drobot says

    January 6, 2021 at 12:30

    Hi Petr,

    KDE can be annoying during updates and it’s require a special procedure. Try to reinstall KDE:


    zypper in -t pattern kde kde_plasma

  4. Petr says

    January 6, 2021 at 12:27

    Beware, this procedure didn’t work for me! I upgraded in similar manner from 42.3 to 15.0, then to 15.1, worked like a charm. But from 15.1 to 15.2 any more. Everything seems updated, but the boot options are same as in 15.1, new kernel probably is not installed. Needles to say, that I have no more my old 15.1. It doesn’t start KDE, only IceWM.

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok