title: when I try to add Mongodb gpg - gpg: no valid OpenPGP data found
body: <p>'Ubuntu 22.04 LTS
  After I enter
  Download and add the MongoDB GPG key with the following command</p>
  <p>wget -qO - <a href="https://www.mongodb.org/static/pgp/server-5.0.asc" rel="nofollow noreferrer">https://www.mongodb.org/static/pgp/server-5.0.asc</a> | sudo apt-key add -
  I get the following error.  &quot;&quot;
  adminpc@Adm:~$ wget -qO - <a href="https://www.mongodb.org/static/pgp/server-5.0.asc" rel="nofollow noreferrer">https://www.mongodb.org/static/pgp/server-5.0.asc</a> | sudo apt-key add -
  Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
  OK                      &quot;&quot;
  tried manually removing using rm as per the solution available in SOF using
  'sudo rm &quot;/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc&quot;'
  rm: cannot remove '/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc': No such file or directory
  But the above message appears.
  ls of /etc/apt/trusted.gpg.d shows following files.
  adminpc@Adm:/etc/apt/trusted.gpg.d$ ls
  danielrichter2007-ubuntu-grub-customizer.gpg   ubuntu-keyring-2012-cdimage.gpg``
  danielrichter2007-ubuntu-grub-customizer.gpg~  ubuntu-keyring-2018-archive.gpg</p>
  <p>please help in this regard, I need to deploy Mongodb server for educational purpose. I am using UBUNTU22.04 LTS'</p>