[Spacewalk-list] Syncing Repos

Irwin, Jeffrey R jeff.irwin at perfect.com
Tue Apr 7 15:04:30 UTC 2015


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: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Irwin, Jeffrey R
Sent: Tuesday, April 07, 2015 9:08 AM
To: spacewalk-list at redhat.com
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: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Avi Miller
Sent: Tuesday, April 07, 2015 1:33 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Syncing Repos


> On 7 Apr 2015, at 3:18 pm, Irwin, Jeffrey R <jeff.irwin at perfect.com> 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
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list