How to – Upgrade OpenSuSE from Leap 15.1 to 15.2 or 15.3 is what will be covered in this brief tutorial. Just change the 15.2 to 15.3 in any of the steps below to switch to 15.3 instead.
zypper modifyrepo --enable openSUSE-Leap-15.1-Update
zypper ref
zypper up
This next part will change the repo’s to 15.2 and then we will start the fun part.
files="$(zypper lr -u | awk -F'|' '$4 ~ /Yes/ { gsub (" ", "", $2); r="/etc/zypp/repos.d/"$2".repo"; print r }')" for f in $files do echo "Backup of $f saved to /root/ before patching it up ..." cp -f "$f" /root/ sed -i 's+/leap/15.1+/leap/$releasever+' "$f" sed -i 's+15.1.1+15.2+' "$f" sed -i 's+15.1+15.2+' "$f" done
zypper --releasever=15.2 ref
zypper --releasever=15.2 dup
reboot
If you have any problems, just comment here and I will help you out the best I can or you can drop by our Skype Group chat: https://join.skype.com/ujkQ7i5lV78O . Hope this helps a lot of you out there.
]Make sure you copy mod_php7.conf to php7.confor the dynportal and audiostore conf files will cause apache to have errors. You can do so with the following command:
cp /etc/apache2/conf.d/mod_php7.conf /etc/apache2/conf.d/php7.conf
I hope this helps.
-Nox
How to - Fix "WARNING[2204]: acl.c:890 resolve_first: Unable to lookup 'SERVER_EXTERNAL_IP'" This error is the…
How to - Upgrade any Leap ViciBox install to Leap 15.6 A lot of people…
How to - Debug Webphones for ViciDial I get asked several times a day in…
How to - Set Up Load Balanced Phones and Calling for ViciDial Step 1: Ensure…
How to - Renew your certbot SSL cert when it fails enewing a Let's Encrypt…
Introducing the New and Improved Full White Label Theme for ViciDial 2025 Edition by CyburDial…
This website uses cookies.
View Comments
This is for 15.3
files="$(zypper lr -u | awk -F'|' '$4 ~ /Yes/ { gsub (" ", "", $2); r="/etc/zypp/repos.d/"$2".repo"; print r }')"
for f in $files
do
echo "Backup of $f saved to /root/ before patching it up ..."
cp -f "$f" /root/
sed -i 's+/leap/15.2+/leap/$releasever+' "$f"
sed -i 's+15.2.1+15.3+' "$f"
sed -i 's+15.2+15.3+' "$f"
done
Replace python repo with this one:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Leap_15.2/devel:languages:python:Factory.repo
zypper refresh
you will need to use the --allow-vendor-change option or you will likely answer 10 000 000 questions.
great addition, thank you