In 22.04, trusted.gpg shows up inside /etc/apt/ – this is an error as indicated in:
trusted.gpg
/etc/apt/
Warnings about erroneous location for trusted.gpg
trusted.gpg is in incorrect location for Ubuntu 22.04