Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
> > http://www.gurulabs.com/goodies/guru-guides/YUM-automatic-local-mirror/ >> > oh man, that is one nasty, dirty hack! I'm jealous I did not think of it myself :-) -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" _

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
> > That is one advantage of the way automirror worked, since it was > specific to yum it didn't mind the mirror configuration. > Yes, would be nice if it worked for me :-( > One way around the mirror list issue is pointed out by Guru labs > (though I admit hijacking the DNS seems heavy handed)

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread William Hooper
On Mon, Dec 19, 2011 at 2:11 PM, Alan McKay wrote: >> >> I've got automirror working on my CentOS 5.x machines.  I can't say >> I'm a real expert with it, but if you post your symptoms maybe I can >> help you troubleshoot it. >> >> > Thanks but I've already been chatting with the author who is stu

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
> > Disable the mirrorlist line in the .repo file and point it at one > specific mirror? > Yeah that is what I can do - should work Though I'm thinking at this point my easiest solution will be to take my laptop home and rsync an entire repo to it, then take it back and rsync it to my server. U

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread John Broome
On Mon, Dec 19, 2011 at 14:11, Alan McKay wrote: >> >> I've got automirror working on my CentOS 5.x machines.  I can't say >> I'm a real expert with it, but if you post your symptoms maybe I can >> help you troubleshoot it. >> >> > Thanks but I've already been chatting with the author who is stump

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
> > I've got automirror working on my CentOS 5.x machines. I can't say > I'm a real expert with it, but if you post your symptoms maybe I can > help you troubleshoot it. > > Thanks but I've already been chatting with the author who is stumped at this point - so I'm just going to give up. He said

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread William Hooper
On Mon, Dec 19, 2011 at 1:10 PM, Alan McKay wrote: [snip] > I had already tried this one but it was not working, so decided to go with > squid > http://terrarum.net/administration/caching-rpms-with-automirror.html I've got automirror working on my CentOS 5.x machines. I can't say I'm a real expe

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Ljubomir Ljubojevic
Vreme: 12/19/2011 07:04 PM, cliff here piše: > I would highly advise against trying to time a CTRL-C in a specific amount > of time. Not sure why you would even try and do that when, that's the exact > purpose of the yum-download only which is easier to install and run then > wait for a whole upda

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Les Mikesell
On Mon, Dec 19, 2011 at 12:10 PM, Alan McKay wrote: >> > Though I just discovered that my squid proxy is not in fact working.  So > now I  have to go figure out why not :-( > The default config won't cache large files. And yum will try to use different mirrors every time. -- Les Mikesell

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
On Mon, Dec 19, 2011 at 12:38 PM, cliff here wrote: > Alan, if your worried about keeping an up to date repository locally and > consistently, then yes cobbler is the way to go. If all you want to do is > an update and save off the RPMS once.. then use the yum download only > plugin. > It will p

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread cliff here
I would highly advise against trying to time a CTRL-C in a specific amount of time. Not sure why you would even try and do that when, that's the exact purpose of the yum-download only which is easier to install and run then wait for a whole update to complete and try and manually kill the job. Sor

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Ljubomir Ljubojevic
Vreme: 12/19/2011 05:39 PM, Alan McKay piše: > Hey folks, > > Is there any way to fake a "yum update" just to get yum to force a download > of all the files it needs, without actually installing them. > > I finally have a RPM cache/proxy working and I just want to populate it. > The server I want t

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread cliff here
Alan, if your worried about keeping an up to date repository locally and consistently, then yes cobbler is the way to go. If all you want to do is an update and save off the RPMS once.. then use the yum download only plugin. On Mon, Dec 19, 2011 at 12:23 PM, Alan McKay wrote: > On Mon, Dec 19, 2

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
On Mon, Dec 19, 2011 at 12:02 PM, cliff here wrote: > Which is why you should use cobbler because it does all that for you. > I actually just installed cobbler a few weeks ago and will look into it for this to see if it has a way to grab a repository without rsync -- “Don't eat anything you've

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
> > Why not just mirror the CentOS repo with rsync? > Well, for one - rsync is blocked by our firewall :-( Yes, even outgoing. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ Ce

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Les Mikesell
On Mon, Dec 19, 2011 at 10:56 AM, Ryan Wagoner wrote: > On Mon, Dec 19, 2011 at 11:39 AM, Alan McKay wrote: > >> Hey folks, >> >> Is there any way to fake a "yum update" just to get yum to force a download >> of all the files it needs, without actually installing them. >> >> I finally have a RPM

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread William Hooper
On Mon, Dec 19, 2011 at 11:42 AM, cliff here wrote: > You can use the yum download-only plugin, I'll second the download-only plugin. It is also useful when upgrading point releases because you can download all the packages locally to stage the install, then perform the actual install in smaller

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Les Mikesell
On Mon, Dec 19, 2011 at 10:39 AM, Alan McKay wrote: > Hey folks, > > Is there any way to fake a "yum update" just to get yum to force a download > of all the files it needs, without actually installing them. Do a 'yum install yum-downloadonly', and then you can 'yum -y --downloadonly update'. Th

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread cliff here
Which is why you should use cobbler because it does all that for you. On Mon, Dec 19, 2011 at 11:56 AM, Ryan Wagoner wrote: > On Mon, Dec 19, 2011 at 11:39 AM, Alan McKay wrote: > > > Hey folks, > > > > Is there any way to fake a "yum update" just to get yum to force a > download > > of all the

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Ryan Wagoner
On Mon, Dec 19, 2011 at 11:39 AM, Alan McKay wrote: > Hey folks, > > Is there any way to fake a "yum update" just to get yum to force a download > of all the files it needs, without actually installing them. > > I finally have a RPM cache/proxy working and I just want to populate it. > The server

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread cliff here
Oh but keep in mind if you enable keep cache in your repo file it will still install them, just it will keep a copy as well. Keep that in mind. On Mon, Dec 19, 2011 at 11:42 AM, cliff here wrote: > You can use the yum download-only plugin, or you can enable a keep cache > variable in your /etc/y

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Eero Volotinen
2011/12/19 Alan McKay : > Hey folks, > > Is there any way to fake a "yum update" just to get yum to force a download > of all the files it needs, without actually installing them. > > I finally have a RPM cache/proxy working and I just want to populate it. > The server I want to actually update can

Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread cliff here
You can use the yum download-only plugin, or you can enable a keep cache variable in your /etc/yum.repos.d/yourfile.repo. Don't remember the syntax off the top of my head. However a quick google search should turn them both up. Other option if you want to sync a repo you can check out an applicati