View Full Version : Yum.conf
vishnumrao
8th June 2005, 11:49 PM
I upgraded from FC3 to FC4T3. But i am not able to do a yum update.
Could someone post their yum.conf so that I can copy into mine.
also launching up2date says that i should upgrade to the newer version of up2date-4.4.23-4 before updating anything else. But installing graphically from the rhn site gives me an error that gnome-up2date is missing.
Any ideas? I am at my wits end figuring out a way to update.
Thanking you,
Vishnu Murahari Rao.
vishnumrao
8th June 2005, 11:57 PM
BTW I am runing FC4T3 on an amd64 machine. (Just in case you did not notice in my signature.)
Nels664868
9th June 2005, 12:19 AM
here is a list of all the repo files in one
[development]
name=Fedora Core $releasever - Development Tree
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
enabled=1
[extras-development]
name=Fedora Extras $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-devel
enabled=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
gpgcheck=0
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/test/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
[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=1
[updates-testing]
name=Fedora Core $releasever - $basearch - Test Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever
enabled=0
gpgcheck=1
# $Id: freshrpms.repo 2478 2004-11-11 22:44:01Z dude $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/3/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/3/mirrors-freshrpms
enabled=1
gpgcheck=1
vishnumrao
9th June 2005, 02:54 AM
I tried the yum.conf that was provided by Nels664868. But still get the same error. I dont have a clue to what the problem is. The following is the o/p of yum update.
[root@camp-94-30 yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
development 100% |=========================| 1.1 kB 00:00
extras-development 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Cannot open/read repomd.xml file for repository: extras
failure: repodata/repomd.xml from extras: [Errno 256] No more mirrors to try.
[root@camp-94-30 yum.repos.d]#
Any help appreciated.
vishnumrao
9th June 2005, 03:03 AM
Ok disabled the fedora-extras which i had in my yum.conf. Now its updating. Thank you for the help.
Can I configure my yum.conf to download the required stuff from a mirror which is located in my university. I happened to download a dvd iso and was stunned by the download speed. so to make things faster i would like to get all the stuff from the university mirror. Any ideas?
Nels664868
9th June 2005, 03:25 AM
if I remember right I disabled the extra.repo in the new install of FC4t3
edit the file /etc/yum.repo.d/fedora-extras.repo (i think thats what is called)
change 'enable=1' to 'enable=0"
that file is removed by an update
vishnumrao
9th June 2005, 03:28 AM
Yep thats right. I guessed after seeing your post. I already did that. Thanks a lot. Any ideas to the second part of my question in my earlier post.
Nels664868
9th June 2005, 03:31 AM
well you can edit each repo to point at the university mirror
vishnumrao
9th June 2005, 03:44 AM
Nels664868,
In your yum.conf I notice that you have gpgcheck=0 for the extras-development repo. Could you tell me why. I put gpgcheck =1. I did an yum update and got the following error. Could it because I put gpgcheck=1. When I started off with FC3 I was advised to always keep gpgcheck=1. I never thought why. Should I keep gpgcheck=0 or 1.
(326/329): mozilla-nspr-1 100% |=========================| 111 kB 00:00
(327/329): gkrellm-hddtem 100% |=========================| 15 kB 00:00
(328/329): hdparm-5.9-3.x 100% |=========================| 40 kB 00:00
(329/329): up2date-4.4.23 100% |=========================| 1.7 MB 00:05
unsigned package rsync-2.6.5-2.x86_64.rpm
vishnumrao
9th June 2005, 03:53 AM
I tried updating the kernel, gcc etc. Each time it stops the update because there is some unsigned package. Then I set gpgcheck=0 for the repos one at a time. setting gpgcheck=0 in the fedora-devel.repo solves it. I dont know why. Maybe some one could shed light on it. What is the significance of gpgcheck=1 or 0.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.