Problem With YaST Online Update

I am using openSUSE Leap 15.3, 64-bit.
Every time that I run YaST Online Update it gets stuck at 50% while refreshing repositories. This happens every time, so I do not think that it is because some repositories are temporarily not available.
This is the list of repositories that I have set up:

**#** zypper repos 
Repository priorities are without effect. All enabled repositories share the same priority. 

#  | Alias                                 | Name                                                                                        | Enabled | GPG Check | Refresh 
---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+-------- 
 1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository                                                                          | Yes     | (r ) Yes  | Yes 
 2 | non-oss                               | Non-OSS Repository (Leipzig)                                                                | No      | ----      | ----
 3 | openSUSE-Leap-15.3-1                  | openSUSE-Leap-15.3-1                                                                        | No      | ----      | ----
 4 | openSUSE_Leap_15.3                    | Firefox Repository for Latest Version                                                       | Yes     | (r ) Yes  | Yes 
 5 | openSUSE_Leap_15.3_1                  | Packman Repository Alternative                                                              | Yes     | (r ) Yes  | Yes 
 6 | oss                                   | Main Update Repository Alternative                                                          | Yes     | (r ) Yes  | Yes 
 7 | oss_1                                 | Main Repository OSS (Leipzig)                                                               | No      | ----      | ----
 8 | repo-backports-debug-update           | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----
 9 | repo-backports-update                 | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes 
10 | repo-debug                            | Debug Repository                                                                            | No      | ----      | ----
11 | repo-debug-non-oss                    | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----
12 | repo-debug-update                     | Update Repository (Debug)                                                                   | No      | ----      | ----
13 | repo-debug-update-non-oss             | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----
14 | repo-non-oss                          | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes 
15 | repo-oss                              | Main Repository (OSS Repository)                                                            | Yes     | (r ) Yes  | Yes 
16 | repo-sle-debug-update                 | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----
17 | repo-sle-update                       | Update repository with updates from SUSE Linux Enterprise 15                                | No      | ----      | ----
18 | repo-source                           | Source Repository                                                                           | No      | ----      | ----
19 | repo-update                           | Main Update Repository                                                                      | No      | ----      | ----
20 | repo-update-non-oss                   | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes 
21 | skype-stable                          | skype (stable)                                                                              | Yes     | (r ) Yes  | Yes

Does anybody see where the problem is?

It is better to use:

zypper lr -d

so that we can also see the url for each repo. Otherwise we are just guessing from the repo name.

As root (or using “sudo”)
run the command:

zypper refresh

That should give information on which repo is causing problems .

Here we go:

**#** zypper lr -d 
#  | Alias                                 | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             
              | Service 
---+---------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------
--------------+-------- 
 1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/              
              |  
 2 | non-oss                               | Non-OSS Repository (Leipzig)                                                                | No      | ----      | ----    |   99     | rpm-md | http://suse.uni-leipzig.de/pub/ftp.opensuse.org/opensuse/distribution/leap/15.3/
repo/non-oss/ |  
 3 | nvidia                                | nvidia                                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/15.3                                  
              |  
 4 | openSUSE-Leap-15.3-1                  | openSUSE-Leap-15.3-1                                                                        | No      | ----      | ----    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-ASUS_DRW-24B1ST_j_F2D0CL045653                 
              |  
 5 | openSUSE_Leap_15.3                    | Firefox Repository for Latest Version                                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.3/          
              |  
 6 | openSUSE_Leap_15.3_1                  | Packman Repository Alternative                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.fau.de/packman/suse/openSUSE_Leap_15.3/                              
              |  
 7 | oss                                   | Main Update Repository Alternative                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://mirror.umd.edu/opensuse/update/leap/15.3/oss/                            
              |  
 8 | oss_1                                 | Main Repository OSS (Leipzig)                                                               | No      | ----      | ----    |   99     | rpm-md | http://suse.uni-leipzig.de/pub/ftp.opensuse.org/opensuse/distribution/leap/15.3/
repo/oss/     |  
 9 | repo-backports-debug-update           | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.3/backports_debug/                  
              |  
10 | repo-backports-update                 | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/backports/                        
              |  
11 | repo-debug                            | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/             
              |  
12 | repo-debug-non-oss                    | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/         
              |  
13 | repo-debug-update                     | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/oss/                        
              |  
14 | repo-debug-update-non-oss             | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/non-oss/                    
              |  
15 | repo-non-oss                          | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/               
              |  
16 | repo-oss                              | Main Repository (OSS Repository)                                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/                   
              |  
17 | repo-sle-debug-update                 | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/sle/                        
              |  
18 | repo-sle-update                       | Update repository with updates from SUSE Linux Enterprise 15                                | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/sle/                              
              |  
19 | repo-source                           | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/            
              |  
20 | repo-update                           | Main Update Repository                                                                      | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss/                              
              |  
21 | repo-update-non-oss                   | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/                          
              |  
22 | skype-stable                          | skype (stable)                                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://repo.skype.com/rpm/stable/                                              

The other command stalls after a few lines:

**#** zypper refresh 
Repository 'Packman Repository' is up to date.                                                                                                                                                                                                                                  
Repository 'nvidia' is up to date.                                                                                                                                                                                                                                              
Repository 'Firefox Repository for Latest Version' is up to date.                                                                                                                                                                                                               
Repository 'Packman Repository Alternative' is up to date.                                                                                                                                                                                                                      
Repository 'Main Update Repository Alternative' is up to date.                                                                                                                                                                                                                  
Repository 'Update repository of openSUSE Backports' is up to date.                                                                                                                                                                                                           

I think it is having trouble connecting.

If the order of refreshing is the same as the order of listing, then next to be refreshed is “repo-non-oss”.

You can try refreshing just that one, with:

zypper refresh repo-non-oss

and see if you get the same problem on just that one. And then maybe continue down the list of enabled repos to see where you have issues.

I just ran zypper refresh again and this time it did not stall:

**#** zypper refresh 
Repository 'Packman Repository' is up to date.                                                                                                                                                                                                                                  
Repository 'nvidia' is up to date.                                                                                                                                                                                                                                              
Repository 'Firefox Repository for Latest Version' is up to date.                                                                                                                                                                                                               
Repository 'Packman Repository Alternative' is up to date.                                                                                                                                                                                                                      
Repository 'Main Update Repository Alternative' is up to date.                                                                                                                                                                                                                  
Repository 'Update repository of openSUSE Backports' is up to date.                                                                                                                                                                                                             
Repository 'Non-OSS Repository' is up to date.                                                                                                                                                                                                                                  
Repository 'Main Repository (OSS Repository)' is up to date.                                                                                                                                                                                                                    
Repository 'Update Repository (Non-Oss)' is up to date.                                                                                                                                                                                                                         
Repository 'skype (stable)' is up to date.                                                                                                                                                                                                                                      
All repositories have been refreshed.



I just ran YaST Online Update and it stalls at 50% while refreshing software repositories…