snips-issues icon indicating copy to clipboard operation
snips-issues copied to clipboard

[Platform] Raspbian Buster Support

Open MustacheEmperor opened this issue 5 years ago • 66 comments

Hello,

Following the instructions for manual setup, after adding the key and calling sudo apt-get update in Step 2, the terminal outputs a 404 for one of the sources sudo apt-get update Ign:1 https://raspbian.snips.ai/buster stable InRelease Err:2 https://raspbian.snips.ai/buster stable Release 404 Not Found [IP: 99.84.239.119 443] Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Done E: The repository 'https://raspbian.snips.ai/buster stable Release' does not have a Release file. 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.

Because the source can't update, I'm not able to do the following steps.

[EDIT cpoisson 2019/09/27]

Raspbian buster support is likely to happen at the end of october, meanwhile here's a summary of the possible workarounds

Workaround 1 (Recommended)

Use a debian stretch image available here, this distro is the one officially supported at the moment.

Workaround 2

There is 4 problems to solve to support officially buster.

  • [ ] The snips buster repository is not yet created, the stretch one should be used. (Still an open issue)
  • [ ] Some dependencies of snips-asr are missing. (Still an open issue)
  • [ ] Some dependencies of snips-tts are missing. (Still an open issue)
  • [x] ~~hermes-python is not yet available on buster.~~ Fixed

If you feel that you don't have the required skills to proceed and debug issues, I urge you to fallback on Stretch :)

Switch to stretch repository

You need to replace buster by stretch in /etc/apt/sources.list.d/snips.list

sudo bash -c 'echo "deb https://raspbian.snips.ai/stretch stable main" > /etc/apt/sources.list.d/snips.list'

Install snips-asr

sudo apt install libgfortran3
sudo apt install libatlas3-base=3.10.3-8+rpi1
sudo apt install snips-asr

Install snips-tts

Some packages related to pico are missing from the rasbian buster repository

Using dpkg -i is it is possible to install then before installing snips-tts.

e.g.

wget http://ftp.fr.debian.org/debian/pool/non-free/s/svox/libttspico-utils_1.0+git20130326-9_armhf.deb
wget http://ftp.fr.debian.org/debian/pool/non-free/s/svox/libttspico0_1.0+git20130326-9_armhf.deb

sudo dpkg -i libttspico-utils_1.0+git20130326-9_armhf.deb
sudo dpkg -i libttspico0_1.0+git20130326-9_armhf.deb

sudo apt install snips-tts

MustacheEmperor avatar Jul 02 '19 05:07 MustacheEmperor