LKBEN11469: Update OpenSuSE from 42.1 to 42.2.
Symptom
You need to upgrade your distribution from an older to a newer version.
Cause
Needed to get security fixes.
Solution
To update your distribution you can use the following as a guide. Before you start, I would recommend a backup.
//linstall sb-release, not needed but usefull to check.
zypper install lsb-release
//Backup the old repositories
cd /etc/zypp/
cd repos.d/
cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.old
//check your repositories and deactivate the ones you do not need
zypper lr
//deactivate repository nr. 1 (on my machine! You might not need to do this)
zypper mr -d 1
//enable the update repository (you might not need to do this)
zypper modifyrepo --enable repo-update
//make shure you are on the latest version
zypper update
//prepare the repositories for the update from 42.1 to 42.2
sed -i 's/42.1/42.2/g' /etc/zypp/repos.d/*.repo
//Repositories need to be refreshed
zypper refresh
//Start the distribution update
zypper dup
//you need to restart
Reboot
//check
lsb-release -a
//now you need the check your services. Is everything Ok with the system...
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 16/12/2020