15.3 Leap and Non-OSS repo

Is anyone having an issue with the non-oss repo?

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.

Does anyone have a resolution for this?

I am not having any problems with the non-oss repo.

Earlier today, I ran into problems (invalid metadata) on the SUSE updates repo. But that is now fine.

You were probably redirected to a mirror that was not yet fully synchronized. Wait an hour or two, and try again.

Hello schrammbo,

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.

An example is here: Using CODE tags Around your paste.

Regards,

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.

Hi
Can you add some verbosity and force a refresh to see what may be happening (likewise no issues here with Leap 15.3);


zypper -vvv ref -f

Here is what I am getting.

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

Skipping repository ‘Non-OSS Repository’ because of the above error.
Forcing raw metadata refresh
Retrieving: http://download.opensuse.org/distribution/leap/15.3/repo/oss/media.1/media …[done]
Retrieving: http://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/repomd.xml.asc …[done]
Retrieving: http://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/repomd.xml.key …[done (988 B/s)]
Retrieving: http://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/repomd.xml …[done]
Repository: Main Repository
Key Name: openSUSE Project Signing Key <opensuse@opensuse.org>
Key Fingerprint: 22C07BA5 34178CD0 2EFE22AA B88B2FD4 3DBDC284
Key Created: Mon May 5 03:37:40 2014
Key Expires: Thu May 2 03:37:40 2024
Rpm Name: gpg-pubkey-3dbdc284-53674dd4
Retrieving: http://download.opensuse.org/distribution/leap/15.3/repo/oss/repodata/ee24ec34e02082eb2b0f73e1679e5[done]

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.

Unblock or discard? [dfed/…? shows all options] (discard): dfed
Retrieving repository ‘Main Repository’ metadata …[done]
Forcing building of repository cache
Building repository ‘Main Repository’ cache …[done]
Forcing raw metadata refresh
Retrieving: http://download.opensuse.org/update/leap/15.3/sle/media.1/media …[not found]
Retrieving: http://download.opensuse.org/update/leap/15.3/sle/repodata/repomd.xml.asc …[done]
Retrieving: http://download.opensuse.org/update/leap/15.3/sle/repodata/repomd.xml.key …[not found]
Retrieving: http://download.opensuse.org/update/leap/15.3/sle/repodata/repomd.xml …[done]
Repository: Update repository with updates from SUSE Linux Enterprise 15
Key Name: openSUSE Project Signing Key <opensuse@opensuse.org>
Key Fingerprint: 22C07BA5 34178CD0 2EFE22AA B88B2FD4 3DBDC284
Key Created: Mon May 5 03:37:40 2014
Key Expires: Thu May 2 03:37:40 2024
Rpm Name: gpg-pubkey-3dbdc284-53674dd4
Retrieving repository ‘Update repository with updates from SUSE Linux Enterprise 15’ metadata …[done]
Forcing building of repository cache
Building repository ‘Update repository with updates from SUSE Linux Enterprise 15’ cache …[done]
Skipping disabled repository ‘Source Repository’
Forcing raw metadata refresh
Retrieving: http://download.opensuse.org/update/leap/15.3/oss/media.1/media …[not found]
Retrieving: http://download.opensuse.org/update/leap/15.3/oss/repodata/repomd.xml.asc …[done]
Retrieving: http://download.opensuse.org/update/leap/15.3/oss/repodata/repomd.xml.key …[done]
Retrieving: http://download.opensuse.org/update/leap/15.3/oss/repodata/repomd.xml …[done]
Repository: Main Update Repository
Key Name: openSUSE Project Signing Key <opensuse@opensuse.org>
Key Fingerprint: 22C07BA5 34178CD0 2EFE22AA B88B2FD4 3DBDC284
Key Created: Mon May 5 03:37:40 2014
Key Expires: Thu May 2 03:37:40 2024
Rpm Name: gpg-pubkey-3dbdc284-53674dd4
Retrieving repository ‘Main Update Repository’ metadata …[done]
Forcing building of repository cache
Building repository ‘Main Update Repository’ cache …[done]
Forcing raw metadata refresh
Retrieving: http://download.opensuse.org/update/leap/15.3/non-oss/media.1/media …[not found]
Retrieving: http://download.opensuse.org/update/leap/15.3/non-oss/repodata/repomd.xml.asc …[done]
Retrieving: http://download.opensuse.org/update/leap/15.3/non-oss/repodata/repomd.xml.key …[done]
Retrieving: http://download.opensuse.org/update/leap/15.3/non-oss/repodata/repomd.xml …[done (793 B/s)]
Repository: Update Repository (Non-Oss)
Key Name: openSUSE Project Signing Key <opensuse@opensuse.org>
Key Fingerprint: 22C07BA5 34178CD0 2EFE22AA B88B2FD4 3DBDC284
Key Created: Mon May 5 03:37:40 2014
Key Expires: Thu May 2 03:37:40 2024
Rpm Name: gpg-pubkey-3dbdc284-53674dd4
Retrieving repository ‘Update Repository (Non-Oss)’ metadata …[done]
Forcing building of repository cache
Building repository ‘Update Repository (Non-Oss)’ cache …[done]
Some of the repositories have not been refreshed because of an error.

But you used QUOTE tags and not CODE tags.
And the line with the command is not included in the copy/paste. :frowning:

Hi
See if a clean helps…


su -
zypper -vvv clean -a
zypper -vvv ref -f

malcolmlewis that appears to have worked.

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.