FC 9 Extremely Slow System Update

  • Thread starter Thread starter neevarp
  • Start date Start date
  • Replies Replies 9
  • Views Views 2,975

neevarp

Regulars
Messages
1,492
Location
Trivandrum
ISP
Asianet DOCSIS 3.0
Decided to experiment with FC 9 this weekend and installed it on a spare pc. Everything works fine apart from the slow system update. I had left the PC on for the whole of today morning (2am to 8am) to download the updates during the BSNL free time and i find that it hasn't updated. Did some homework of my own and came to know we can add repositories mirrors near to our geographic location and thus speed up the whole updating process. Likewise i found IIT Chennai to be hosting the repo mirror in India. (Index of /fedora)

Now here is the query, how can i configure yum, so that the updating is done using IIT Chennai mirror only?

Please help me out.:(
 
Which file should i edit? fedora-updates.repo ?

My current fedora-updates.repo is as follows
Code:
[updates]name=Fedora $releasever - $basearch - Updatesfailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearchenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora[updates-debuginfo]name=Fedora $releasever - $basearch - Updates - Debugfailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora[updates-source]name=Fedora $releasever - Updates Sourcefailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
 
u need to comment mirrorlist and uncomment baseurl and set it accordinglyread yum.conf for details
 
The yum.conf present in etc has got the following entries only
Code:
[main]cachedir=/var/cache/yumkeepcache=0debuglevel=2logfile=/var/log/yum.logexactarch=1obsoletes=1gpgcheck=1plugins=1metadata_expire=1800installonly_limit=2# PUT YOUR REPOS HERE OR IN separate files named file.repo# in /etc/yum.repos.d
I have altered the fedora-updates.repo to
Code:
[updates]name=Fedora $releasever - $basearch - Updatesfailovermethod=prioritybaseurl=http://ftp.iitm.ac.in/fedora/updates/$releasever/$basearch/#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearchenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora[updates-debuginfo]name=Fedora $releasever - $basearch - Updates - Debugfailovermethod=prioritybaseurl=http://ftp.iitm.ac.in/fedora/updates/$releasever/$basearch/debug/#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora[updates-source]name=Fedora $releasever - Updates Sourcefailovermethod=prioritybaseurl=http://ftp.iitm.ac.in/fedora/updates/$releasever/SRPMS/#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Will this work?
 
ok just add '&country=IN' at the end of mirrorlist and it will only take IIT mirror.country=IN is better method i suppose as it doesnt require much change.sorry i am in a hurry have to go out. but i guess that this wud solve ur problemthere is no need to modify yum.conf... i asked u to read man page for parameter explanation.
 
Ahh okies, everything seems to be working fine now. And i am updating at 165 kBps :)Thanks amish, thanks a lot !! Reps added ...
 
^^Yep, i had tried it, but still the speeds were lagging. After switching to IIT Chennai mirror, the update speeds were awesome.
 
Back