We will not be changing the behavior here. apt-key del working if they
key was not present in the keyring is important to maintain, so that we
do not break the maintainer scripts using it (which should be tested,
and should be the only users of this).
** Changed in: apt (Ubuntu)
Status: Tri
In package 'apt' 1.6~beta1 from Kubuntu Bionic Beaver Beta1 (18.04) :
- The 'apt-key' command is still present,
- 'apt-key del' still does NOT detect that the keyid given in parameter is
invalid :
It still erroneously displays 'OK' and provides a return code equal to zero.
** Tags added: b
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 sy