Error: couldn't connect to server - Linux -

Apt is not happy here. run the fix suggested by the output.

Did you try installing mongo from the system’s repos before adding mongodb.org ?