PDA

View Full Version : yum update



induz
6th May 2006, 10:23 PM
i did some changes in yum.conf and now i cant update most of the software. how to resove it. my yum. conf is as below:

# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at http://www.fedorafaq.org/#yumconf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=0
gpgcheck=0
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=0
gpgcheck=0

REPOSITORY PUBLIC KEY: rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*

what should i do plz suggest?

bob
6th May 2006, 10:38 PM
Well, you need to change the 'enabled=0' to 'enabled=1' on both the base and updates. Most people are now putting those repositories in repos.d by the way, but they're fine there.