How to change where zypper goes to get updates

I have 15 laptops and 30 virtual machines of openSUSE 15.3 all the laptops are clones of each other and 15 virtual machines are clones of each other UEFI and the other 15 are clones of each other in BIOS not UEFI.

Some are having issues seeing updates and others are not. 18 updated fine - 27 have not. This keeps happening so I have some patched and some not.

How can you force zypper to look at a different mirror?

This one worked:

zypper dup ; zypper up --allow-vendor-change
Repository 'Packman 15.3 Repository' is up to date.                             
Repository 'Update repository of openSUSE Backports' is up to date.             
Repository 'openSUSE-Leap-15.3-Non-Oss' is up to date.                          
Repository 'openSUSE-Leap-15.3-Oss' is up to date.                              
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up
to date.
                                                                                
Repository 'openSUSE-Leap-15.3-Update' is up to date.                           
Repository 'Skypeforlinux - stable' is up to date.                              
Repository 'TeamViewer - x86_64' is up to date.                                 
All repositories have been refreshed.
Loading repository data...
Reading installed packages...

The following 2 items are locked and will not be changed by any action:
 Available:
  kernel-preempt virtualbox-kmp-preempt

The following 7 packages are going to be upgraded:
  bluez dbus-1 dbus-1-x11 libbluetooth3 libdbus-1-3 libdbus-1-3-32bit lsb

7 packages to upgrade.
Overall download size: 2.0 MiB. Already cached: 0 B. After the operation, 4.0
KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libbluetooth3-5.55-3.3.1.x86_64
                                           (1/7), 133.6 KiB (321.1 KiB unpacked)
Retrieving: libbluetooth3-5.55-3.3.1.x86_64.rpm .............[done (26.4 KiB/s)]
Retrieving package libdbus-1-3-1.12.2-8.6.1.x86_64
                                           (2/7), 150.0 KiB (325.9 KiB unpacked)
Retrieving: libdbus-1-3-1.12.2-8.6.1.x86_64.rpm .............[done (37.8 KiB/s)]
Retrieving package libdbus-1-3-32bit-1.12.2-8.6.1.x86_64
                                           (3/7), 162.5 KiB (371.3 KiB unpacked)
Retrieving: libdbus-1-3-32bit-1.12.2-8.6.1.x86_64.rpm ......[done (566.5 KiB/s)]
Retrieving package dbus-1-x11-1.12.2-8.6.1.x86_64
                                           (4/7),  43.6 KiB ( 26.7 KiB unpacked)
Retrieving: dbus-1-x11-1.12.2-8.6.1.x86_64.rpm ...........................[done]
Retrieving package dbus-1-1.12.2-8.6.1.x86_64
                                           (5/7), 248.8 KiB (624.3 KiB unpacked)
Retrieving: dbus-1-1.12.2-8.6.1.x86_64.rpm ...............................[done]
Retrieving package bluez-5.55-3.3.1.x86_64 (6/7),   1.2 MiB (  4.9 MiB unpacked)
Retrieving: bluez-5.55-3.3.1.x86_64.rpm ....................[done (223.1 KiB/s)]
Retrieving package lsb-4.0.fake-lp153.2.3.1.x86_64
                                           (7/7),  14.1 KiB (  110   B unpacked)
Retrieving: lsb-4.0.fake-lp153.2.3.1.x86_64.rpm ..........................[done]

Checking for file conflicts: .............................................[done]
(1/7) Installing: libbluetooth3-5.55-3.3.1.x86_64 ........................[done]
(2/7) Installing: libdbus-1-3-1.12.2-8.6.1.x86_64 ........................[done]
(3/7) Installing: libdbus-1-3-32bit-1.12.2-8.6.1.x86_64 ..................[done]
(4/7) Installing: dbus-1-x11-1.12.2-8.6.1.x86_64 .........................[done]
(5/7) Installing: dbus-1-1.12.2-8.6.1.x86_64 .............................[done]
(6/7) Installing: bluez-5.55-3.3.1.x86_64 ................................[done]
(7/7) Installing: lsb-4.0.fake-lp153.2.3.1.x86_64 ........................[done]
Executing %posttrans scripts .............................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
Mon Jul 12 07:42:40 CDT 2021

This one does not

zypper dup ; zypper up --allow-vendor-change
Repository 'Packman 15.3 Repository' is up to date.                             
Repository 'Update repository of openSUSE Backports' is up to date.             
Repository 'openSUSE-Leap-15.3-Non-Oss' is up to date.                          
Repository 'openSUSE-Leap-15.3-Oss' is up to date.                              
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up
to date.
                                                                                
Repository 'openSUSE-Leap-15.3-Update' is up to date.                           
Repository 'Skypeforlinux - stable' is up to date.                              
Repository 'TeamViewer - x86_64' is up to date.                                 
All repositories have been refreshed.
Loading repository data...
Reading installed packages...

The following 2 items are locked and will not be changed by any action:
 Available:
  kernel-preempt virtualbox-kmp-preempt

The following 6 packages are going to be upgraded:
  bluez dbus-1 dbus-1-x11 libbluetooth3 libdbus-1-3 libdbus-1-3-32bit

6 packages to upgrade.
Overall download size: 2.0 MiB. Already cached: 0 B. After the operation, 4.0
KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libbluetooth3-5.55-3.3.1.x86_64
                                           (1/6), 133.6 KiB (321.1 KiB unpacked)
Retrieving: libbluetooth3-5.55-3.3.1.x86_64.rpm .................[error (6 B/s)]
Timeout exceeded when accessing 'http://download.opensuse.org/update/leap/15.3/sle/sle-sp3/x86_64/libbluetooth3-5.55-3.3.1.x86_64.rpm'.
Retrying in 30 seconds...
Retrieving: libbluetooth3-5.55-3.3.1.x86_64.rpm .................[error (6 B/s)]
Timeout exceeded when accessing 'http://download.opensuse.org/update/leap/15.3/sle/sle-sp3/x86_64/libbluetooth3-5.55-3.3.1.x86_64.rpm'.
Retrying in 30 seconds...
Retrieving: libbluetooth3-5.55-3.3.1.x86_64.rpm .................[error (6 B/s)]
Timeout exceeded when accessing 'http://download.opensuse.org/update/leap/15.3/sle/sle-sp3/x86_64/libbluetooth3-5.55-3.3.1.x86_64.rpm'.
Retrying in 30 seconds...
Retrieving: libbluetooth3-5.55-3.3.1.x86_64.rpm .................[error (6 B/s)]
Timeout exceeded when accessing 'http://download.opensuse.org/update/leap/15.3/sle/sle-sp3/x86_64/libbluetooth3-5.55-3.3.1.x86_64.rpm'.
Retrying in 30 seconds...
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.

Hi
You would have to manually do this, as in configure the mirror URL… so are all in the same location for updating? If so look at creating a RMT server and deploy locally…

I would like to do this - Is there a guide on how to do this - I assume some rsync would be involved. I have a usb drive that could house the files.

Does packagekit look at the RMT server rather than the existing ones in the repo or only the ones pointed to by the repo?

I have some Raspberry Pi4 that would make a good server - I currently mirror them today so the RMT server could be backed up. Easy to change the IP if the primary failed and make the backup the primary.

Hi
Yes, rsync caching etc… whilst SLE centric it works and available in openSUSE;

Looking into it - says needs 200gb of space and cannot run with apache server. All machine with enough space have apache server. Might have to make another VM that is big enough to do that.

Found master list of mirrors here: https://mirrors.opensuse.org/

look at the http entry for the mirror you want to try and it will give you the name to put in the repo to change.

SLES 15 SP3: SLES 15 SP3 | Repository Mirroring Tool Guide