I got the repos to populate.  I found the path on the linux server to 
oraclelinux6-x86_64 which was /var/cache/rhn/repodata/.  I changed that setting 
in the UI for RPM repository mount point on the spacewalk configuration page.  
I entered that path and the repo is now populating.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Irwin, Jeffrey R
Sent: Tuesday, April 07, 2015 9:08 AM
To: [email protected]
Subject: Re: [Spacewalk-list] Syncing Repos

Avi,
I get the same error

spacewalk-repo-sync -c oraclelinux6-x86_64 -u 
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
#### Channel label: oraclelinux6-x86_64#### Repo URL: 
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
ERROR: [Errno 2] No such file or directory: ''
Sync completed.
Total time: 0:00:00

If I configure through the UI it populates with no packages either.  I am not 
sure what directory or file it is looking for here?



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Avi Miller
Sent: Tuesday, April 07, 2015 1:33 AM
To: [email protected]
Subject: Re: [Spacewalk-list] Syncing Repos


> On 7 Apr 2015, at 3:18 pm, Irwin, Jeffrey R <[email protected]> wrote:
> 
> I tried both ways, using http and uln.  Both returned the same error, 
> no such file or directory

ULN is completely invalid, so no point testing that with a 
public-yum.oracle.com URL. The correct URL for the ol6_latest repo is:

So, the correct command is:

# spacewalk-repo-sync -c oraclelinux6-x86_64 -u 
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/

Or, configure a Repository in the UI and link the repo to the channel, so you 
don't need to specify the URL in the command-line at all.

CHeers,
Avi

--
Oracle <http://www.oracle.com>
Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and 
Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to