Bug 1224185

Summary: package openSUSE-repos-Leap break system
Product: [openSUSE] openSUSE Distribution Reporter: Christian Goll <cgoll>
Component: BasesystemAssignee: Lubos Kocman <lubos.kocman>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: cgoll, non.space.1
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Goll 2024-05-13 15:24:42 UTC
The configuration installed by the package `openSUSE-repos-Leap` breaks a leap 15.6 system completely as every run of
```
zypper up
```
will install `openSUSE:repo-*.repo` files which all have a broken baseurl, e.g.
```
baseurl=http://cdn.opensuse.org/distribution/leap${releasever}/repo/oss
```
where is must be 
```
baseurl=http://cdn.opensuse.org/distribution/leap/${releasever}/repo/oss
```
The only fix is to add this invalid URLs to `cdn.opensuse.org`
Comment 1 Christian Goll 2024-05-13 15:28:22 UTC
As work around, one can delete the package ` openSUSE-repos-Leap`
Comment 2 Lubos Kocman 2024-05-13 16:01:53 UTC
This is already fixed in last 15.6 build.

https://build.opensuse.org/package/rdiff/openSUSE:Leap:15.6/openSUSE-repos?linkrev=base&rev=9

Affected people can fetch the updated package from https://build.opensuse.org/projects/openSUSE:Leap:15.6/packages/openSUSE-repos:openSUSE-repos-Leap/repositories/standard/binaries

Or add missing slash to /usr/share/zypp/local/service/openSUSE/repo/repoindex.xml and run zypper ref -s
Comment 3 Christian Goll 2024-05-13 16:54:48 UTC
Still I would strongly recommend to add a rewrite rule to `cdn.opensuse.org` so that affected users will get the update automatically.
Comment 5 Fritz Hudnut 2024-05-22 15:44:57 UTC
(In reply to Christian Goll from comment #1)
> As work around, one can delete the package ` openSUSE-repos-Leap`

I tried to edit the repos in YaSt and then this morning I tried to remove this package . . . .

Running zypper still brings 29 questions to answer before the zyppering can take place.

Over here the problem is not resolved or fixed . . . .  Have a 29 questions thread on the forum . . . .