On 2023-08-26 13:37, Felix Miata wrote:
Daniel Bauer composed on 2023-08-26 15:06 (UTC+0200):
I want to update my main machine from 15.3 to 15.5 without a new install.
As much as I know it is easy:
- change the 15.3 repositories to 15.4 repos - run zypper dup - change 15.4 repos to 15.5 repos - run zypper dup
That's it. Am I right?
That's the traditional way, which still works, and I used just last night to upgrade an installation from 15.5 to 15.6 alpha. Andrei described the new $releasever/--releasever method.
That method doesn't always work for me. I would test by doing: zypper refresh --force --releasever 15.5 (I don't know if I got the syntax correct, I have bad internet, so can't test) Check in the output that all repos refresh correctly. If some don't, edit it. Me, I prefer the manual method.
Is there am automatic way to change all repos from one version to a new one, so that I don't have to search for all of them and do it manually?
sudo sed -i 's/15.3/15.4/g' /etc/zypp/repos.d/*repo
Yep. Then, read https://en.opensuse.org/SDB:System_upgrade https://en.opensuse.org/SDB:System_upgrade_to_Leap_15.4 You can also boot the DVD, and choose "upgrade": https://en.opensuse.org/SDB:Offline_upgrade -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))