FC13 network install using local repos

Patrick O'Callaghan pocallaghan at gmail.com
Tue Aug 17 23:25:16 UTC 2010


On Tue, 2010-08-17 at 19:12 -0400, Bill Davidsen wrote:
> I'm trying to do an install from a network export of the install DVD and 
> a repo created from /var/cache/yum which has every upgrade and install 
> RPM I've ever pulled off the network. I tried putting the copy of 
> /var/cache/yum in a subdirectory and running 'createrepo' (worked AFAIK) 
> but I can't seem to export the correct thing to get the repo used. I 
> thought the relative path was in the repodata subdir, but that doesn't 
> seem to be getting used.

If it's any use, here's my /etc/yum.repos.d/local.repo file:

name=Fedora Local Repo
failovermethod=priority
baseurl=file:///Repo
enabled=1

While /Repo contains:

$ ls /Repo
EFI     isolinux    repodata                       RPM-GPG-KEY-fedora-13-SPARC  RPM-GPG-KEY-fedora-sparc64
GPL     media.repo  RPM-GPG-KEY-fedora             RPM-GPG-KEY-fedora-i386      RPM-GPG-KEY-fedora-x86_64
images  Packages    RPM-GPG-KEY-fedora-13-primary  RPM-GPG-KEY-fedora-sparc     TRANS.TBL

(It's just a copy of the distro DVD, so YMMV).

poc



More information about the users mailing list