Getting the following error message when trying to do the update
The update failed: Command '['sudo', '/opt/tinypilot-privileged/update']' returned non-zero exit status 2.
- 4 replies
- In reply tojohnsikora⬆:
Hi John, I'm sorry you're running into this update issue.
Thanks for sharing those logs! The error you're experiencing is a known issue when trying to update to 2.5.4. However, there is a workaround you can use.
SSH into your TinyPilot and run the following commands:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
Then run the TinyPilot update on the TinyPilot web interface.
Alternatively, if you have access to the latest version of TinyPilot Pro (2.6.0), I'd recommend re-flashing your SD card instead. The latest version runs on top of a newer operating system and will continue to receive updates. The version you're currently running on won't receive additional updates beyond 2.5.4 without re-flashing with the new operating system.
I hope that helps! Please let me know if you have any other questions.ReplySolution
Thanks, that worked fine. I'll get an SD flash set up but my telescope is about 2000 miles away so it's a to do for later. That's why I wanted to update to 2.5.4 as an interim step. Thanks again.