Can yum download to a pen-drive?

Patrick O'Callaghan pocallaghan at gmail.com
Thu Apr 24 17:16:37 UTC 2008


On Thu, 2008-04-24 at 17:09 +0100, Anne Wilson wrote:
> On Wednesday 23 April 2008 17:30, Patrick O'Callaghan wrote:
> >
> > # cat /etc/yum.repos.d/local.repo
> > [localrepo]
> > name=Fedora Local Repo
> > failovermethod=priority
> > baseurl=file:///Repo
> > enabled=1
> > #
> >
> > You need to create the Repo directory, containing Packages, and the
> > repodata folder (from the DVD) in it. In your case it should just work
> > directly, with the appropriate mods to baseurl in the local.repo file to
> > point to the mounted pendrive.
> >
> > Move any other .repo files to one side so they won't interfere, given
> > you have no network.
> >
> 
> For the time being I've added the local stanza to yum.conf (it does say you 
> can).  Unfortunately, it looks as though this is not going to work.  It says 
> it loaded refresh-packagekit, but then
> 
> Options Error: Error parsing '10': invalid boolean value
> 
> Any idea where that comes from?

Gawd knows. I'm no yum expert (sorry if I mislead you :-). I'd suggest
backing out the edit to yum.conf and just creating a repo file
in /etc/yum.repos.d like I did. See what happens.

poc




More information about the test mailing list