SUSE Support

Here When You Need Us

error: "gpg-pubkey-3cbbabee-5cb2e5e7" specifies multiple packages

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

Environment

SUSE Manager 4.3 Server


Situation

During channel synchronization on top of SUSE Manager Server, following errors occur:

Command '[/usr/bin/spacewalk-repo-sync, --channel, sle-module-live-patching15-sp5-updates-x86_64-sap, --type, yum, --non-interactive]' exited with error code 1: error: "gpg-pubkey-aec0a8f0-63cbd05d" specifies multiple packages:
error: "gpg-pubkey-3cbbabee-5cb2e5e7" specifies multiple packages:
error: "gpg-pubkey-350947f8-63cbd015" specifies multiple packages:
error: "gpg-pubkey-2b90d010-546fa819" specifies multiple packages:
error: "gpg-pubkey-caa96dfa-5cb2e7c0" specifies multiple packages:
:::
Unable to synchronize Spacewalk GPG keyring: name 'TimeoutExpired' is not defined
04:42:02 ERROR: Download failed: https://updates.suse.com/SUSE/Updates/SLE-Module-Live-Patching/15-SP5/x86_64/update/x86_64/kernel-default-livepatch-devel-5.14.21-150500.55.73.1.x86_64.rpm?uSceu_jYt9rBvRNXsXYc22ylSWKZ3u6T1Uk45ixe55MgYrX6ECJdinjhUTau1GGtxxPWpd5aBfylwJUHGefa02ha1U0AJuPCduWKrUzJ-FaR9y8P8weRv0FANC6-rhJaYBdNonb7rzwkxiIO-TVRChaI1H1AQcXGLA - [Errno 12] Timeout on https://updates.suse.com/SUSE/Updates/SLE-Module-Live-Patching/15-SP5/x86_64/update/x86_64/kernel-default-livepatch-devel-5.14.21-150500.55.73.1.x86_64.rpm?uSceu_jYt9rBvRNXsXYc22ylSWKZ3u6T1Uk45ixe55MgYrX6ECJdinjhUTau1GGtxxPWpd5aBfylwJUHGefa02ha1U0AJuPCduWKrUzJ-FaR9y8P8weRv0FANC6-rhJaYBdNonb7rzwkxiIO-TVRChaI1H1AQcXGLA: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 300 seconds').
04:42:02     1/1 : kernel-default-livepatch-devel-5.14.21-150500.55.73.1.x86_64.rpm (failed)

 

Resolution

1) Please stop taskomatic service to stop any ongoing channel synchronization:

# systemctl stop taskomatic.service

2) Copy the rpm database to a backup location:

# cp /var/lib/spacewalk/reposync/root/var/lib/rpm{,.bak}

3) Delete the contents of the old rpm database:

# rm -rf /var/lib/spacewalk/reposync/root/var/lib/rpm/*

4) Synchronize the channel again:

# spacewalk-repo-sync -vvv -c sle-module-live-patching15-sp5-updates-x86_64-sap

Cause

Duplicate gpg keys stored in SUSE Manager Server rpm database. 

Additional Information

In this context, when the download/synchronization times out with the following error: 'Operation too slow. Less than 1000 bytes/sec transferred the last 300 seconds:

1) Set reposync_timeout and reposync_minrate configuration values accordingly in /etc/rhn/rhn.conf

2) By default, when less than 1000 bytes per second are transferred in 300 secs, the download is aborted. The number of bytes per second  can be adjusted with reposync_minrate, and the number of seconds to wait with reposync_timeout.

reposync_minrate: This sets the low-speed threshold in bytes per second. If the server sends data slower than this for at least timeout seconds, the connection aborts.
reposync_timeout: Number of seconds to wait for a connection before timing out. This may be too short of a time for extremely overloaded sites.

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:000021565
  • Creation Date: 24-Sep-2024
  • Modified Date:14-Oct-2024
    • SUSE Manager Server
    • SUSE Manager

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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