LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-23-2008, 11:17 AM   #1
tungvs
Member
 
Registered: May 2008
Distribution: Centos; Ubuntu; Fedora
Posts: 98

Rep: Reputation: 15
[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.
 
Old 06-23-2008, 12:49 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 06-23-2008, 01:22 PM   #3
rfcompte
LQ Newbie
 
Registered: May 2008
Location: Buenos Aires, Argentina
Distribution: Fedora
Posts: 4

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

Code:
yum install yum-fastestmirror
Then it is advisable to do (also as root) a
Code:
yum clean all
Hope that helps

Regards
 
Old 06-23-2008, 01:23 PM   #4
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Rep: Reputation: 15
I vote for 'yum' in command line. It's the fastest way to install/remove/update packages.
 
Old 06-24-2008, 08:59 AM   #5
tungvs
Member
 
Registered: May 2008
Distribution: Centos; Ubuntu; Fedora
Posts: 98

Original Poster
Rep: Reputation: 15
Thank for your replies, lads . I've decided to come back to ubuntu . It's relatively slow but we have a repository for Ubuntu right here in Vietnam.
 
Old 11-18-2008, 02:06 AM   #6
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

Rep: Reputation: 16
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.
 
Old 11-18-2008, 02:12 AM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You have something seriously wrong with your internet connection, probably from you ISP offshore. That is not normal yum behaviour
 
Old 11-19-2008, 12:57 AM   #8
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

Rep: Reputation: 16
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.

murthy
 
Old 11-19-2008, 01:14 AM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Start with the various yum clean options and see if they help. See man yum
 
Old 11-19-2008, 06:52 AM   #10
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

Rep: Reputation: 16
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.
 
Old 11-19-2008, 05:24 PM   #11
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Also run "yum clean metadata" and "yum clean dbcache". Note that clean all only cleans packages and headers.
 
Old 11-19-2008, 10:33 PM   #12
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

Rep: Reputation: 16
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?

murthy
 
Old 11-19-2008, 10:49 PM   #13
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by smurthy View Post
"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
Code:
       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.
 
Old 11-21-2008, 03:32 AM   #14
smurthy
Member
 
Registered: Oct 2008
Location: KL Malaysia
Distribution: Fedora 9, Ubuntu Hardy, Puppy Linux
Posts: 32

Rep: Reputation: 16
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.


murthy
 
Old 03-25-2011, 10:37 AM   #15
ddalley
LQ Newbie
 
Registered: Jul 2009
Posts: 29
Blog Entries: 4

Rep: Reputation: 0
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?
 
  


Reply

Tags
fedora, packagekit, update, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extremely slow system J_Szucs Linux - General 3 01-29-2007 11:55 AM
Fedora Core 6 Slow after update Xorg problem? javalava91 Fedora 2 12-30-2006 09:50 PM
Extremely slow disk read access software raid 5 Magsimoe Linux - Software 2 12-18-2006 04:59 PM
Slow boot after a Software Update edika Fedora 1 09-04-2006 05:06 AM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration