RE: "yum update" with most of the rpms already on a USB key?

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

 



On Mon, 2009-03-02 at 08:57 -0500, Robert P. J. Day wrote:
>   i thought of that and was fairly sure it would work, but that
> approach has two issues:
> 
> 1) i wasn't *absolutely* sure that yum doesn't squirrel away any
> accompanying meta-info as it's populating /var/cache/yum so i was a
> little nervous about just dumping a pile of extra rpms in there which
> yum itself didn't stash there.

put the files in /var/cache/yum/$repoid/packages

yum won't care.

> 
> 2) on some systems, /var might be a separate filesystem and just isn't
> capable of handling 1 or 2 Gig of packages tossed into it.  (yes,
> yes, symlinks, i know. :-)

symlinks, yes.



> 
> hence wanting to specify an additional local repository to be used
> in conjunction with the standard online one.  i'm still a little
> nervous about the earlier suggestion of:
> 

If you want to setup a local repo, go right ahead.

Then add that path as another repo in your yum configs.
Then set the cost for that repo to something lower than 1000 (man
yum.conf /cost)

-sv


-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux