Bug 1136212
| Summary: | yum check execution takes extremely long time | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Frantisek Reznicek <freznice> | ||||||
| Component: | yum | Assignee: | Valentina Mukhamedzhanova <vmukhame> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Karel Srot <ksrot> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.5 | CC: | esammons, freznice, james.antill, pmatilai, vmukhame | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | yum-3.2.29-63.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-07-22 07:21:24 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Frantisek Reznicek
2014-09-02 07:51:09 UTC
Please note -d 9 or --verbose swithes do not bring more light into what yum is actually doing. Created attachment 933689 [details]
packed /var/lib/rpm rpm databases (from RHEL 6.5 i686)
Same behavior seen on older yum& rpm as well (RHEL 6.4) # rpm -q yum rpm yum-3.2.29-40.el6.noarch rpm-4.8.0-37.el6.x86_64 My initial thought was that something changed recently which is not correct as same behavior is reproducible on RHEL 6.1 x86_64: # rpm -q yum rpm yum-3.2.29-17.el6.noarch rpm-4.8.0-16.el6_1.1.x86_64 # time yum check check all real 9m31.613s user 8m39.071s sys 0m51.106s Is it "check provides" that's the problem? Do you have a lot of kernel-debug packages installed or something? Basically what does:
rpm -qa --provides | wc -l
...say? We had an upstream "fix" for this a bit ago, we could backport that fairly easily.
commit 406fbca7d1020fcf6c9d3d98c02bf8198ea90d57
Author: James Antill <james>
Date: Mon Jun 2 13:04:03 2014 -0400
Have check provides check directly against the rpm index, and then quit.
Probably the easiest way to see if that's the problem is to git clone the upstream code, and run: ./yummain.py check Created attachment 967216 [details]
backported patch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1384.html |