Bug 1125968
| Summary: | [abrt] 'dnf builddep' throws backtrace on missing signature | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Benedikt Morbach <bmorbach> |
| Component: | dnf-plugins-core | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | akozumpl, jsilhan, packaging-team-maint, pknirsch, pnemade, rholy, tim.lauridsen |
| 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: | 2014-09-19 09:20:16 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: | |||
Hi, thanks for the report. We'll take a look. I think you are right with the missing flag. Closing this---we were not able to extract more information about reproducing this from Benedikt. |
Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 200, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 83, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 133, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1171, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 52, in inner return func(*args, **kwds) File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 110, in run self._src_deps(rpm_ts, fn) File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 75, in _src_deps h = rpm_ts.hdrFromFdno(fd) File "/usr/lib64/python2.7/site-packages/rpm/transaction.py", line 156, in hdrFromFdno raise rpm.error("public key not available") _rpm.error: public key not available I think it should set ts._vsflags = rpm._RPMVSF_NOSIGNATURES to read the srpm, as it doesn't install anything. (assuming that is the correct way to set that flag, the underscore looks dodgy) I may be missing some security implications here though?