Can yum download to a pen-drive?
Anne Wilson
cannewilson at googlemail.com
Thu Apr 24 16:09:51 UTC 2008
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?
Anne
More information about the fedora-test-list
mailing list