Signature warning should include full repository name/path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Most people nowadays can collect quite a few APT repositories hosted on the same server (ppa.launchpad.net, for instance). In case the signature check on one of these repositories fails, apt-get just prints this:
W: GPG error: http://
Unfortunately, this informs the user only that one of the repositories on ppa.launchpad.net has a missing key. But not which one. It could be any of them. Tracking down the specific signature (<blah> in my example) is difficult so the only practical option is to disable the repositories one by one until the warning disappears. Which is not only annoying to the user but also puts unnecessary load on the servers which get repeatedly hit by 'apt-get update'.
I therefore suggest to change the warning to include the full path of the repository. Example:
W: GPG error: http://
This would inform the user which repository needs a key. Other options (such as printing the repository's name are also valid, of course).
PS: I am aware that apt-add-repository automatically adds the key but this magic only works on Launchpad whereas the problem is one in general. Furthermore, you don't always get to use apt-add-repository for various reasons.
tags: | added: trusty |
Changed in apt (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
importance: | Low → Medium |
This is unwieldy, I'd really like to know which repositories requested which keys:
Reading package lists... Done ppa.launchpad. net vivid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85504128ECF1204C
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: GPG error: http://
W: There is no public key available for the following key IDs:
7638D0442B90D010
I'd love to see this addressed. Thanks!