For the past couple of days, I’ve been trying to update my system. It downloads all the packages, they are already cached, but I get 404 error on openSUSE-build-key-1.0-68.1.x86_64.rpm :
Preloading: openSUSE-build-key-1.0-68.1.x86_64.rpm [Error: "Connection timed out after 60049 milliseconds", trying next mirror.]
Preloading: openSUSE-build-key-1.0-68.1.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: openSUSE-build-key-1.0-68.1.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: openSUSE-build-key-1.0-68.1.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
Preloading: openSUSE-build-key-1.0-68.1.x86_64.rpm [The requested URL returned error: 404]
Preload finished. [files missing] ............................................................................[done]
Installation has completed with error.
It looks like when I enter the second command it downloads the openSUSE-Tumbleweed-Non-Oss metadata successfully.
But for “openSUSE-Tumbleweed-Update” I get this:
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://download.opensuse.org/update/tumbleweed/] Failed to retrieve new repository metadata.
History:
- Timeout exceeded when accessing 'http://cdn.opensuse.org/update/tumbleweed/repodata/00d9058dc7c363292d7c12afda91929e5c21f1f4a89b2cd04e32b35b1496b3fef26bfb095c9073286c2cdb8d3abbca8d4a3575adecf5638bd14db7bdd84e8a3d-filelists-ext.xml.gz'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
sudo zypper ref -f
Forcing raw metadata refresh
Looking for gpg keys in repository openSUSE-Tumbleweed-Update.
gpgkey=http://download.opensuse.org/update/tumbleweed/repodata/repomd.xml.key
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata ........................................................................................................[error]
Repository 'openSUSE-Tumbleweed-Update' is invalid.
[repo-update|http://download.opensuse.org/update/tumbleweed/] Failed to retrieve new repository metadata.
History:
- Timeout exceeded when accessing 'http://cdn.opensuse.org/update/tumbleweed/repodata/00d9058dc7c363292d7c12afda91929e5c21f1f4a89b2cd04e32b35b1496b3fef26bfb095c9073286c2cdb8d3abbca8d4a3575adecf5638bd14db7bdd84e8a3d-filelists-ext.xml.gz'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
Forcing raw metadata refresh
Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ........................................................................................................[done]
Forcing building of repository cache
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache .............................................................................................................[done]
Forcing raw metadata refresh
Retrieving repository 'Open H.264 Codec (openSUSE Tumbleweed)' metadata .............................................................................................[done]
Forcing building of repository cache
Building repository 'Open H.264 Codec (openSUSE Tumbleweed)' cache ..................................................................................................[done]
Forcing raw metadata refresh
Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ............................................................................................................[done]
Forcing building of repository cache
Building repository 'openSUSE-Tumbleweed-Oss' cache .................................................................................................................[done]
Some of the repositories have not been refreshed because of an error.
Strange. It’s really slow and now I get the timeout error for the other repos as well:
sudo zypper dup
Refreshing service 'openSUSE'.
Retrieving repository 'repo-non-oss' metadata ...............................................................[error]
Repository 'repo-non-oss' is invalid.
[openSUSE:repo-non-oss|http://cdn.opensuse.org/tumbleweed/repo/non-oss] Failed to retrieve new repository metadata.
History:
- [|] Error trying to read from 'http://cdn.opensuse.org/tumbleweed/repo/non-oss'
- Timeout exceeded when accessing 'http://cdn.opensuse.org/tumbleweed/repo/non-oss/content'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'repo-non-oss' because of the above error.
Looking for gpg keys in repository repo-openh264.
gpgkey=https://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/repodata/repomd.xml.key
Retrieving repository 'repo-openh264' metadata ...............................................................[done]
Building repository 'repo-openh264' cache ....................................................................[done]
Retrieving repository 'repo-oss' metadata ...................................................................[error]
Repository 'repo-oss' is invalid.
[openSUSE:repo-oss|http://cdn.opensuse.org/tumbleweed/repo/oss] Failed to retrieve new repository metadata.
History:
- [|] Error trying to read from 'http://cdn.opensuse.org/tumbleweed/repo/oss'
- Timeout exceeded when accessing 'http://cdn.opensuse.org/tumbleweed/repo/oss/content'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'repo-oss' because of the above error.
Retrieving repository 'update-tumbleweed' metadata ..........................................................[error]
Repository 'update-tumbleweed' is invalid.
[openSUSE:update-tumbleweed|http://cdn.opensuse.org/update/tumbleweed] Failed to retrieve new repository metadata.
History:
- [|] Error trying to read from 'http://cdn.opensuse.org/update/tumbleweed'
- Timeout exceeded when accessing 'http://cdn.opensuse.org/update/tumbleweed/content'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'update-tumbleweed' because of the above error.
Some of the repositories have not been refreshed because of an error.
dist-upgrade: Due to the treatment of orphaned packages dist-upgrade depends on a proper
repository setup more than any other command. It must not continue if enabled repositories fail
to refresh. This may severely damage the system. If a failing repository is actually not needed,
it must be disabled. See 'man zypper' for more information about this command.
After that, I was able to update successfully. However, for the past 3–4 days, I’ve been getting this error again:
sudo zypper dup
Looking for gpg keys in repository repo-update.
gpgkey=http://download.opensuse.org/update/tumbleweed/repodata/repomd.xml.key
Retrieving repository 'repo-update' metadata .......................................................................................................................[error]
Repository 'repo-update' is invalid.
[repo-update|http://download.opensuse.org/update/tumbleweed/] Failed to retrieve new repository metadata.
History:
- Timeout exceeded when accessing 'http://cdn.opensuse.org/update/tumbleweed/repodata/437ac586b3f311a8028b05a226da39d34d526f1ac4923650d61306a0ca63daf3ddb2ebcb5c04716f39be331637356f947ef840c0d1633fdf25017fbe8339b61c-filelists-ext.xml.gz'.
Timeout reached Curl error (28)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'repo-update' because of the above error.
Some of the repositories have not been refreshed because of an error.
dist-upgrade: Due to the treatment of orphaned packages dist-upgrade depends on a proper
repository setup more than any other command. It must not continue if enabled repositories fail
to refresh. This may severely damage the system. If a failing repository is actually not needed,
it must be disabled. See 'man zypper' for more information about this command.
After playing around for a while I disabled geoip as a temporary fix. So now it downloads directly from download.opensuse.org: sudo nano /etc/zypp/zypp.conf