- Can't provide ./repodata/b90c13c4109137df168df58fc18a84855c427951a351525331b55be774eae911-primary.

Hello I am installing Opensuse 15.2 on several machins since few days. All the installations worked fine till yesterday.

Today I get this message :

  • Can’t provide ./repodata/b90c13c4109137df168df58fc18a84855c427951a351525331b55be774eae911-primary.xml.gz

and the installation can not finish properly.

Any Idea of what is going on ?

Hello,

As people here are not clairvoyant, you could at least explain which way of installing you use and at which step the error is shown.

At a guess this is a message indicating an issue with the Zypp cache – the Zypp caches are located in ‘/var/cache/zypp/raw/’ …

  • You’ll have to search the ‘/var/cache/zypp/raw/’ directories for the Repository which is using the bad “???-primary.xml.gz” file [located in the “[i]repodata
    ” sub-directory] …

It seems that, you’re installing with an active network connection to obtain the latest package versions during the installation procedure –

  • What happens if, you install from a DVD or, an ISO image on a USB, without updating to the latest package versions during the installation?
  • Are you absolutely certain that, your access to the Internet is reliable?

You are the second who had problem with Leap 15.2 Update I have noticed today, so please wait, because the Repo was often new build and therefore you get another primary.xml.gz.

I have updated 15 minutes ago without no problems…

I have been having a problem with https://download.opensuse.org/update/leap/15.2/oss/repodata/ for two or three days now.

The contents of, and filenames in, that directory are changing every 3 or 4 minutes. Since a download of “primary.xml.gz” takes over five minutes for me, the resource becomes unavailable before the download is completed. This makes it virtually impossible to refresh my local repo cache, and the repo is outdated every four minutes.

Why would the contents need to change so often?

download.opensuse.org is a redirector, maybe the mirror you are directed is out of sync?
Can you try a different:
https://mirrors.opensuse.org/

I’m fairly certain that trying a different mirror would allow me to download the file since their contents don’t change every 3 to 4 minutes. In fact, every mirror I looked at is out of sync with https://download.opensuse.org/update/leap/15.2/oss/repodata/. (See below for a listing.) Even https://provo-mirror.opensuse.org/update/leap/15.2/oss/repodata/ lags by up to 12 minutes.

Using “YaST2 - repositories”, it starts downloading, it says, from download.opensuse.org. But, less than half way through the download, a message box pops up saying:

Cannot access installation media
and

File ‘./repodata/[blahblah]-primary.xml.gz’ not found on medium ‘http://download.opensuse.org/update/leap/15.2/oss

So it is apparently downloading from download.opensuse.org directly which would make sense if the current “primary.xml.gz” cannot be found on any mirror.

I suspect that download.opensuse.org/update/leap/15.2/oss/repodata/ might be experiencing an unusually heavy volume of traffic due to this issue which may be why I get a download speed of only about 80Kb/sec.

A few of the mirrors I’ve looked at are:
https://mirror.umd.edu/opensuse/update/leap/15.2/oss/repodata/
http://mirror.siena.edu/opensuse/update/leap/15.2/oss/repodata/
http://distro.ibiblio.org/opensuse/update/leap/15.2/oss/repodata/ (over two weeks out of sync)

Why would the contents of https://download.opensuse.org/update/leap/15.2/oss/repodata/ need to change every 3 to 4 minutes?

Similar experience with …/15.2/oss repo. Very slow downloads from all repos, less than 10 Mbps usually and as low as 2 o3 3 Mbps when starting on-line update.

On a Leap 15.2 system, I just got:


File './repodata/b5c4d64f79618bee1f6470e338fce7f3a20bfcc6c125706bab8b4abc4c54d67b-primary.xml.gz' not found on medium 'http://download.opensuse.org/update/leap/15.2/oss/'

That was from the update applet.

At a root command line, I then did:

zypper refresh -f

And that was successful. After that, an update was successful (I use Yast Online Update).

I realize this won’t help if you run into problems in the middle of an install. I usually install from the DVD, and say “no” to using online repos. I then update after the install. This avoids network issues during the install itself.

However, there do currently seem to be problems with the 15.2 repos or the redirector. I should not have needed that “zypper refresh -f”.

Thanks to all of you for yours reactions to my query,

My network is configured with static IP and works fine.

I am installing several machines via the net since few days and yesterday 7/9/21 was the first time I had this problem.

I never tried to change default repos during installation, I can check later in the week.

@nrickert
thanks, at least I will use DVD’s as you suggest

For more complete info here, on the command line I did a “zypper refresh” (without the ‘force’ option). All my repos except for the Main Update Repository were up to date, and the update repo failed to refresh:

Repository ‘Main Update Repository’ is invalid.
[repo-update|http://download.opensuse.org/update/leap/15.2/oss] Valid metadata not found at specified URL
History:

  • File ‘./repodata/aa6c657f9a996e6307f0370a55a2bdf4b70f42580b2858f0ea50fd3ed44f4988-primary.xml.gz’ not found on medium ‘http://download.opensuse.org/update/leap/15.2/oss
  • Can’t provide ./repodata/aa6c657f9a996e6307f0370a55a2bdf4b70f42580b2858f0ea50fd3ed44f4988-primary.xml.gz

I then did “zypper refresh -f” (with the force option). All but the Update repo refreshed successfully, and that one gave a similar message:

Repository ‘Main Update Repository’ is invalid.
[repo-update|http://download.opensuse.org/update/leap/15.2/oss] Valid metadata not found at specified URL
History:

  • File ‘./repodata/086096c6397cb57338f521e850ef817d1e17af65b92336142fbc39ce4042cf65-primary.xml.gz’ not found on medium ‘http://download.opensuse.org/update/leap/15.2/oss
  • Can’t provide ./repodata/086096c6397cb57338f521e850ef817d1e17af65b92336142fbc39ce4042cf65-primary.xml.gz

Just FYI.

No such message here. Repo http://download.opensuse.org/update/leap/15.2/oss/ readily refreshes.

I think I may be redirected to different mirrors at different times. So the “zypper refresh -f” probably worked using a different mirror.

Around 2 weeks ago, I tried to update one system and got a similar error. They I tried to update another system, and it worked. I later went back to the first system, and the update then worked there.

It looks as if there is a bad mirror out there somewhere.

This is from my primary/24/7 LAN server:

# zypper ref
...
Building repository 'PackmanE' cache ..................................................................................................................................................[done]
Retrieving repository 'Update' metadata ..............................................................................................................................................[error]
Repository 'Update' is invalid.
[Update|http://download.opensuse.org/update/leap/15.2/oss/] Valid metadata not found at specified URL
History:
 - File './repodata/476299b85f786720cf2e58602bbfc3c1932bdfa9245d58f90ab21335b59dd2a5-primary.xml.gz' not found on medium 'http://download.opensuse.org/update/leap/15.2/oss/'
 - Can't provide ./repodata/476299b85f786720cf2e58602bbfc3c1932bdfa9245d58f90ab21335b59dd2a5-primary.xml.gz

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Update' because of the above error.
Repository 'UpdateNonOSS' is up to date.
Some of the repositories have not been refreshed because of an error.
# cat /etc/zypp/repos.d/Update.repo
[Update]
autorefresh=1
baseurl=http://download.opensuse.org/update/leap/15.2/oss/
enabled=1
name=Update
keeppackages=0
type=NONE

It was the same several hours ago. Everything else on the LAN and Internet is working normally.

The Packet Manager Plasmoid (on KDE – possibly the GNOME thingy has the same behaviour) uses “zypper refresh --force” –

  • to forcibly update the RPM Package Meta Data at every refresh for patches and/or updates …

A bug has been reported, apparently about or related to this: Repository is regnerating so fast zypper ref never completes.

Some feedback,

back to my installations today and all of them worked fine.

No need to do special commands.

I used the DVD image and answered yes to the online repos query.

This error continues on that repo’ - pretty much any time of day and on multiple different machines and update levels.
The file name given at the failure continues to differ with each failure.

I managed to zypper ref a bit over two hours ago, but trying again now it failed again.

Having the same problem here on 2 computers. primary.xml.gz’ not found on medium… And I went to the URLS the XML file is not there ,opensuse 15.2…been 3 weeks since I updated …Whats going on with opensuse?