[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: What is Yum doing after package download?



"Flavin, Kyle (NBCUniversal)" <Kyle.Flavin@xxxxxxxxxx> writes:

> Downloading Packages:
>
> Running rpm_check_debug
>
> Running Transaction Test
>
> Finished Transaction Test
>
> Transaction Test Succeeded
>
> Running Transaction
>
>   Updating       : libgcc                                      [
> 1/1001]
>
> ...
>
>  
>
> My question.  The server seems to spend a good deal of time on the
> "Running rpm_check_debug" step.  I can confirm that yum is doing work by
> looking at the output of top, which shows significant CPU and memory
> utilization by yum.  Yum has already downloaded metadata and packages at
> this point (confirmed with a du -hs * under /var/yum/cache), and has not
> begun the actual upgrade.  What work is it doing here?

 Almost everything after "Downloading Packages" is actually inside rpm
itself, and yum is just doing an API call.

>  Is it normal for
> it to take some time (~20 minutes) to complete?

 No, for a ~500 package update it will take some time ... but that is
way too long.
 You might want to take a look at:

http://skvidal.wordpress.com/2011/11/10/performance-issue-reading-in-from-an-rpmdb/

...or "just try" rpm --rebuilddb.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net