Bug 1338564
Summary: | Update fails with "AttributeError: 'Base' object has no attribute 'sigCheckPkg' (36)" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vadim Raskhozhev <iamdexpl> |
Component: | yumex-dnf | Assignee: | Tim Lauridsen <tim.lauridsen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | alexvillacislasso, antonio.montagnani, fedora, jkhougland, jsilhan, jylo06g, lfelia, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame, wjeh0810, woiling |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-19 19:51:19 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
Vadim Raskhozhev
2016-05-23 00:03:58 UTC
Same here. I've reported a more detailled bug #1336102. Please ignore my previous comment #1. Now the details: Steps to reproduce: 1. open yumex-dnf 2. select any package for installation, e.g. python3-pylint-gui 3. press "run" button 4. confirm transaction 5. enter your password and confirm What happens: Crash on backend, error dialog shows up, transaction is aborted. What should happen: No crash. Transaction should be run. Additional info: Error message from yumex-dnf error dialog: 20:10:46: EXCEPTION : g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 83, in newFunc rc = func(*args, **kwargs) File "/usr/share/dnfdaemon/dnfdaemon-system", line 537, in RunTransaction result = self.run_transaction() File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 550, in run_transaction self._check_gpg_signatures(to_dnl) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 699, in _check_gpg_signatures result, errmsg = self.base.sigCheckPkg(po) File "/usr/lib/python3.5/site-packages/dnf/util.py", line 79, in __getattr__ % (C.__name__, name)) AttributeError: 'Base' object has no attribute 'sigCheckPkg' (36) Workaround: downgrade dnf to 1.1.8, don't upgrade to 1.1.9. Meta: @timlau or Vadim Raskhozhev: can you please reassign this bug to dnf? the root cause is this commit https://github.com/rpm-software-management/dnf/commit/f09c8699e431c3f1dd84418893226353bc8f595c#diff-d803a439b7caecec0dcb50c5d72b3b85L932 a mayor rename of all non API stuff in dnf.Base This is not directly a dnf issues, because I use non public API and get hit by this, because DNF dont have any public API for signature checking. fixed upstream in dnf-daemmon https://github.com/timlau/dnf-daemon/commit/d3e4d2d18cd579f8c269575152ca96dd439c8df5 build a pre-release in copr sudo dnf copr enable timlau/yumex-dnf sudo dnf update dnfdaemon --refresh *** Bug 1339107 has been marked as a duplicate of this bug. *** the dnf issue triggered here is that the rename of the non public api methods if not catched by the deprecation handler as many of the other Base.xxxx to Base._xxxx renames this is fixed in upstream dnf https://github.com/rpm-software-management/dnf/commit/176a81e357b8e169008c831963c3b487b3bac40a but it dont change the fact, that dnfdaemon is using non public API and it should not. Following your argument of comment #3: Is this really a bug of dnf-daemon or a bug of DNF because it's missing a public API for an important function? However: * This bug is critical for me, since I have set up some systems for non-technical users which use solely yumex-dnf for system-updates. * Fedora 23 is affected as well. I also see this bug. Doesn't affect command line dnf or yumex. Does affect yumex-dnf in fc23: http://imgur.com/YXLW9vtl.png (In reply to Tim Lauridsen from comment #5) > build a pre-release in copr > > sudo dnf copr enable timlau/yumex-dnf > sudo dnf update dnfdaemon --refresh installed from copr, it works fine, but I would say that the option Svae repositories is not working, I mean that when I check/uncheck a repo, next time I start program, my choices were forgotten.Can you check please?? > > installed from copr, it works fine, but I would say that the option Svae > repositories is not working, I mean that when I check/uncheck a repo, next > time I start program, my choices were forgotten.Can you check please?? https://github.com/timlau/yumex-dnf/issues/107 dnfdaemon-0.3.16-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d13699f3b dnfdaemon-0.3.16-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fe54f920b2 Thanks Tim, that fixed it on fc23 for me dnfdaemon-0.3.16-1.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-7d13699f3b dnfdaemon-0.3.16-1.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-fe54f920b2 Confirming dnfdaemon-0.3.16-1.fc23 fixes the issue for me. dnfdaemon-0.3.16-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1340658 has been marked as a duplicate of this bug. *** dnfdaemon-0.3.16-1.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 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 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. |