[TriLUG] anyone have a working CentOS yum.conf?

Owen oberry at trilug.org
Wed Nov 21 11:03:36 EST 2007


------- begin /etc/yum.conf -----
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel \
 kernel-largesmp kernel-largesmp-devel kernel-hugemem           \
 kernel-hugemem-devel
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
plugins=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
------- end /etc/yum.conf -----

Note the line wrap for installonlypkgs.

On Wed, Nov 21, 2007 at 10:29:31AM -0500, Greg Brown wrote:
> My is hosed.  This could be the reason to finally upgrade to Ubuntu server,
> or plain Debian but... what a pain.
> 
> If anyone has one that is working sending it along would be greatly
> appreciated.



More information about the TriLUG mailing list