| Summary: | yumdownloader --resolve overzealous with dependencies | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gene Czarcinski <gczarcinski> | ||||||
| Component: | yum-utils | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 19 | CC: | admiller, gczarcinski, packaging-team-maint, tla, zpavlas | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-11-11 09:54:46 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: | |||||||
| Attachments: |
|
||||||||
That might be wrong, as I don't see any obvious gcc dependency. Could you run yumdownloader with '-v' and attach the output, so we see what exactly requires gcc? Thanks! Created attachment 820015 [details]
with any --resolve
Created attachment 820016 [details]
yumdownloader -v --resolve rpm rpm-libs ...
OK, I am running on a x86_64 system (surprise) and only hace x86_64 packages installed. So, what got sucked in were all of the extras i686 packages needed when the rpm*i686 packages were downloaded. I did not want any i686 packages. I tried to limit what happened by specifying --archlist=x86_64 but that had no effect and I thought that it should have.
I see the problem. "yumdownloader --resolve foo" works behind the scene much like "yum --downloadonly install foo". You asked for "rpm-build-libs", without specifying the architecture. Since there are both x86_64 and i686 arches available, and x86_64 is already installed, it tries to use i686. I assume this is the expected behavior: https://bugzilla.redhat.com/show_bug.cgi?id=182348 You probably don't want to download rpm-build-libs.i686 and all it's deps, so just specify the arch with "yumdownloader --resolve rpm-build-libs.x86_64". OK, now I understand. I had tried --archlist=x86_64 with no effect. This information should be added to the man-page. Closing, as the described behavior is intended. |
Description of problem: yumdownloader is way overzealous with dependencies. For example, ifyou enter: yumdownloader --resolve rpm rpm-libs rpm-build-libs rpm-python will result in some 40+ packages which includes *** gcc *** ... are you serious!?!? Version-Release number of selected component (if applicable): yum-utils-1.1.31-18.fc19.noarch How reproducible yes Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: