FC13 network install using local repos
Bill Davidsen
davidsen at tmr.com
Wed Aug 18 13:40:25 UTC 2010
Patrick O'Callaghan wrote:
> 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:
>
Thanks, my problem is getting the cached RPMs to work. Let me try to explain a
bit more.
In the past, the /var/cache/yum had directories for repos, like 'updates,'
'rawhide,' and 'updates-testing.' Now the structure is pushed down and looks
like this.
/var/cache/yum
|-- i386
| `-- 12
| |-- adobe-linux-i386
| |-- fedora
| |-- fedora-debuginfo
| |-- installed
| |-- rawhide
| |-- rawhide-debuginfo
I can't seem to export that in a way that the network installer will use it when
I specify it as an additional repo. Note this was a handy example, I'm actually
using FC13, both 32 and 64 bit.
I don't know if the fault lies in the export or the createrepo, but it would
speed upgrades no end if I could do things this way.
> 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
>
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list