Bug 1029660

Summary: YUM dependency resolution error for rhnsd against official spacewalk repository
Product: [Community] Spacewalk Reporter: Bryan Schneiders <bschneiders>
Component: ReleaseAssignee: Clifford Perry <cperry>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-12 21:21:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1484117    

Description Bryan Schneiders 2013-11-12 21:08:11 UTC
Description of problem:

YUM install commands against the official spacewalk repositories fail because "rhnsd" appears to be missing from the repodata.


Version-Release number of selected component (if applicable):

Tested against:

http://yum.spacewalkproject.org/2.0/RHEL/5/x86_64/
http://yum.spacewalkproject.org/2.0/RHEL/6/x86_64/

How reproducible:

Always.

Steps to Reproduce:
1. rpm -Uvh http://yum.spacewalkproject.org/2.0/RHEL/6/x86_64/spacewalk-repo-2.0-3.el6.noarch.rpm

2. yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin

Actual results:

--> Finished Dependency Resolution
Error: Package: rhn-setup-2.0.1-1.el6.noarch (spacewalk)
           Requires: rhnsd
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:

Successful dependency resolution.

Additional info:

Installation succeeds if all packages are downloaded and installed from a local directory.  Manually reviewing the primary.xml.gz file suggests rhnsd is missing.

Comment 1 Bryan Schneiders 2013-11-12 21:21:08 UTC
My mistake.  There was some confusion about the server and client repositories.

Using the 2.0-client repo (which is what I had downloaded manually) works as expected.

http://yum.spacewalkproject.org/2.0-client/RHEL/6/x86_64/spacewalk-client-repo-2.0-3.el6.noarch.rpm

Comment 2 Eric Herget 2017-09-28 18:08:54 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.