$ gpg --delete-key hoge_fuga@foo-bar.xxx
gpg (GnuPG) 1.4.18; Copyright (C) 2014 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub 2048R/AA260242 2016-11-04 Hoge Fuga (foo-bar) <hoge_fuga@foo-bar.xxx>
この鍵を鍵輪から削除しますか? (y/N) y
gpg (GnuPG) 1.4.18; Copyright (C) 2014 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: この公開鍵にたいする秘密鍵“hoge_fuga@foo-bar.xxx”があります!
gpg: まず“--delete-secret-keys”オプションでこれを削除してください。
その場合は、予め秘密鍵を削除しておく。
12345678910
$ gpg --delete-secret-key hoge_fuga@foo-bar.xxx
gpg (GnuPG) 1.4.18; Copyright (C) 2014 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
sec 2048R/AA260242 2016-11-04 Hoge Fuga (foo-bar) <hoge_fuga@foo-bar.xxx>
この鍵を鍵輪から削除しますか? (y/N) y # <= y で応答
これは秘密鍵です! 本当に削除しますか? (y/N) y # <= 再度 y で応答