Spacewalk: Spacewalk-repo-sync Fails with Error "[Errno 256] No more mirrors to try"

(Doc ID 2327748.1)

Last updated on NOVEMBER 27, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.

Symptoms

spacewalk-repo-sync command fails with the following error;

spacewalk-repo-sync --channel <channel name>
======================================
| Channel: <channel name>
======================================

Repo URL: http://public-yum.oracle.com/repo/OracleLinux/OLX/*
Packages in repo: 39534
Packages already synced: 32148
Packages to sync: 1
1/1 : <package name>
failure: getPackage/<package name>.rpm from <channel name>: [Errno 256] No more mirrors to try.
Linking packages to channel.
Repo http://public-yum.oracle.com/repo/OracleLinux/OLX/* has comps file comps.xml.
<open file '/var/cache/rhn/reposync/<channel name>/comps.xml', mode 'r' at 0x33f6270>
Sync completed.
Total time: 0:07:29



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms