Bug 1214768
| Summary: | history userinstalled lists should print NEVRAs instead of names | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 23 | CC: | jmracek, jsilhan, jzeleny, mike, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame |
| Target Milestone: | --- | Keywords: | EasyFix, Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-1.1.10-1.fc24 dnf-1.1.10-1.fc23 dnf-1.1.10-1.fc25 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-19 19:51:28 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
Igor Gnatenko
2015-04-23 13:34:05 UTC
(In reply to Igor Gnatenko from comment #0) > Fisrt issue - kernel packages in userinstalled: > $ sudo dnf history userinstalled | grep -E "^kernel$" | wc -l > 3 Can you please elaborate on why do you think that "kernel" shouldn't be listed there? Are you sure that all of your kernels were installed as a dependency? > Second issue - no arch for packages and if we will try to do `dnf history > userinstalled | xargs -0 dnf erase` we will remove glibc(x86-64), but I > installed glibc(i686). This is expected. As you can see in man pages, the output is intended to be used in Kickstart files. Since the documentation of Kickstart files [1] does not mention that the packages can be specified in the form of "name.arch", this change can break the use case. Would you like to have a switch that appends the architectures? Any reason for the "urgent" priority and "severity"? (In reply to Radek Holy from comment #1) > (In reply to Igor Gnatenko from comment #0) > > Fisrt issue - kernel packages in userinstalled: > > $ sudo dnf history userinstalled | grep -E "^kernel$" | wc -l > > 3 > > Can you please elaborate on why do you think that "kernel" shouldn't be > listed there? Are you sure that all of your kernels were installed as a > dependency? otherwise it should have NEVRA, not just N. > > > Second issue - no arch for packages and if we will try to do `dnf history > > userinstalled | xargs -0 dnf erase` we will remove glibc(x86-64), but I > > installed glibc(i686). > > This is expected. As you can see in man pages, the output is intended to be > used in Kickstart files. Since the documentation of Kickstart files [1] does > not mention that the packages can be specified in the form of "name.arch", > this change can break the use case. Would you like to have a switch that > appends the architectures? Yep, I want have a switch. > > > Any reason for the "urgent" priority and "severity"? oh, I wanted to set normal, sorry ;) This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 Created patch - https://github.com/rpm-software-management/dnf/pull/495 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. PR has been merged and fix will be available as part of DNF 2.0. dnf-1.1.10-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda dnf-1.1.10-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e dnf-1.1.10-1.fc24 dnf-plugins-core-0.1.21-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3 dnf-1.1.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3 Where was the decision to back away from "This is expected. As you can see in man pages, the output is intended to be used in Kickstart files. Since the documentation of Kickstart files [1] does not mention that the packages can be specified in the form of "name.arch", this change can break the use case. Would you like to have a switch that appends the architectures?" made? Seems really, really silly to have NEVRA output from userinstalled when it's meant to produce portable output that you can use to get a known set of packages leaves installed... Now I have to pipe it though some awk script or something... dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.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.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |