I tried to do an update this morning and was getting an error. I thought it might have been the system I was performing the update on so I built a VM from scratch using the 15.3 ISO and I have the same error on it.
Error building the cache:|] Failed to cache repo (1).
History:
‘repo2solv’ ‘-o’ ‘/var/cache/zypp/solv/repo-non-oss/solv’ ‘-X’ ‘/var/cache/zypp/raw/repo-non-oss’
/var/cache/zypp/raw/repo-non-oss/repodata/d15b68fe11b91da84a0d3cc619038b89b3e07cc7cef66de6ecbd8942fb075328-primary.xml.gz: repo_rpmmd: Opening and ending tag mismatch: link line 0 and head
at line 18:8
Skipping repository ‘Non-OSS Repository’ because of the above error.
This being your first post here: welcome to the openSUSE forums.
Besides from the answers to your problem, please, in the future, always tell what you are doing. We now have only an error message, but do not know what produced it.
And another important thing to know when you are posting computer text from the terminal:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
Henk - Thank you for the advice and information. It has been noted.
For clarity I have installed a fresh install of 15.3 leap on a VM. I did not use the online repo during the install due to the error posted above. I did not want to impact my install so chose an offline installation.
Once the install was completed I ran a zypper update and that is the error you see posted above.
I have tried to do a zypper ref and again same error.
All the other repos update normally the Non-OSS is the only one throwing this error.
Retrieving repository ‘Non-OSS Repository’ metadata …[done]Forcing building of repository cache
Building repository ‘Non-OSS Repository’ cache …[error]
Error building the cache:
|] Failed to cache repo (1).
History:
‘repo2solv’ ‘-o’ ‘/var/cache/zypp/solv/repo-non-oss/solv’ ‘-X’ ‘/var/cache/zypp/raw/repo-non-oss’
/var/cache/zypp/raw/repo-non-oss/repodata/d15b68fe11b91da84a0d3cc619038b89b3e07cc7cef66de6ecbd8942fb075328-primary.xml.gz: repo_rpmmd: Opening and ending tag mismatch: link line 0 and head
at line 18:8
Warning: Digest verification failed for file ‘ee24ec34e02082eb2b0f73e1679e5ac8ed98c6ab1f240860270e6ae2212c84e1-license.tar.gz’
[/var/tmp/AP_0xUw13ut/repodata/ee24ec34e02082eb2b0f73e1679e5ac8ed98c6ab1f240860270e6ae2212c84e1-license.tar.gz]
expected ee24ec34e02082eb2b0f73e1679e5ac8ed98c6ab1f240860270e6ae2212c84e1
but got dfedd778e780adbfae67617915fb7b41f7ced3836b01be7c48734f62ea5a7ea4
Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.
However if you made certain that the file with checksum ‘dfed…’ is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.
I am not sure if it was because I have been out of the office for over a week or if it was the clean and refresh either way it appears to have resolved the issue.