Peakoverload
Posts: 27
Joined: Mon Jul 01, 2019 10:24 am
Location: West Sussex, England

Unmet dependencies

Thu Jul 11, 2019 7:22 pm

I'm trying to get the Alexa Voice Service installed on my Pi. This is my first ever Pi project and know zilch about Pi or Python so it's a bit of a baptism of fire.

I'm following this guide https://pimylifeup.com/raspberry-pi-alexa/ and I'm at In step 5 of Setting up Alexa on the Raspberry Pi so I'm entering this in terminal

Code: Select all

sudo bash setup.sh config.json
I enter agree

It then says:

Code: Select all

Hit: 1 http://archive.raspberrypi.org/debian buster InRelease[
Hit: 2 http://raspian.raspberrypi.org/raspian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
gcc is already the new version (4:8.3.0-1+rpi2).
gcc set to manually installed.
git is already the newest version (1:2.20.1-2).
gstreamer1.0-plugins-good is already the newest version (1.14.4-1).
python3-pip is already the newest version (18.1-5+rpt1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcurl3-openssl-dev : Conflicts: libssl1.0-dev but 1.0.2q-2 is to be installed
E: Unable to correct problems, you have held broken packages.
I haven't a clue what that last bit means and in Googling it I see a few people with the exact same issue.

Anyone know how to fix this? Is it because Buster is new and perhaps not yet 100% updated? </noideawhatimtalkingabout>

User avatar
topguy
Posts: 5626
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Unmet dependencies

Fri Jul 12, 2019 12:11 pm

More likely, no one has had tested/adjusted the setup.sh script for Buster yet..



I look at this "pi.sh" and it seems to refer to libcurl4-openssl-dev now, so maybe run the "wget" again to update pi.sh.

Code: Select all

install_dependencies() {
  sudo apt-get update
  sudo apt-get -y install git gcc cmake build-essential libsqlite3-dev libcurl4-openssl-dev libssl1.0-dev libfaad-dev libsoup2.4-dev libgcrypt20-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-good libasound2-dev sox gedit vim python3-pip
  pip install flask commentjson
}

Peakoverload
Posts: 27
Joined: Mon Jul 01, 2019 10:24 am
Location: West Sussex, England

Re: Unmet dependencies

Fri Jul 12, 2019 1:40 pm

Well that's a pain! :cry:

The reason I bought the Pi was to build an Alexa that I could expand upon but the AlexaPi project on github is not under any active development and hasn't been for some time. So it looks like I missed the boat by a few months (running wget again on pi.sh doesn't make a difference).

I'm guessing you can't install Stretch on a Pi4 (I can't find anywhere to download an installer for it anyway).

Really didn't want to use Google Assistant as there were some functions on Alexa I really wanted to make use of.

Might have to see if I can get hold of a Pi 3 with Stretch from somewhere.

User avatar
B.Goode
Posts: 8051
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Unmet dependencies

Fri Jul 12, 2019 2:22 pm

Might have to see if I can get hold of a Pi 3 with Stretch from somewhere.


All the images of the Raspbian Operating System ever released are archived on the Raspberry Pi download server, so getting the final April 2019 image of Raspbian Stretch will not be an issue.

The Raspberry Pi 3 Model B and Model B+ boards are supposed to be available for years yet, so buying one from a recommended reseller should not be a problem either.

User avatar
topguy
Posts: 5626
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Unmet dependencies

Sat Jul 13, 2019 12:56 pm

Problems regarding the installation and running the app are being reported as bugs and suggested fixes are posted.
https://github.com/alexa/avs-device-sdk/issues/1405
https://github.com/alexa/avs-device-sdk/issues/1413

I don't have a Pi running Buster yet so I can't test any potential fixes. Alexa is used by many people so some complete guide for Buster will pop up sooner or later. But its hard to know when or where.

Return to “Troubleshooting”