| Summary: | yum list available fails if not run on tty or with --color=never | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Stancek <jstancek> | ||||
| Component: | yum | Assignee: | Fedora Packaging Toolset Team <packaging-team> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | endre, ffesti, james.antill, jburke, jtluka, maxamillion, pmatilai, tla, zpavlas | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-02 08:56:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jan Stancek
2012-01-31 14:11:08 UTC
Confirmed. There's a problem in doPackageLists(), and it's also in the current HEAD. Depending on the availability of highlighting, 'yum list available' takes two different code paths, with slightly different rules for what's shown as 'available'. The one with 'pkgnarrow=all' does not work correctly when the pattern includes package version. The code tries to avoid printing packages as 'Available' when the package is already installed (this works), or a newer version is installed. We could probably fix this. Created attachment 558808 [details]
'list available foo-ver-rel' shows old packages.
To explain more, this happens when you "yum list available pkg-<old-version>" ... when nothing matches <old-version> in the rpmdb. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. |