Bug 1055132
| Summary: | "yum repo-pkgs <repoid> list" doesn't work | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alan Stern <stern> | |
| Component: | yum | Assignee: | James Antill <james.antill> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 20 | CC: | admiller, ffesti, jzeleny, packaging-team-maint, zpavlas | |
| Target Milestone: | --- | Keywords: | Reopened | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | yum-3.4.3-132.fc19 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1056489 (view as bug list) | Environment: | ||
| Last Closed: | 2014-01-23 11:09: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: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1056489 | |||
|
Description
Alan Stern
2014-01-19 03:53:47 UTC
You probably don't use the right name of the repo? Last time I checked, the repo was just called fedora (cat /etc/yum.repos.d/fedora.repo). Please check and reopen if you confirm you are using the correct repo name. You are right; specifying "fedora" as the repoid works. Thank you. And I see that the documentation for the repo files says that the repoid is specified in brackets at the top of each repository's section. But this means there's a bug in "yum repolist". The first column of the output is documented as being the repoid (possibly starting with a special character). Therefore "yum repolist" should have produced "fedora", not "fedora/20/i386". Another bug: The output from "yum repo-pkgs <repoid> list" is incomplete. Here's an example: # yum list bash Loaded plugins: refresh-packagekit Installed Packages bash.i686 4.2.45-4.fc20 installed # yum repo-pkgs fedora list all | grep ^bash bash-completion.noarch 1:2.1-3.fc20 fedora bash-doc.i686 4.2.45-4.fc20 fedora bashdb.noarch 4.2_0.8-3.fc20 fedora I checked a mirror of the Fedora 20/i686 Everything repository; it really does include bash-4.2.45-4.fc20.i686.rpm. It looks like the output omits packages that are currently installed, even with the "all" specifier. Just tried that on Fedora 19 and I didn't encounter any problems, yum listed both installed and available packages, bash included. The only way I can think of this might happen is when you install your bash for example from Fedora DVD and thus yum doesn't know that the installed package comes from Fedora repo. See the difference, this is your listing of the bash package: bash.i686 4.2.45-4.fc20 installed and this is mine (notice the @fedora at the end of the line): bash.x86_64 4.2.45-1.fc19 @fedora It's also possible that the difference was caused by the fact that we are running different versions of Fedora. My copy of the bash package was installed by fedup. Nevertheless, the system does seem to know where it came from. I'm using a different computer now, but the results are the same: # yum repo-pkgs fedora list all | grep ^bash bash-completion.noarch 1:2.1-3.fc20 fedora bash-doc.i686 4.2.45-4.fc20 fedora bashdb.noarch 4.2_0.8-3.fc20 fedora # find-repos-of-install --repoid=fedora bash Loaded plugins: refresh-packagekit bash-4.2.45-4.fc20.i686 from repo fedora Ok, that seems like a regular bug, reopening and assigning to James for further evaluation. Fixed this (repoid bug) upstream already: http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=6aa247420. yum-3.4.3-132.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc20 yum-3.4.3-132.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc19 yum-3.4.3-132.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. yum-3.4.3-132.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |