← Back to issue list

Failed to install GPG key: Key must be a single key, not multiple.

View original Launchpad issue

Metadata

Project
snapcraft
Number
#2024910
Type
issue
State
open
Author
~oliverhill
Labels
Created
2023-06-23 14:51:33.282622+00:00
Updated
2023-07-19 11:35:03.748133+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Snapcraft version 7.4.3, Rev 9362 While attempting to build a snap, it fails almost immediately with the error "Failed to install GPG key: Key must be a single key, not multiple.". Attempting to send error data when prompted results in: "Encountered an issue while trying to submit the report: unhashable type: 'AptGPGKeyInstallError'" and a suggestion to post here. The problem seems to be when including puppet bolt via the "package-repositories" directive and an associated .asc key file. Presumably there is something in the key that snapcraft cannot parse any more. This issue looks like it has been reported elsewhere at https://forum.snapcraft.io/t/issue-with-gpg-key/35675/9 and https://github.com/snapcore/snapcraft/issues/4224, but I thought I'd add it here because the "report error data?" prompt asked me to.

Evaluation history

No evaluation history available.