Aiyprojects-raspbian: Not working with Raspbian Stretch

Created on 18 Aug 2017  路  10Comments  路  Source: google/aiyprojects-raspbian

I updated my version of Raspbian to Debian 9 (Stretch) which was just released. When I run the "install-deps.sh" script, I get an error saying:

Package libttspico-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libttspico-utils' has no installation candidate

The package "libttspico-utils" has 2 dependencies: "libttspico-data" which I am able to install in Raspbian, and "libttspico0" which gives the same error. Is there a way to fix this?

Most helpful comment

Simon at Raspbian just let me know they're going to deal with it, so this should be resolved in a few days.

All 10 comments

Thanks for the heads up! I've not tried this on Stretch, so I'll look into this.

I figured out a way to work around this issue for now:

First, I installed libttspico-data using apt-get in Raspbian.

Then, I downloaded and installed the armhf versions of the packages libttspico0 and libttspico-utils from the Debian Stretch package index:
https://packages.debian.org/stretch/armhf/libttspico0/download
https://packages.debian.org/stretch/armhf/libttspico-utils/download
They must be installed in that order, because the first package is a dependency of the second one.

Finally, I encountered a separate issue when the install-deps.sh script gave an error saying that virtualenv could not be found. I fixed it by running "sudo apt-get install virtualenv", which provides the virtualenv command (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752467).

After doing that, the Google Assistant SDK worked for me on Raspbian Stretch.

I created a pull request that fixes the second issue (the virtualenv one), but not the first one (with the libttspico-utils package). I would fix the first one too, but don't know how to because it seems like it requires adding packages to the official Raspbian repository.

@t1m0thyj I've sent an email to the Raspbian team to ask about adding those packages to the upstream repo, and I'm adding a warning for now.

Hi, the bug is still there today (04-09-2017).

I've followed your workaround to install the lib anyway. Do you have any news from the Raspbian team?

Nope, no update. Just sent another email to chase it up. We should probably adapt the instructions to include the workaround if this isn't going to be changed upstream.

If the workaround is still required, would it be worth checking the version of Debian in the install-deps.sh script like is mentioned here? If Stretch is installed, the script could grab the Debian packages and install them to automate the workaround.

Simon at Raspbian just let me know they're going to deal with it, so this should be resolved in a few days.

I just ran apt-get update and the packages are in the official Raspbian Stretch repository for me now.

I confirm @t1m0thyj . Thank you guys.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wildtangent picture wildtangent  路  9Comments

nmbrdco picture nmbrdco  路  12Comments

themaire picture themaire  路  3Comments

PatrickUtz picture PatrickUtz  路  6Comments

sheridat picture sheridat  路  5Comments