https://bugzilla.suse.com/show_bug.cgi?id=1194851 Bug ID: 1194851 Summary: autoyast replaces $releasever in add-on repos with the version number (e.g. 15.3) in /etc/zypp/repos.d files Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: AutoYaST Assignee: yast2-maintainers@suse.de Reporter: adaugherity@tamu.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 855378 --> https://bugzilla.suse.com/attachment.cgi?id=855378&action=edit AutoYaST add-on profile Summary: basically #1172477, but for AutoYaST I have the update repos added to my autoyast profile so that the latest packages are installed from the start, rather than having to do the install and then run updates. See the attached file for details. (It uses my internal mirror for most repos, but this issue applies equally to download.opensuse.org.) I've started using $releasever in the AY profile so I don't have to modify it for every new release. This works, but the generated /etc/zypp/repos.d/*.repo files contain the specific version (e.g. 15.3) rather than $releasever, so when it comes time to upgrade to the next release, the documented upgrade procedure of 'zypper --releasever ...' will not work. Example: <media_url>http://download.opensuse.org/update/leap/$releasever/sle/</media_url> in the AY profile gets turned into baseurl=http://download.opensuse.org/update/leap/15.3/sle in the repo file. Note that this only applies to the URL -- $releasever in the name is left unmodified. It looks like this issue was originally fixed in AutoYaST in #972046; more details on GitHub: https://github.com/yast/yast-add-on/pull/28#issuecomment-291116098 . However, the code has been refactored since then and it seems the bug has reappeared. -- You are receiving this mail because: You are on the CC list for the bug.