Problems retrieving package sources in Suse Linux.
Today I had an unsightly error in Suse Linux:
Repository 'SUSE:SLE-15-SP2:GA' is invalid. [https-download.opensuse.org-c828fe9f|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Valid metadata not found at specified URL History: - [https-download.opensuse.org-c828fe9f|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Repository type can't be determined. Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'SUSE:SLE-15-SP2:GA' because of the above error. Retrieving repository 'SUSE:SLE-15-SP1:GA' metadata ..................................................................................[error] Repository 'SUSE:SLE-15-SP1:GA' is invalid. [https-download.opensuse.org-cb8756a6|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Valid metadata not found at specified URL History: - [https-download.opensuse.org-cb8756a6|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Repository type can't be determined. Please check if the URIs defined for this repository are pointing to a valid repository.
Remove invalid package source URLs
Apparently I had snuck in some invalid package sources here, no idea why. In any case, after some searching with Google I found what I was looking for. All package sources without “Tumbleweed” in the name can go.
The following URLs are necessary and must remain:
After that a “sudo zypper clean”, “sudo zypper refresh” and “sudo zypper update”. Everything then ran through without problems.