gpg: no valid OpenPGP data found. while installing SQL Server in Ubuntu 18.04


I’m installing SQL Server on Linux Ubuntu 18.04, according to the tutorial, however when executing the first command

wget -qO- | sudo apt-key add -

I get the following error

gpg: no valid OpenPGP data found.

I’ve done several researches about the error, installed ca-certificates, installed all the gpg packages but I still can’t solve the problem, can someone direct me to a solution?


My problem was the internet connection configuration, in my /etc/netplan/00-installer-config.yaml file, the network mask was wrong

Answered By – godoy.alexandre

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published