MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
803 stars 191 forks source link

Incorrect debian repo for Google AIY #135

Closed tbertz closed 4 years ago

tbertz commented 4 years ago

Setup: Raspberry Pi 3, Google AIY Mic and Speaker Hat

Steps: Create image from latest release, run on Pi, attempt guided install, get to Audio choices, select Google AIY

Result: Install of deb repo's fails with messages about gpg signatures

I think the cause of this is that you are using old references for the repo and key in enclosure-picroft and auto_run.sh on line 332 and 333

echo "deb https://dl.google.com/aiyprojects/deb stable main" | sudo tee /etc/apt/sources.list.d/aiyprojects.list wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

The up to date references according to Google own documentation (https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/HACKING.md) are;

Add AIY package repo:

echo "deb https://packages.cloud.google.com/apt aiyprojects-stable main" | sudo tee /etc/apt/sources.list.d/aiyprojects.list

Add Google package keys:

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

Installs ran fine following my manual change to file on device. However I then got stuck at the rainbow boot screen. But I'll file a separate issue for this once I've tried a fresh install with this issue resolved before reporting.

andlo commented 4 years ago

Hi @tbertz thank you for your participation in the project. I have made correction as you have so well described and made a PR.

tbertz commented 4 years ago

No problems, appreciate the hard work. Hope I can get it up and successfully running.

krisgesling commented 4 years ago

Thanks for the help tbertz!

If you want to be added to our list of excellent human beings please complete a Contributor Licensing Agreement by entering your details at https://mycroft.ai/cla but totally up to you.

tbertz commented 4 years ago

Happy to. Unfortunately get a database connection error when I submit my details on the page you provided the link to.

krisgesling commented 4 years ago

Hey thanks for flagging that error, I've fixed that up now.

krisgesling commented 4 years ago

You can also email me your name, and confirm you're contributing as an individual (not on company time or through an employer), and I'll kick off the signing process.