![](https://seccdn.libravatar.org/avatar/a836ff90f492078f494adcf0c6059fc6.jpg?s=120&d=mm&r=g)
Daniel Bauer composed on 2022-04-02 22:27 (UTC+0200):
I've seen now that only some had the $releasever variable. In one I could replace /15.1/ by /$releasever/ but others had URLS like http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.1/ and I don't know how to change them to a $releasever-URL...
so I just changed the number.
I have around 30 15.2, 30 15.3, and 20 15.4 installations. Most at one time were 15.1 or 15.0 or older, and upgraded with zypper to get to where they are. All their .repo files include the literal version number within the URI lines. The vast majority are actually using copies of the very same files. At first installation of an alpha I create a "standard" .repo file set. Each set gets copied to wherever needed over the LAN. At release, each gets a new timestamp to match the release date, so e.g. for 15.3 they now show up like so: # ls -Gg /etc/zypp/repos.d/*repo -rw-r--r-- 1 246 Jun 2 2021 /etc/zypp/repos.d/KDE3.repo -rw-r--r-- 1 137 Jun 2 2021 /etc/zypp/repos.d/Libdvdcss.repo -rw-r--r-- 1 260 Jun 2 2021 /etc/zypp/repos.d/Mozilla.repo -rw-r--r-- 1 153 Jun 2 2021 /etc/zypp/repos.d/NonOSS.repo -rw-r--r-- 1 143 Jun 2 2021 /etc/zypp/repos.d/OSS.repo -rw-r--r-- 1 235 Jun 2 2021 /etc/zypp/repos.d/Packman.repo -rw-r--r-- 1 255 Jun 2 2021 /etc/zypp/repos.d/PackmanE.repo -rw-r--r-- 1 129 Jun 2 2021 /etc/zypp/repos.d/Update.repo -rw-r--r-- 1 240 Jul 27 2021 /etc/zypp/repos.d/UpdateBP.repo -rw-r--r-- 1 145 Jun 2 2021 /etc/zypp/repos.d/UpdateNonOSS.repo -rw-r--r-- 1 135 Jun 2 2021 /etc/zypp/repos.d/UpdateSLE.repo For the first six months following release, these listings included TOD, which for 15.3 was 15.03. There's one date/time stamp exception for 15.3, since all ultimate defaults didn't exist on the release date. I use OFMs, so file listings the vast majority of the time resemble the above list. As a result, changes to standards I typically notice on visit to various config directories, leading to question why, and whether I want it to stick. Note the names each contain only one instance of the string ".repo". -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata