[CentOS] How to download only packages?

Thu Aug 31 07:42:48 UTC 2006
Peter Kjellström <cap at nsc.liu.se>

On Thursday 31 August 2006 07:38, Rodrigo Barbosa wrote:
> On Thu, Aug 31, 2006 at 07:33:57AM +0200, Josep M. wrote:
> > Hello.
> >
> > I tried update but have some connection breaks and I would like download
> > only packages and when all will be downloaded install them.
> >
> > I tried --download-only feature but is not accepted in thiss version of
> > Yum.
> >
> > Any other ideas?
>
> I don't think it is possible with yum, at least with the version shipped on
> CentOS 4.

AFAIK there are two solutions:
* install the yum-downloadonly plugin (I think centos.karan.org has it)
* (quick'n dirty fix) hit ctrl-c when it has started downloading, this will 
make it 1) try another mirror, and 2) stop after downloading

..obviously I'll just sit back and drink my coffe if yum eats your children or 
makes your root-fs emulate /dev/random ;-), but both ways have worked for me 
in the past.

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060831/929005cf/attachment-0005.sig>