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

picroft fails to update with AIY hardware #159

Closed zero-hound closed 2 years ago

zero-hound commented 2 years ago

Describe the bug When using Google's AIY voice kit as the mic and speaker for Picroft, following the intial setup and installation apt is unable to complete any updates. This is due to the repository at "https://dl.google.com/aiyprojects/deb stable Release" not being signed. The repo must have the trusted=yes option declared in the config file first.

To Reproduce Steps to reproduce the behavior:

  1. Setup current release of Picroft
  2. Select Google's AIY hardware as the mic and speaker during setup
  3. After setup is completed, run sudo apt update
  4. To resolve error, edit etc/apt/sources.list.d/aiyprojects.list
  5. Change deb https://dl.google.com/aiyprojects/deb stable main to deb [trusted=yes] https://dl.google.com/aiyprojects/deb stable main

Expected behavior Sudo apt update should run without terminating due to error

Log files (.venv) pi@picroft:~ $ sudo apt update --allow-releaseinfo-change Ign:1 https://dl.google.com/aiyprojects/deb stable InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Get:4 https://dl.google.com/aiyprojects/deb stable Release [934 B] Get:5 https://dl.google.com/aiyprojects/deb stable Release.gpg [819 B] Ign:5 https://dl.google.com/aiyprojects/deb stable Release.gpg Reading package lists... Done W: GPG error: https://dl.google.com/aiyprojects/deb stable Release: The following signatures were invalid: EXPKEYSIG 6494C6D6997C215E Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com E: The repository 'https://dl.google.com/aiyprojects/deb stable Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

Environment (please complete the following information):

krisgesling commented 2 years ago

Thanks for flagging this.

Not something we'll have time to address immediately but good to have it identified.

denics commented 2 years ago

duplicated of #135 fixed with 090cb72ba9a877b170eca02783ea2e54d209df20