Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Just installed Fedora 10 in my desktop. I wanted to install filezilla and hence used, yum install filezilla. It took forever! I mean, the download speed was very very less. A few posts suggested me to add closer mirrors onto the yum.conf file. When I opened my yum.conf, it looked like this!
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
I really don't want to mess this file up. Can someone please direct me as to how should I go about adding repositories. Is there any format or anything?
you don't want to add repositories at all. If you look in /etc/yum.repos.d you'll see the actual repo's there... the yum.conf file there is just basic settings. In those repo files you'll probably be using a mirrorlist rather than a direct base url, so you'll have many many mirrors already configured, and fc10 will use the fastestmirror plugin by default so try to get a good fast mirror by default. you should need to do nothing really.
If F10 would be able to find the fastest mirror, why does my Yum download stuff in the window 4-16kbps? I mean, definitely my connection is not a problem as this desktop is part of my school and my other downloads or browsing is very very fast. Only Yum is very very very slow. Even while using the update manager, I found a similar problem.
What do you think?
Thanks again and looking forward to your reply,
Senthil
It's hard to really see a problem, which isn't something you want to here I know... yum uses libcurl or such like to very basically grab a file frmo the web, so you can just use wget or curl yourself to do the same. You could confirm that you ARE using a mirrorlist, and you might want to do a "yum clean all" to blow out any cobwebs. TBH, I don't really know how this fastest mirror plugin works, as I don't see it trying many mirrors... maybe it's just well hidden.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.