gpg: invalid key resource URL following Docker official guide

Solution 1:

I recently had the same issue and fixed it by doing

sudo rm "/etc/apt/trusted.gpg.d/home:manuelschneid3r.gpg"

Or

sudo rm "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"

This could be due to installing the Albert launcher, here is a related issue. Thanks to Sasgorilla in the comments

Solution 2:

Got this error while installing MongoDB. Following worked for me.

sudo rm /etc/apt/trusted.gpg.d/home:manuelschneid3r.gpg