From one location where I work frequently, I get an error with one Repository:
~>zypper refresh
Repository 'nVidia' is up to date.
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ................................................................[error]
Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid.
[repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
History:
- Timeout exceeded when accessing 'http://cdn.opensuse.org/tumbleweed/repo/non-oss/repodata/3270bf6d144b42505d0e4df5c2e663d8e00b3b1ee292f3cc606ecfaddfe0d09a-susedata.xml.gz'.
- Can't provide ./repodata/3270bf6d144b42505d0e4df5c2e663d8e00b3b1ee292f3cc606ecfaddfe0d09a-susedata.xml.gz
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
Repository 'openSUSE-Tumbleweed-Oss' is up to date.
Repository 'openSUSE-Tumbleweed-Source' is up to date.
Repository 'openSUSE-Tumbleweed-Update' is up to date.
Some of the repositories have not been refreshed because of an error.
All of the other repositories work, and even this repository works from other locations. I am guessing this is a problem with a specific mirror of that repository, which is being picked from this location? But, how do I find out if this is the problem, and what can I do about it?
Network error in the cdn. Just try to run the operation again, and it should clear itself up.
That is what I thought at first. But this has been going on consistently, for several months. Only at this one location, only with that one repository.
I suggest dropping the cdn then, and going back to regular mirrors.
“Back to regular mirrors”? What do I need to change. Currently, I have:
~>zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+--------------+-----------------------------+---------+-----------+---------+----------+----------+---------------------------------------------------------------------+--------
6 | nVidia | nVidia | Yes | (r ) Yes | Yes | 144 | rpm-md | https://download.nvidia.com/opensuse/tumbleweed |
7 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | N/A | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
8 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
9 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ |
10 | repo-source | openSUSE-Tumbleweed-Source | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
11 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
I’ve not used the cdn, so I’m not entirely certain, but I suspect, if you’ve got the package openSUSE-repos-* installed, uninstalling it will revert you to using the standard mirror setup.
zypper se -i openSUSE-repo
should tell you if you have any of the packages installed.
Check /var/cache/zypp/geoip.d/
.
~>zypper se -i openSUSE-repo
Loading repository data...
Reading installed packages...
No matching items found.
~>ls -l /var/cache/zypp/geoip.d/
total 4
-rw-r--r-- 1 root root 17 2024-01-17 10:15:08 download.opensuse.org
~>cat /var/cache/zypp/geoip.d/download.opensuse.org
cdn.opensuse.org
But, I am at a different location today.