-   Linux - Networking (
-   -   [Fedora 9]Update system or software extremely slow (

tungvs 06-23-2008 11:17 AM

[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.

billymayday 06-23-2008 12:49 PM

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)

rfcompte 06-23-2008 01:22 PM

I recommend installing the yum-fastestmirror package. Go to a terminal and become root and then just do


yum install yum-fastestmirror
Then it is advisable to do (also as root) a

yum clean all
Hope that helps


arijit_2404 06-23-2008 01:23 PM

I vote for 'yum' in command line. It's the fastest way to install/remove/update packages.

tungvs 06-24-2008 08:59 AM

Thank for your replies, lads :D. I've decided to come back to ubuntu :(. It's relatively slow but we have a repository for Ubuntu right here in Vietnam.

smurthy 11-18-2008 02:06 AM

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.

billymayday 11-18-2008 02:12 AM

You have something seriously wrong with your internet connection, probably from you ISP offshore. That is not normal yum behaviour

smurthy 11-19-2008 12:57 AM

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.

Any ideas would be welcome. Thanks.


billymayday 11-19-2008 01:14 AM

Start with the various yum clean options and see if they help. See man yum

smurthy 11-19-2008 06:52 AM

Ran yum clean all after reading the options, but no improvement.

I am getting a download rate of only 5kB/s - this is 10 times slower than my regular downloads.

billymayday 11-19-2008 05:24 PM

Also run "yum clean metadata" and "yum clean dbcache". Note that clean all only cleans packages and headers.

smurthy 11-19-2008 10:33 PM

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?


billymayday 11-19-2008 10:49 PM


Originally Posted by smurthy (Post 3348233)
"yum clean all
Runs yum clean packages and yum clean headers, yum clean meta-
data and yum clean dbcache as above"

Interesting. Here's the output from man yum on CentOS 5

      yum clean all
              Runs yum clean packages and yum clean headers as above.

So they must have changed it. Must say it makes more sense to have "clean all" clean all.

smurthy 11-21-2008 03:32 AM

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.

Thanks to all who helped with this problem.


ddalley 03-25-2011 10:37 AM

So, 3 years later, this problem still exists!

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?

All times are GMT -5. The time now is 05:52 PM.