Fedora Linux Support Community & Resources Center
  #1  
Old 22nd October 2005, 02:38 PM
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 31
Posts: 71
Unhappy Yum seems pretty slow

Hi, I'm a (happy) Ubuntu user and yesterday I decided to try FC4. It looked good but I had one problem (perhaps related to the fact that I'm a newbie in Fedora): yum seems slow.

1)Every time it try to install a program it updates the list of the repos (and this is slow)

2)the download takes too much time (I have a 4Mbit ADSL) ( if compared to Ubuntu's APT) (does it depend on the servers?).

I'm writing to know if my problems can be solved somehow. If yes I would put Fedora on my 2nd harddisk so as to learn sth about a good RPM based distro.

Thanks in advance.
Reply With Quote
  #2  
Old 22nd October 2005, 03:05 PM
bitrain Offline
Registered User
 
Join Date: Nov 2004
Location: Netherlands
Age: 26
Posts: 1,426
Quote:
1)Every time it try to install a program it updates the list of the repos (and this is slow)
Yes, it does this because the list with files is stored on your pc.
Quote:
2)the download takes too much time (I have a 4Mbit ADSL) ( if compared to Ubuntu's APT) (does it depend on the servers?).
That depends on which server you are. You can stacially choose a fast server, by default yum chooses a rondom server from the mirrorlist at fedora.redhat.com
__________________
Registered Linux user number 389291

Laptop: Nec Versa p550, Pentium M 1.86GHz, 1024MB ram, x300, 80 GB HD, bluetooth, 2915BG Wlan card
Desktop: Amd Athlon x2 4200+, 2GB ram, Geforce 7300GT 512MB silent, 160GB HD in a nice centurion 534 case :cool:
Reply With Quote
  #3  
Old 22nd October 2005, 03:46 PM
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 31
Posts: 71
Quote:
Originally Posted by bitrain
Yes, it does this because the list with files is stored on your pc.
That depends on which server you are. You can stacially choose a fast server, by default yum chooses a rondom server from the mirrorlist at fedora.redhat.com
Thanks for the answer. It works differently from apt in Ubuntu but I might give it another try. I need a 2nd stable operative system to use when I have the time to learn it and because it is useful to have an emergency operative system in case anything goes wrong in Ubuntu (and if I don't have time to reinstall it).
Reply With Quote
  #4  
Old 23rd October 2005, 12:22 AM
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 31
Posts: 71
Ok, I think I've underestimated Fedora. I will "study" it more.

BTW some repos reported in the unofficial guide seem down
Reply With Quote
  #5  
Old 23rd October 2005, 01:10 AM
Finalzone Offline
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,460
You can use the command "yum makecache" then later you can this command "yum -C install <packagename>". This will allow yum to use cache instead of downloading datas from server.
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 20 Heisenbug x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 20 Heisenbug x86-64 and Microsoft Windows 7 64-bit Home Premium Power output bust.
Reply With Quote
  #6  
Old 23rd October 2005, 09:18 AM
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 31
Posts: 71
Quote:
Originally Posted by Finalzone
You can use the command "yum makecache" then later you can this command "yum -C install <packagename>". This will allow yum to use cache instead of downloading datas from server.
Thanks, that's a useful command
Reply With Quote
  #7  
Old 23rd October 2005, 07:20 PM
mtl2002 Offline
Registered User
 
Join Date: Jun 2005
Posts: 263
I think it's that the repositories sometimes go down. Just this weekend I had problems connecting on Friday night from both my desktop and laptop; 12 hours later, they both worked just fine.
Reply With Quote
  #8  
Old 24th October 2005, 09:44 PM
dayzed Offline
Registered User
 
Join Date: Nov 2004
Age: 36
Posts: 23
tseliot,

Don’t let them talk you out of apt. Yum is extremely slow. Why the heck the fedora community decided to go with yum over apt is beyond me. Truthfully apt is a much more superior program than yum but it is harder to use for a lot of newbie’s maybe this is why yum was chosen instead.

Just try doing a search for a program on your ubuntu box "apt-cache search package" vs "yum search package" and tell me how fast yum runs? Also you get a full description with yum when searching which makes it hard to find what you’re looking for. With apt you get a 1 line description, much easier and faster to work with.

Also can you do an "apt-get install --reinstall package" with apt, I have no idea how to do this in yum or even if it is possible.

After using apt for the last few years with fedora and redhat and now being forced to switch to yum on my fedora boxes I can tell you that yum is a pain. My Ubuntu box running apt will get a list of updates in a fraction of the time it takes my fedora box running yum to do the same. In fact my ubuntu box will get a list of updates in about 2-3 seconds. Yum sometimes it can take a full minute. More than half the time when updating on my fedora box running yum, yum fails on at least one mirror making things even slower. Not to mention checksums being bad sometimes.

I am frequently doing a "yum clean all" to get things running smooth again with yum.

I tried the suggested "yum makecache" and though it sounds promising it did nothing for me.

Even my RHEL 3.0 box running up2date is 10 times faster than yum. Nope I am convinced yum sucks rotten eggs.

Dayzed
Reply With Quote
  #9  
Old 25th October 2005, 12:47 AM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,715
Quote:
Originally Posted by dayzed
tseliot,

Don’t let them talk you out of apt. Yum is extremely slow. Why the heck the fedora community decided to go with yum over apt is beyond me. Truthfully apt is a much more superior program than yum but it is harder to use for a lot of newbie’s maybe this is why yum was chosen instead.

Just try doing a search for a program on your ubuntu box "apt-cache search package" vs "yum search package" and tell me how fast yum runs? Also you get a full description with yum when searching which makes it hard to find what you’re looking for. With apt you get a 1 line description, much easier and faster to work with.

Also can you do an "apt-get install --reinstall package" with apt, I have no idea how to do this in yum or even if it is possible.

After using apt for the last few years with fedora and redhat and now being forced to switch to yum on my fedora boxes I can tell you that yum is a pain. My Ubuntu box running apt will get a list of updates in a fraction of the time it takes my fedora box running yum to do the same. In fact my ubuntu box will get a list of updates in about 2-3 seconds. Yum sometimes it can take a full minute. More than half the time when updating on my fedora box running yum, yum fails on at least one mirror making things even slower. Not to mention checksums being bad sometimes.

I am frequently doing a "yum clean all" to get things running smooth again with yum.

I tried the suggested "yum makecache" and though it sounds promising it did nothing for me.

Even my RHEL 3.0 box running up2date is 10 times faster than yum. Nope I am convinced yum sucks rotten eggs.

Dayzed

Why isnt APT a choice?

See http://fedoraproject.org/wiki/Apt

It should be noted that unlike apt-cache yum search runs through the entire meta data including package information. If similar behavior is desired

try


#yum list available | grep -i <word> (or)

# yum list | grep -i <word>

Yum checks the repository by default so it might appear to be slower. With yum -C option to run it from cache instead of updating its metadata yum should run in a similar speed to any other depedency resolver

Also from FC4 onwards while its much faster, Fedora Extras repository is also configured by default which manages more packages than a stock configuration of Ubuntu

Also look at yum-utils in Fedora Extras for other advanced options.

If the system has several third party repositories configured make sure they dont conflict and consider disabling them by default and enable it on demand using the command line option when required.


Rahul
Red Hat
Reply With Quote
  #10  
Old 25th October 2005, 06:34 AM
dayzed Offline
Registered User
 
Join Date: Nov 2004
Age: 36
Posts: 23
>stock configuration of Ubuntu
Dont run stock

Cool grep tip, thanks : )

I wish yum was faster on my FC4 box but it is not faster at all. If yum was at least some what speedy I wouldnt be complaining. I am not aginst yum if it can do the job but serously it has been teribly slow for me. Looking back at my post it sounds like I was trying to start a apt vs yum war but I wasnt I was just stating my observations. I am sure some debian people would have something to say about all this mr Red Hat : ) but maybe the point I have been missing is that apt was built for debain and yum is a better fit for Fedora because of this.
Reply With Quote
  #11  
Old 25th October 2005, 01:54 PM
Segovia Offline
Registered User
 
Join Date: Aug 2005
Location: Outer Space (or Spaced Out)
Posts: 16
I also find yum maddeningly slow. Sometimes I'm just staring at the terminal and thinking "OMFG, what in the world is it DOING that's taking so long?!" It's not just searches. ANY command I give yum is guaranteed to take much longer than a normal person should be expected to endure.

Ah well, I love FC4 for the most part.
Reply With Quote
  #12  
Old 26th October 2005, 08:21 PM
xequence Offline
Registered User
 
Join Date: Oct 2005
Posts: 16
Quote:
Originally Posted by tseliot
Hi, I'm a (happy) Ubuntu user and yesterday I decided to try FC4. It looked good but I had one problem (perhaps related to the fact that I'm a newbie in Fedora): yum seems slow.

1)Every time it try to install a program it updates the list of the repos (and this is slow)

2)the download takes too much time (I have a 4Mbit ADSL) ( if compared to Ubuntu's APT) (does it depend on the servers?).

I'm writing to know if my problems can be solved somehow. If yes I would put Fedora on my 2nd harddisk so as to learn sth about a good RPM based distro.

Thanks in advance.
That just about mirrors my experience. I was happy with ubuntu, but I had always wanted to try FC. Yum is very very very slow, it has taken 15 minutes and it still hasnt fully updated the repos.
Reply With Quote
  #13  
Old 26th October 2005, 10:00 PM
Finalzone Offline
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,460
Quote:
Originally Posted by xequence
That just about mirrors my experience. I was happy with ubuntu, but I had always wanted to try FC. Yum is very very very slow, it has taken 15 minutes and it still hasnt fully updated the repos.
The problem is related to the repo server not yum itself. By default, yum is set to get random mirror servers. The suggestion is to get one that is close to your location from fedora.redhat.com .
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 20 Heisenbug x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 20 Heisenbug x86-64 and Microsoft Windows 7 64-bit Home Premium Power output bust.
Reply With Quote
  #14  
Old 26th October 2005, 10:30 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Use SMARTPM. (smartpm.org)... it's much faster, based on Yum. Make sure you install medley-package-config first, though.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #15  
Old 2nd November 2005, 04:55 PM
tseliot Offline
Registered User
 
Join Date: Jun 2005
Location: Lecce (Italy)
Age: 31
Posts: 71
Ok, I'll try suggestions, thanks to all of you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sure have a pretty screen! curshe Using Fedora 8 21st January 2009 06:51 PM
Hacked pretty well... netmanwolf Security and Privacy 6 2nd May 2007 07:04 AM
FC6 T3 is pretty nice. Dubious Dave Reviews, Rants & Things That Make You Scream 0 15th October 2006 03:36 AM
pretty sure i destroyed something... iamnoob Installation, Upgrades and Live Media 12 3rd June 2006 09:35 PM


Current GMT-time: 14:42 (Monday, 21-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat