Open rovingclimber opened 11 months ago
Thank you for this, I've been looking for a solution to the apt-key being depreciated with no luck. This worked for OpenMedianVault running on Debian 12, HP Proliant machine with pcie Coral installed
TY!
Hello
I got the same warning message when following the coral installation documentation. If it can helps, I used the following commands with success (inspired from https://itsfoss.com/apt-key-deprecated/) :
curl -sS https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/google.gpg
echo "deb [signed-by=/usr/share/keyrings/google.gpg] https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
sudo apt-get update
Awesome, thank you!
Description
Hi!
In your instructions for installing the M.2 / Mini PCIe coral, you use apt-key add:
If you follow these instructions on a modern version of debian / ubuntu you'll get a warning that apt-key is deprecated. It's hard to find simple instructions on how to add the key the correct way, but after a work I've come up with the below which works with no errors:
For some reason gpg creates a temp (~ suffix) file when working, hence deleting that, and also leaves the file accessible only to root, hence the CHMOD which allows the apt user to read.
There may be a better way to do this but suggest updating your documentation with either the above or, if you can find it, a cleaner way to add to the keyring that's up-to-date with current OS.
Click to expand!
### Issue Type Documentation Bug ### Operating System Linux ### Coral Device Mini PCIe, M.2 Accelerator A+E, M.2 Accelerator B+M, M.2 Accelerator with dual Edge TPU ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_