First of all, This is extremely wrong:
wget -q -O - https://oss.oracle.com/el4/RPM-GPG-KEY-oracle | apt-key --keyring
/etc/apt/trusted.gpg.d/oracle.gpg add -
- it will cause your apt installation to fail validating keys silently
(as in, you don't know why it failed) if you do this on a recent system.
You have to pass the key through gpg --dearmor, --keyring can (and
recently has) changed it's format.
With the current setup, we can't show a warning if a key was not deleted
- there are multiple keyrings, and we first check if a key is in a
keyring before running gpg on it (probably to prevent errors). We can't
just warn there - we'd then warn for all cases.
I'm not sure if fixing this is worth it. apt-key del (well apt-key
itself, even) is not meant to be used, except for maintainer scripts
migrating to the saner trusted.gpg.d file.
** Changed in: apt (Ubuntu)
Importance: Undecided => Low
** Changed in: apt (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669517
Title:
apt-key del must absolutely detect all errors, and then provide NON-
zero return code and error message
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1669517/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs