On 30/06/2020 10.27, Werner Flamme wrote:
Carlos E. R. schrieb am 24.06.20 um 23:05:
Ah, reminds me:
I edit the repos in /etc/zypp/repos.d/ with an editor (actually, with 'mc'), then I do:
you might do a »sed -i.bak 's|15\.1|15.2|g' *repo i« instead :). This leaves you with a .repo.bak file for each repo to go back to when necessary.
Well... I have this file: /etc/zypp/repos.d/openSUSE_Leap_15.1_Update.repo I will also change the filename.
Or you use $releasever in the baseurl lines, this is adapted automatically by zypper, as in <http://download.opensuse.org/repositories/security/openSUSE_Leap_$releasever/>. No bothering with changing URLs any more :)
This might work after adapdating /etc/os-release ;)
zypper clean zypper refresh
This also detects those problems.
That's always useful :)
I prefer being a bit paranoid here ;-) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)