On Tue, Sep 03, 2013 at 11:47:25AM +0100, John Rowe wrote: > Until now there seems to have been no _robust_ way of using a local > repository for yum updates.
Say what? $ more /etc/yum.repos.d/triumfcs-mirror-SL6.repo ... [triumfcs-mirror-sl] name=Scientific Linux $releasever - $basearch baseurl=file:///triumfcs/mirror/SL/$releasever/$basearch/os enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern cost=100 ... Note the "cost=100" entry makes yum use this local repo instead of the remote stock SL repo. > 1. Am I the only one finding using a local repository to be irksome, or > is everybody else just smarter than I am? Yes. -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
