Background

I want to use wget to download the file, so I tried to install wget on ubuntu, but it failed.

Symptom

I use apt to install wget.

1
apt install wget

but received the following:

1
2
3
4
5
Command 'wget' not found, but can be installed with:

apt install wget

gpg: no valid OpenPGP data found.

Reason

There is no valid OpenPGP data found

Soultion

Install the digital certificate

1
apt install ca-certificates