Ladislav Slez�k changed bug 1176044
What Removed Added
Assignee yast2-maintainers@suse.de martin.schlander@gmail.com

Comment # 7 on bug 1176044 from
Unfortunately there is a fundamental problem: the repositories do not (or even
cannot) specify for which product (version) they are intended for.

So when doing an upgrade YaST by default removes all repositories. But you can
re-enable (some repositories work with several distro version) or change to URL
to point to a new version repository.


> "Should I (zypper) try to update the URLs for those repositories, allowing to update the community packages as well?"

That's difficult, you cannot reliably detect and change the URL to point to a
new repository. The version might not even be present in the URL.



The correct solution for this issue is to use the "$releasever" variable in all
repositories. That's actually already used even in 15.1, see
https://download.opensuse.org/YaST/Repos/_openSUSE_Leap_15.1_Default.xml .

(But IIRC that was changed later, in the 15.1 release time the URLs had
hardcoded "15.1" version, so maybe it depends when you added the repositories.)


The problem with Packman and NVidia is that these repositories do not use
"$releasever" in the URL, see 
https://opensuse-community.org/openSUSE_Leap_151_Community_Additional.xml
https://opensuse-community.org/openSUSE_Leap_152_Community_Additional.xml

These files are maintained by community (note a different host in the URL).


Reassigning to Martin Schlander to fix the URLs...

(Actually I have complained about that issue a year ago, see
https://bugzilla.suse.com/show_bug.cgi?id=1141654#c7)


You are receiving this mail because: