karolpiczak / EARS

EARS: Environmental Audio Recognition System
MIT License
110 stars 28 forks source link

portaudio headers have conflicting dependencies #2

Closed hugokoopmans closed 7 years ago

hugokoopmans commented 7 years ago

Hi Karol,

When installing on a RPi3 I run into trouble on step 2:

(ears)hugo@soundscaper:~/ears $ sudo apt-get install libasound-dev libportaudio-dev portaudio19-dev libportaudio2
[sudo] password for hugo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libasound2-dev' instead of 'libasound-dev'
libportaudio2 is already the newest version.
libportaudio2 set to manually installed.
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:
 portaudio19-dev : Conflicts: libportaudio-dev but 18.1-7.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Any suggestions getting around this?

Thx

karolpiczak commented 7 years ago

See if just using sudo apt-get install portaudio19-dev won't do the job. I went overboard here, as naming all those packages is redundant. I've checked that portaudio19-dev depends on libasound2-dev and libportaudio2 either way, and libportaudio-dev is a virtual package, so just installing portaudio19-dev should be sufficient.