On 2021-10-28 12:16 a.m., Axel Braun wrote:
Am Donnerstag, 28. Oktober 2021, 06:56:06 CEST schrieb Darryl Gregorash:
On 2021-10-27 8:57 p.m., Robin Klitscher wrote:
....
I also use Packman and other update repos that don't accept the releasever parameter. At what point in the upgrade process 15.2 to 15.3 does one get to edit these URLs manually?
I can assure you that any repo that has the version number in it can be edited to use releasever. Just edit the repo url to replace 15.x with $releasever. You can do that in Yast/Repositories if you wish, to verify that it does work. Yast/zypper/whatever will replace the parameter with the current release version. This is what you will see:
URL: http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/ Raw URL: http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/
sed -i -e 's/15.2/\$releasever/g' /etc/zypp/repos.d/*.repo
does the job quite convenient
Cheers Axel
But using Yast doesn't require one to remember what for most people is an obscure command with a difficult syntax, nor where the repo files are stored :D