Re: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Becker, Robert
There's a script on the wiki page called create channel by update, or something along those lines. Use that to create individual channels for each RH version and update you want. The big monolithic channel is my base channel. On Jun 25, 2009, at 5:19 PM, "Wojtak, Greg" wrote: Am I

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Mike Hanby
Yah, that's strange, rhnget provides the option " --download-all " which would imply that the omission of the option would cause rhnget to only download the latest version. -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behal

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Wojtak, Greg
Am I missing something or is there a way to only download rpm's that are newer than, say, the 5.3 release? Basically all the updates (only) since then? I was hoping to set it up in a similar manner to CentOS with a base channel as the release and then a child channel for updates. How are you

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Mike Hanby
ditto, thanks Rob, I'm up to glibc-2.3.. and counting rhnget is pulling every single minor revision, sheesh :_) -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Wojtak, Greg Sent: Thursday, June 25, 2009 3:25 PM To: sp

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Wojtak, Greg
I figured it out - I grabbed the 0.8.6 source and simply did make install, and this includes the proper libraries. I'm off and running now, just need to wait for updates to download. Thanks! -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redh

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Mike Hanby
How did you install mrepo? using 'make install' or an RPM, or other? -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Wojtak, Greg Sent: Thursday, June 25, 2009 10:43 AM To: spacewalk-list@redhat.com Subject: RE: [Spacewalk

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Wojtak, Greg
I've tried this, but get: # gensystemid -u -p '' --release=4ES --arch=i386 /opt/apps/spacewalk/mrepo/4ES-i386 And get a python traceback: Traceback (most recent call last): File "/usr/bin/gensystemid", line 8, in ? from up2date_client import config, rpcServer, up2dateErrors ImportError: N

RE: [Spacewalk-list] FW: WEB TRACEBACK from spacewalk.lnholdings.com

2009-06-25 Thread Mike Hanby
Here are the tracebacks I keep getting: com.redhat.rhn.manager.kickstart.cobbler.NoCobblerTokenException: We had an error trying to login. at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:57) at com.redhat.rhn.frontend.integration.In

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Mike Hanby
Thanks Rob, I'll give that a try. I have a whole drawer full of EL4 workstation entitlements, so that won't be a problem. -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Rob Becker Sent: Thursday, June 25, 2009 10:05 AM T

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Rob Becker
As long as you have entitlements RHEL is easy. Use mrepo to download the files. Here's my quick document on it. - tar xvf mrepo-0.8.6.tar - cd mrepo-0.8.6/ && make install - cp rhel4es.conf /etc/mrepo.conf.d - cp mrepo.conf /etc/ - vi /etc/sysconfig/rhn/sources - add : up2date default -

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Wojtak, Greg
I think I have a plan for RHEL. I will try and piece it together and let you all take a look and see what you think. From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Mike Hanby Sent: Thursday, June 25, 2009 10:51 AM To: 'spacewalk-list@redhat.com'

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Mike Hanby
Here's what I do to allow me to download multiple distros / architectures on my spacewalk server. My spacewalk server is running CentOS 5 x86_64. say I stage everything in /var/www/html/pub/- as suggested in the wiki, for example CentOS5-x86_64, i'll create a /var/www/html/pub/CentOS5-i386/yum

RE: [Spacewalk-list] FW: WEB TRACEBACK from spacewalk.lnholdings.com

2009-06-25 Thread Mike Hanby
Are these the latest versions? I'm having a similar issue with the spam from the SW server, although I admit I didn't have the correct settings in my cobbler/settings file (fixed now thanks to your post). spacewalk-java.noarch 0.5.47-1.el5

RE: [Spacewalk-list] reposync RHEL repositories on Centos Spacewalk

2009-06-25 Thread Wojtak, Greg
The only other thing I can think of is to use the -n(?) option to only grab the newest RPM's, compare against what's on the latest DVD iso, and then only rhnpush what's not there into an updates channel the same way CentOS does. Is there a good way to compare two rpm's and see which one is newer