On Wed, Jul 28, 2010 at 08:52:55AM -0400, Boris Epstein wrote: > On Wed, Jul 28, 2010 at 7:23 AM, Stephen Harris <lists at spuddy.org> wrote: > > [c5-local] > > name=CentOS-$releasever - Media > > baseurl=file:///RedHat/DVD/CentOS-5/ > > gpgcheck=1 > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 > > protect=1 > > priority=1 > > enabled=1 > > > > [update-local] > > name=CentOS-$releasever - Updates local > > baseurl=file:///RedHat/updates/centos$releasever/$basearch/ > > gpgcheck=1 > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 > > protect=1 > > priority=1 > > enabled=1 > > > > And, of course, disable the default repositories. > Why should I disable the default repositories, though? If you don't then you'll have the default internet based repositories _and_ your local mirror both providing packages at the same time, and you'll gain no benefit for having the local mirror. -- rgds Stephen