SUSE Support

Here When You Need Us

Failed sync of PackageHub backports channel

This document (000021139) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager server 4.3

Situation

suse-packagehub-15-sp5-backports-pool-x86_64 and suse-packagehub-15-sp5-backports-pool-x86_64-sap channels fail to sync

2023/07/07 10:18:35 +02:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel', 'suse-packagehub-15-sp5-backports-pool-x86_64', '--type', 'yum', '--non-interactive']
2023/07/07 10:18:35 +02:00 Sync of channel started.
2023/07/07 10:20:48 +02:00 RepoMDError: Cannot access repository.

Repository 'suse-packagehub-15-sp5-backports-pool-x86_64' is invalid.
[suse-packagehub-15-sp5-backports-pool-x86_64|https://updates.suse.com/SUSE/Backports/SLE-15-SP5_x86_64/standard/?GKHhMLaqVI-6BSweudD2k0gHHFRFArs54gQHIcxP-swGf_dWXJ4vGtwdjC8gLewj9MuiuOz3bkyq9rHeLYVCMXRHpB67o2Zggs4f5F7Q6JWLkuy0G] Valid metadata not found at specified URL
History:
- Signature verification failed for repomd.xml
- Can't provide /repodata/repomd.xml

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'suse-packagehub-15-sp5-backports-pool-x86_64' because of the above error.
Could not refresh the repositories because of errors.

Resolution

Copy and paste public key manually from:

https://en.opensuse.org/openSUSE:Signing_Keys#openSUSE_Backports_project_signing_key_4096_bit_RSA 

Import created key on SUSE Manager server:

gpg --homedir /var/lib/spacewalk/gpgdir --import <filename>

See list of imported keys on SUSE Manager server:

gpg --homedir /var/lib/spacewalk/gpgdir --list-keys

Sync previously failing channel:

spacewalk-repo-sync -c suse-packagehub-15-sp5-backports-pool-x86_64

Cause

Old PackageHub/openSUSE backports gpg key is being used.

Additional Information

Public openSUSE signing keys:

https://en.opensuse.org/openSUSE:Signing_Keys

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021139
  • Creation Date: 18-Jul-2023
  • Modified Date:19-Jul-2023
    • SUSE Manager Server
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.