Apt shows incorrect suggestion to fix unavailability of public key of a given repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Confirmed
|
Unknown
|
|||
apt (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apt
When I add a new repo to sources.list, for example one from a Ubuntu PPA, then I run apt-get update and I get the following warnings:
W: GPG error: http://
W: You may want to run apt-get update to correct these problems
The last message shown says that apt-get update will correct these problems, but that's not true.
A better explanation of how to fix that would be:
W: You may want to run `sudo apt-key adv --keyserver keyserver.
Or something similar (with a more generic keyserver path maybe).
I always end up googling to find the command used to add a new public key in apt's keyring... and would find such a useful tip a great enhancement.
Changed in apt (Debian): | |
status: | Unknown → Confirmed |
It'd be nice, perhaps, if it produced a message:
Do you want to download key <keyhere> [y/N]?
Would make a handy enhancement for people like me who want to use apt at the command line, don't want to use _too_ many commands ;)