Bug 1234491
Summary: | [UX] dnf list installed: show repo id the package was installed from | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alan Stern <stern> |
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dnf-1.1.2-4.fc23 dnf-1.1.2-4.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-04 19:13:47 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: |
Description
Alan Stern
2015-06-22 16:07:57 UTC
It seems like also in the yum in, the list command the term "available" means "available in repositories while not being installed". List is just brief overview of packages thats why there are not duplicated from installed category. For listing all packages in repos regardless whether thy are installed or not one should use "dnf repoquery" (from dnf-plugins-core package that should be installed by default). With respect, I am changing this bug report to "show repo the package was installed from" as your second use case could be solved by "dnf repoquery". Okay, I tried "dnf repoquery" and it worked. Thanks. Still, I think the man pages need to be fixed. They should explain the correct meaning of "available"; as it stands the explanation is wrong. For example, in the "List Command" subsection of the man page for "dnf", it says: Generally packages are available (it is present in a repository we know about) or installed (present in the RPMDB). It should say something like this: A package is installed if it is present in the RPMDB, and it is available if it is not installed but it is present in a repository that dnf knows about. The explanations for the "dnf [options] repository-packages <repoid> info available" and "dnf [options] repository-packages <repoid> list available" commands should say that they List packages available in the repository but not currently installed on the system. Thanks for exact sentences -> fixed in the upstream. * only the doc part was fixed in https://github.com/rpm-software-management/dnf/commit/8876b30dc10cca975a83414acd30c40f85c11ae6 The output of installed repo names is not yet implemented. hawkey-0.6.1-1.fc23 dnf-plugins-core-0.1.12-2.fc23 dnf-1.1.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16428 dnf-plugins-core-0.1.12-2.fc22 hawkey-0.6.1-1.fc22 dnf-1.1.2-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16429 dnf-1.1.2-2.fc23, dnf-plugins-core-0.1.12-2.fc23, hawkey-0.6.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update dnf-plugins-core dnf hawkey' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16428 dnf-1.1.2-2.fc22, dnf-plugins-core-0.1.12-2.fc22, hawkey-0.6.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update dnf-plugins-core dnf hawkey' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16429 dnf-plugins-core-0.1.12-3.fc23 hawkey-0.6.1-2.fc23 dnf-1.1.2-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-38e69423f3 dnf-plugins-core-0.1.12-3.fc22 hawkey-0.6.1-2.fc22 dnf-1.1.2-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-3528c659e4 dnf-1.1.2-4.fc22, dnf-plugins-core-0.1.12-3.fc22, hawkey-0.6.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update hawkey dnf-plugins-core dnf' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-3528c659e4 dnf-1.1.2-4.fc23, dnf-plugins-core-0.1.12-3.fc23, hawkey-0.6.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update hawkey dnf-plugins-core dnf' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-38e69423f3 dnf-1.1.2-4.fc23, dnf-plugins-core-0.1.12-3.fc23, hawkey-0.6.1-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. dnf-1.1.2-4.fc22, dnf-plugins-core-0.1.12-3.fc22, hawkey-0.6.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |