Home > Mobile >  gpg: no valid OpenPGP data found. in raspberry pi 4
gpg: no valid OpenPGP data found. in raspberry pi 4

Time:11-22

I am following the tutorial to install TensorFlow Lit for raspberry pi4 from tensorflow website (https://www.tensorflow.org/lite/guide/python). When I am running the following command:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

I got this message.

gpg: no valid OpenPGP data found.

Can anyone help me with what does it mean and how to solve it?

CodePudding user response:

Try

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg.asc | sudo apt-key add -

Note the (.asc after the .gpg = .gpg.asc)

This is the ascii version which is expected by apt-key.

  • Related