I’m on Page 237 of Smart Home trying to install Telegraf. When I run the command :
influxdb.key’ | sha256sum -c && cat influxdb.key | gpg –dearmor |
sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
I keep getting the error msg :
sha256sum: ‘standard input’: no properly formatted SHA256 checksum lines found
I am absolutely CERTAIN that I must be the ONLY person in the whole UNIVERSE who had this error so I MUST be doing something wrong. But what?
You probably added an extra space somewhere in the command or it was broken during copy/paste…
Copy the code from here:
echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
Let me know if this solves the issue.