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…
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.
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:
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.
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.
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”.
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:
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.
# 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.
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.
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?