[Spacewalk-list] package installs failing

Jan Pazdziora jpazdziora at redhat.com
Tue Sep 20 08:22:03 UTC 2011


On Tue, Sep 13, 2011 at 10:34:27AM -0500, Dustin Tenney wrote:
> I setup a new spacewalk 1.5 with pgsql.   Having trouble getting packages to
> install.   When trying to install a package from the web interface or yum I
> get:
> 
> Error: failed to retrieve repodata/primary.sqlite.bz2 from centos5-base
> error was [Errno 14] HTTP Error 404: Not Found
> 
> I created the channels in the web interface and populated them with:
> 
> /usr/bin/spacewalk-repo-sync --channel centos5-base \
>                              --url
> http://mirror.centos.org/centos/5/os/x86_64/ \
>                              --type yum
> 
> After doing that I see all the packages listed in the web interface, but
> can't install anything.   I see this in the apache logs:
> 
> "GET /XMLRPC/GET-REQ/centos5-base/repodata/primary.sqlite.bz2 HTTP/1.1" 404
> 
> I noticed if I looked in /var/cache/rhn/reposync/centos5-base it has only a
> primary.sqllite.
> 
> What did I do wrong here?  Thanks for the help.

What are the values

	Last Modified
	Last Repo Build
	Repo Cache Status

on the channel Details page? In other words, were the repodata
generated properly?

If they were not, you might want to check the taskomatic log file.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list