[Fedora 9]Update system or software extremely slow
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Fedora 9]Update system or software extremely slow
I've just installed fedora 9. Everything's fine but the update speed is extremely slow. I've spent 5 mins for downloading 449 KB . Maybe the repositories are too far from my location (Vietnam).
Is there any way to solve this problem, please ?
Thank you, guys.
I don't use the graphical updater/package manager for a start.
Try "yum update" as root from a terminal. If it goes too slow on a particular repo, hit ctrl-C, and it should move to the next mirror. This seems to cause yum to die after downloading updates, so you need to run yum update again to get it to do the installation. Fortunately it doesn't try to redo the download.
Give it a go.
Edit - you'll probably need to turn off the automatic updates feature to avoid yum conflicts (ie it may tell you there is another yum process running and die)
Last edited by billymayday; 06-23-2008 at 12:50 PM.
I have similar problems on my system updates in Fedora 9 - and I followed this thread and tried both 'yun install yum-fastestmirror' and 'yum update'.
Problem with 'fastestmirror' is that it times out and keeps switching to the next site and I had to eventually abort.'yum update' kept doing the same thing, but eventually downloaded the two packages. Overall took more than 30 mins. It seemed an inordinate amount of time for the download (3.2MB total). The GUI previously ran for two hours without getting anything done.
My Ubuntu seems real efficient in this respect at least.
Would seem that its an ISP problem - but with the same connection my other downloads from gmail, music, etc in Fedora 9 there is no problem. I can typically download a 5MB file in a couple of minutes. If I can find an rpm file its a whole quicker to download and then install rather than go thru yum. I have no problems with Ubuntu and XP.
Trying to figure out how to remove the existing yum / update manager and re-install to see if it makes a difference.
The man yum says that yum clean all cleans packages, headers, metadata and dbcache. See below:
"yum clean all
Runs yum clean packages and yum clean headers, yum clean meta-
data and yum clean dbcache as above"
I noticed that PackageKit had a problem and keeps getting stuck in "Getting package info..." - even when I don't ask for this - which I have to manually cancel to allow it to proceed with downloading etc. Also yum had a problem updating or downloading some file called "primary.sqlite.bz2" (or something - I didn't have the sense to note the name), whose size ( anything from 2MB to 8MB) seemed to vary with every mirror site that yum accessed. Yum never finished downloading this file - it always timed out, and switched to another site.
In any case, I removed PackageKit and yum completely from Fedora - this was very silly of me, because it left me 'yum-less", and I didn't know how to re-install yum without yum. Fortunately, found some yum rpms in my DVD, and managed to re-install yum. I also re-installed PackageKit, but no longer have the GUI - no "Add/Remove.." in System/Administration, and no application called PackageKit anywhere.
Following threads elsewhere, I installed 'yum ex" - which seems to work a whole lot better than PackageKit. Have also installed 'yum fastestmirror' and 'yum presto'.
I would like to test PackageKit again, but don't know how to get it to run. Any thoughts?
A little update on my earlier problem to say that "yum ex" works really well for me!!
Yumex downloaded 19MB of updates in under 4 mins with no problems, and the whole process of installing etc was completed in less than 15 mins from the time I clicked the Yumex launcher in Applications.
Suffice to say I have no more interest to try and get PackageKit working again.
Why can't the yum people (or whoever) resolve this issue?
I had to wait overnight for a relatively small update to complete. I just installed yumex, to see if that improved things, but it is still busy with only five packages.
Next, I will have to try using yum-fastestmirror and / or apt-get, but why is this even necessary?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.