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

Re: Downloading everything under .../Everything .../Fedora



On Sat, Jun 21, 2008 at 13:24:02 +0100,
  Frank Murphy <frankly3d-fedoracore utvinternet com> wrote:
> What is the best method to download everything under
> the ../Everything .../Fedora from one of the mirrors wget?
> waht options
> 
> Need the F9 stuff for testing.

I have local mirrors of f9 final, f9 updates and f9 livna. I use lftp
to get updates to the repos (though f9 final doesn't change) and I modify the
repo definitions in /etc/yum.repos.d to point to the local mirror.
For example to get the i386 f9 final repo you can use the following command:
lftp -e 'mirror --delete-first --parallel=3 -c -e -v pub/fedora/linux/releases/9/Everything/i386/os/ /spare/fd' 209.132.176.220

Just replace 209.132.176.220 with an appropiate mirror near you.

The corresponding repo file has been changed to:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
baseurl=file:///spare/fd/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

If you are getting both i386 and x86_64, there is some overlap and you probably
want to use rsync so that you only get hardlinked files once.

The size of the f9 i386 repo is a bit over 13GB. The 9GB estimate was close
one or two releases ago.


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