Comment # 2 on bug 1203327 from
Found the issue (there was some old service entry that I experimented with,
that blocked remaining steps)

(removed openSUSE, trying to add it as "os" a different alias)

lkocman@lkocman:/etc/zypp/repos.d> sudo zypper as /Local/Service os
Setting new service osindeterminate indeterminate
Service 'os' has been successfully added.


(please notice the refreshing service leap ... which is not visible in the lr,
but blocks any further refresh, even if ignored)
localhost:/etc/zypp/repos.d # zypper ref -s
Refreshing service 'leap'.
Specified path '/Local/Service/repo/repoindex.xml' is not a directory:
dir:/Local/Service/repo/repoindex.xml
Abort, retry, ignore? [a/r/i/...? shows all options] (a):
^Clocalhost:/etc/zypp/repos.d # zy^C
localhost:/etc/zypp/repos.d # zypper ref -s
Refreshing service 'leap'.
Specified path '/Local/Service/repo/repoindex.xml' is not a directory:
dir:/Local/Service/repo/repoindex.xml
Abort, retry, ignore? [a/r/i/...? shows all options] (a): r
Specified path '/Local/Service/repo/repoindex.xml' is not a directory:
dir:/Local/Service/repo/repoindex.xml
Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Unexpected exception.
Unknown error reading from 'dir:/Local/Service/repo/repoindex.xml'
History:
 - SKIP request: User-requested skipping of a file
 - Specified path '/Local/Service/repo/repoindex.xml' is not a directory:
dir:/Local/Service/repo/repoindex.xml

Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.
localhost:/etc/zypp/repos.d # zypper ref



localhost:/etc/zypp/repos.d # sudo zypper lr
Repository priorities are without effect. All enabled repositories share the
same priority.

# | Alias                           | Name                                     
         | Enabled | GPG Check | Refresh
--+---------------------------------+----------------------------------------------------+---------+-----------+--------
1 | amdgpu                          | AMDGPU 22.20 repository                  
         | Yes     | (r ) Yes  | No
2 | amdgpu-proprietary              | AMDGPU 22.20 Proprietary repository      
         | No      | ----      | ----
3 | amdgpu-src                      | AMDGPU 22.20 repository                  
         | No      | ----      | ----
4 | devel_languages_ruby            | Ruby base project (15.4)                 
         | Yes     | (r ) Yes  | No
5 | devel_languages_ruby_extensions | Ruby Extensions (15.4)                   
         | Yes     | (r ) Yes  | No
6 | google-chrome                   | google-chrome                            
         | Yes     | (r ) Yes  | Yes
7 | home_dfaggioli_microos-desktop  | Branch project for package
patterns-microos (15.4) | Yes     | (r ) Yes  | No
8 | rocm                            | ROCm 5.2 repository                      
         | Yes     | (r ) Yes  | No
9 | science                         | Software for Scientists and Engineers
(15.4)       | Yes     | (r ) Yes  | No
localhost:/etc/zypp/repos.d # zypper rs leap
Removing service 'leap':
Service 'leap' has been removed.
localhost:/etc/zypp/repos.d # zypper ref -s
Refreshing service 'os'.
Adding repository 'repo-oss (15.4)'
....................................................................................................................[done]
Adding repository 'repo-oss-debug (15.4)'
..............................................................................................................[done]
Adding repository 'repo-oss-source (15.4)'
.............................................................................................................[done]
Adding repository 'repo-non-oss (15.4)'
................................................................................................................[done]
Adding repository 'repo-non-oss-debug (15.4)'
..........................................................................................................[done]
Adding repository 'update-oss (15.4)'
..................................................................................................................[done]
Adding repository 'update-oss-debug (15.4)'
............................................................................................................[done]
Adding repository 'update-non-oss (15.4)'
..............................................................................................................[done]
Adding repository 'update-non-oss-debug (15.4)'
........................................................................................................[done]
Adding repository 'update-backports (15.4)'
............................................................................................................[done]
Adding repository 'update-backports-debug (15.4)'
......................................................................................................[done]
Adding repository 'update-sle (15.4)'
..................................................................................................................[done]
Adding repository 'update-sle-debug (15.4)'
............................................................................................................[done]
All services have been refreshed.
Repository 'AMDGPU 22.20 repository' is up to date.                             
Repository 'Ruby base project (15.4)' is up to date.                            
Repository 'Ruby Extensions (15.4)' is up to date.                              
Repository 'google-chrome' is up to date.                                       
Repository 'Branch project for package patterns-microos (15.4)' is up to date.  
Retrieving repository 'repo-non-oss (15.4)' metadata
...................................................................................................[done]
Building repository 'repo-non-oss (15.4)' cache
........................................................................................................[done]
Retrieving repository 'repo-oss (15.4)' metadata
.......................................................................................................[done]
Building repository 'repo-oss (15.4)' cache
---------------------------------------------------------------------------------------------------------------[\]


You are receiving this mail because: