Bug 1200458

Summary: https_download-opensuse-org_repositories_devel:_languages:_R:_patched_15.4_] Valid metadata not found at specified URL
Product: [openSUSE] openSUSE Distribution Reporter: Nick Dordea <ndordea>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P1 - Urgent CC: andrii.nikitin
Version: Leap 15.4   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Nick Dordea 2022-06-12 18:50:23 UTC
A zypper ref ...... fails when using download.oo.org as well as when using mirrorcache.oo.org ....

Messages below ............


Repository 'R-patched' is invalid.
[R-patched|https://download.opensuse.org/repositories/devel:/languages:/R:/patched/15.4/] Valid metadata not found at specified URL
History:
 - File './repodata/e80bb246d27b395865b2dc981e7b02620a89005dfe7e60fc2fc50d5ae6d5a37b-primary.xml.gz' not found on medium 'https://download.opensuse.org/repositories/devel:/languages:/R:/patched/15.4/'
 - Can't provide ./repodata/e80bb246d27b395865b2dc981e7b02620a89005dfe7e60fc2fc50d5ae6d5a37b-primary.xml.gz
 
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'R-patched' because of the above error.
Could not refresh the repositories because of errors.
 
 Repository 'R-patched' is invalid.
[R-patched|https://mirrorcache.opensuse.org/repositories/devel:/languages:/R:/patched/15.4/] Valid metadata not found at specified URL
History:
 - File './repodata/e80bb246d27b395865b2dc981e7b02620a89005dfe7e60fc2fc50d5ae6d5a37b-primary.xml.gz' not found on medium 'https://mirrorcache.opensuse.org/repositories/devel:/languages:/R:/patched/15.4/'
 - Can't provide ./repodata/e80bb246d27b395865b2dc981e7b02620a89005dfe7e60fc2fc50d5ae6d5a37b-primary.xml.gz

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'R-patched' because of the above error.
Could not refresh the repositories because of errors.
Comment 1 Michael Andres 2022-06-13 10:56:55 UTC
It looks like there are currently issues with d.o.o and metalink. We get sporadic 404(file not found) from the server although the files are indeed present. Often after a 2nd attempt it succeeds for a while.

You can try to disable using metalink by calling `ZYPP_MULTICURL=0 zypper ref`. This falls back to using plain curl, which seems to work flawless.

*** This bug has been marked as a duplicate of bug 1200425 ***
Comment 2 Andrii Nikitin 2022-06-13 15:21:28 UTC
I cannot reproduce the problem at the moment, maybe it was related to a tweak I did for 1200425 , but it shouldn't affect behavior of mirrorcache.o.o
So please confirm if the problem is resolved or if any problems still exits.
Following Dockerfile was used to test:

from opensuse/leap:15.4
run zypper ar http://mirrorcache.opensuse.org/repositories/devel:/languages:/R:/patched/15.4 R
run zypper --gpg-auto-import-keys ref
run zypper -vvvn in R
Comment 3 Nick Dordea 2022-06-13 21:33:56 UTC
Hello, 

Late evening yesterday the repos were ok.  
zypper ref worked for download.o.o as well as mirrorcache,o.o .
Thank you for the tips.

Regrads,
ND