Bug ID 1174403
Summary $releasevers is not working in one of my /home Repos
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@suse.de
Reporter Sauerlandlinux@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When I change my URL in the Repos as mentionend in the Wiki:
sed -i 's/15.1/$releasever/g' /etc/zypp/repos.d/*.repo
all Repos are changed, but if I refresh or update this is showing:
Retrieving repository 'Sauerland-Leap-15.1-Update' metadata
................................................................................................................................................[error]
Repository 'Sauerland-Leap-15.1-Update' is invalid.
[Sauerland-Leap-$releasever-Update|https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_$releasever_Update/]
Valid metadata not found at specified URL
History:
 -
[Sauerland-Leap-$releasever-Update|https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_$releasever_Update/]
Repository type can't be determined.

This is zypper lr -d with the other /home Repo:
6 | Sauerland-Leap-$releasever        | Sauerland-Leap-15.1        | Ja       
| (r ) Ja         | Ja             |   30      | rpm-md   |
https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_15.1/ 
             | 
 7 | Sauerland-Leap-$releasever-Update | Sauerland-Leap-15.1-Update | Ja       
| ( p) Ja         | Ja             |   30      | NONE     |
https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_$releasever_Update/
| 


If I change the URL to:
https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_15.1_Update/

all is working.
LANG=C zypper ref
Repository 'Enlightenment' is up to date.                                       
Repository 'Graphics' is up to date.                                            
Repository 'KDE-Extra' is up to date.                                           
Repository 'Programme-rpm' is up to date.                                       
Repository 'rpmbuild' is up to date.                                            
Repository 'Sauerland-Leap-15.1' is up to date.                                 
Repository 'Sauerland-Leap-15.1-Update' is up to date.                          
Repository 'Sauerland-kernel' is up to date.                                    
Repository 'XFCE' is up to date.                                                
Repository 'kernel-stable' is up to date.                                       
Repository 'libdvdcss' is up to date.                                           
Repository 'packman' is up to date.                                             
Repository 'Debug-Repository' is up to date.                                    
Repository 'Non-OSS' is up to date.                                             
Repository 'OSS' is up to date.                                                 
Repository 'OSS-Update' is up to date.                                          
Repository 'Non-OSS-Update' is up to date.                                      
All repositories have been refreshed.


You are receiving this mail because: