Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Not working with Raspbian Stretch #119

Closed
t1m0thyj opened this issue Aug 18, 2017 · 10 comments
Closed

Not working with Raspbian Stretch #119

t1m0thyj opened this issue Aug 18, 2017 · 10 comments
Assignees

Comments

@t1m0thyj
Copy link
Contributor

t1m0thyj commented Aug 18, 2017

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?

@drigz
Copy link
Member

drigz commented Aug 18, 2017

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

@drigz drigz self-assigned this Aug 18, 2017
@t1m0thyj
Copy link
Contributor Author

t1m0thyj commented Aug 19, 2017

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.

@t1m0thyj
Copy link
Contributor Author

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.

@drigz
Copy link
Member

drigz commented Aug 21, 2017

@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.

@Sispheor
Copy link

Sispheor commented Sep 4, 2017

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?

@drigz
Copy link
Member

drigz commented Sep 4, 2017

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.

@t1m0thyj
Copy link
Contributor Author

t1m0thyj commented Sep 4, 2017

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.

@drigz
Copy link
Member

drigz commented Sep 4, 2017

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

@t1m0thyj
Copy link
Contributor Author

t1m0thyj commented Sep 4, 2017

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

@t1m0thyj t1m0thyj closed this as completed Sep 4, 2017
@Sispheor
Copy link

Sispheor commented Sep 4, 2017

I confirm @t1m0thyj . Thank you guys.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants