My Oracle Support Banner

Spacewalk: Error "Could not retrieve mirrorlist - HTTP Error 404" While Trying to Sync a Channel from ULN (Doc ID 2697973.1)

Last updated on AUGUST 10, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

While trying to sync a channel using the command "spacewalk-repo-sync", found below HTTP error 404 message. But, there is no issue in downloading/syncing new rpm packages.

# spacewalk-repo-sync --channel=<Channel Label> --type=uln
15:07:27 ======================================
15:07:27 | Channel: <Channel Label>
15:07:27 ======================================
15:07:27 Sync of channel started.
15:07:27 Repo URL: uln:///<Channel Label>
The download URL is: https://linux-update.oracle.com/XMLRPC/GET-REQ/<Channel Label>
Could not retrieve mirrorlist https://linux-update.oracle.com/XMLRPC/GET-REQ/<Channel Label> error was
14: HTTP Error 404 - Not Found
15:07:32 Packages in repo: 8310
15:07:32 Packages passed filter rules: 377
15:07:46 No new packages to sync.
15:07:46 Repo uln:///<Channel Label> has 19 errata.
15:07:46 Sync of channel completed in 0:00:18.
15:07:46 Total time: 0:00:18

Log file doesn't show any error messages.

-- /var/log/rhn/reposync/<Channel Label>.log
2020/06/16 15:07:27 -07:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel=<Channel Label>', '--type=uln'
2020/06/16 15:07:27 -07:00 Sync of channel started.
2020/06/16 15:07:27 -07:00 Repo URL: uln:///<Channel Label>
2020/06/16 15:07:32 -07:00 Packages in repo: 8310
2020/06/16 15:07:32 -07:00 Packages passed filter rules: 377
2020/06/16 15:07:46 -07:00 No new packages to sync.
2020/06/16 15:07:46 -07:00 Repo uln:///<Channel Label> has 19 errata.
2020/06/16 15:07:46 -07:00 Sync of channel completed in 0:00:18.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.