This was more a case of worked other than expected. Since it provided
feedback ("OK") I had expected that it would also say about the key's
presence. So maybe the script is better silent. I have been using it
manually and not in another script and usually have followed up with
"apt-key list" to verify that "del" ran as expected. It's not a big
deal and happens only a few times per year.
An error message with a non-zero exit status would be more what I would
expect from the script if it can't find the key. But it sounds like
doing that properly is not trivial.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1256565
Title:
apt-key del gives wrong message if key is not in keyring
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1256565/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs