Re: forcing yum to download but not install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 19, 2011 at 10:39 AM, Alan McKay <alan.mckay@xxxxxxxxx> 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'.  This is also useful to prepare for where you
want to baby-sit an update but don't want to wait for the downloads to
happen.  A subsequent 'yum update' then goes very quickly.

> I finally have a RPM cache/proxy working and I just want to populate it.

Note that if you are using a squid or similar http proxy, it will work
to cache rpms as long as you have it configured to keep large files,
but if you don't modify each client you'll end up pulling a copy from
several different mirrors into your cache.

-- 
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux