Bug 1045770
| Summary: | [PATCH] debuginfo-install | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Ciupitu <cristian.ciupitu> | ||||||
| Component: | dnf-plugins-core | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | akozumpl, ignatenko, metherid, packaging-team-maint, pnemade, rholy | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | dnf-plugins-core-0.0.6-1.fc20 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-03-07 06:35:49 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Cristian Ciupitu
2013-12-21 21:27:12 UTC
Hi Cristian, thanks for the report, we'll track this. *** Bug 1045677 has been marked as a duplicate of this bug. *** Created attachment 863562 [details]
[PATCH] Add debuginfo-install plugin. (RhBug:1045770)
Implemented, but still have some issues.
$ sudo dnf debuginfo-install evolution
Package evolution-debuginfo-3.11.5-2.fc21.x86_64 is already installed, skipping.
Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Error: package webkitgtk3-debuginfo.x86_64 = 2.3.5-3.fc21 does not exist. package evolution-data-server-debuginfo.x86_64 = 3.11.5-3.fc21 does not exist
I will debug this and fix or you can help me
I have installed "evolution-data-server-3.11.5-2.fc21.x86_64"
it found it from self.base.sack.query().installed().filter(name=pkg)
after this it formatting it:
di = "{0}-debuginfo-{1}:{2}-{3}.{4}".format(po.name, po.epoch, po.version, po.release, po.arch)
then trying to install:
try:
self.base.install(di) <--- There no except
except dnf.exceptions.MarkingError:
di = "{0}-debuginfo.{1}".format(po.name, po.arch)
try:
self.base.install(di)
except dnf.exceptions.MarkingError:
pass
[brain@X1Carbon dnf-plugins-core]$ sudo dnf debuginfo-install evolution
Package evolution-debuginfo-3.11.5-2.fc21.x86_64 is already installed, skipping.
Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Error: package webkitgtk3-debuginfo.x86_64 = 2.3.5-3.fc21 does not exist. package evolution-data-server-debuginfo.x86_64 = 3.11.5-3.fc21 does not exist
[brain@X1Carbon dnf-plugins-core]$ sudo dnf --enablerepo=rawhide-debuginfo install evolution-data-server-debuginfo-3.11.5-2.fc21.x86_64
Package evolution-data-server-debuginfo-3.11.5-2.fc21.x86_64 is already installed, skipping.
Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.
[brain@X1Carbon dnf-plugins-core]$ sudo dnf --enablerepo=rawhide-debuginfo install evolution-data-server-debuginfo-3.11.5-3.fc21.x86_64
Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Error: package evolution-data-server-debuginfo.x86_64 = 3.11.5-3.fc21 does not exist
Ales, can you help me ?
your plugin looks worked fine for me for this command on f20 $ sudo dnf debuginfo-install iok <snip> Transaction Summary ==================================================================== Install 49 Packages Upgrade 7 Packages Total download size: 67 M <snip> This transaction completed successfully. I don't have currently any rawhide test machine to test your plugin. (In reply to Parag from comment #5) > your plugin looks worked fine for me for this command on f20 > $ sudo dnf debuginfo-install iok > <snip> > Transaction Summary > ==================================================================== > Install 49 Packages > Upgrade 7 Packages > > Total download size: 67 M > <snip> > > This transaction completed successfully. > > I don't have currently any rawhide test machine to test your plugin. Install iok-debuginfo and try to dnf debuginfo-install iok. It should fails. I've debugged problems and just fixed it. Will send new patch in 1 min. Created attachment 863627 [details]
[PATCH v2] Add debuginfo-install plugin. (RhBug:1045770)
dnf-plugins-core-0.0.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.0.4-1.fc20 dnf-plugins-core-0.0.5-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.0.5-1.fc20 As said before https://bugzilla.redhat.com/show_bug.cgi?id=905697#c8 , the new update again missed this plugin to be packaged. See http://koji.fedoraproject.org/koji/rpminfo?rpmID=4840470 dnf-plugins-core-0.0.5-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.0.5-2.fc20 Package dnf-plugins-core-0.0.4-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.0.4-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3147/dnf-plugins-core-0.0.4-1.fc20 then log in and leave karma (feedback). dnf-plugins-core-0.0.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. dnf-plugins-core-0.0.6-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.0.6-1.fc20 dnf-plugins-core-0.0.6-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |