apt-get install sound_play package failure in Debian Jessie
I'd like to install sound_play package in my debian jessie arm64 board,however I couldn't install it by using "$apt-get install ros-kinetic-sound-play" because of unmet dependencies "libgstreamer-plugins-good1.0-0" ,the detail is listed as below:
root@linaro-alip:~/catkin_ws/src/# apt-get install ros-kinetic-sound-play
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
ros-kinetic-sound-play : Depends: libgstreamer-plugins-good1.0-0 but it is not installable
E: Unable to correct problems, you have held broken packages.
The linux distribution I used was Debian Jessie arm64, ros distribution was kinetic.I installed the sound_play package because I'd like to test some speech recognition and synthesis demos on my company's boards. I had installed and tested some demos on ubuntu 14.04 armhf (ros indigo) on another board,these demos mostly needed the support of the sound_play package,there were no problems on it.
I needed to run these demos on our new 64bits Debian Jessie boards.I checked the wiki and make sure ROS Kinetic supported Debian Jessie.However,the error log showed that "libgstreamer-plugins-good1.0-0" could't be installed in Debian.
In fact,I checked it in both official websites of debian and ubuntu,the package "libgstreamer-plugins-good1.0-0" indeed didn't exist in Debian's package repository : https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=libgstreamer-plugins-good1.0-0,while it exist in ubuntu's package repository:https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=libgstreamer-plugins-good1.0-0&searchon=names
so,I have some problems:
- How to solve the dependency problem in Debian Jessie?
- Are there any other similar audio packages available that supported Debian?
- Can I make a little change of the source codes to make the sound_play package support Debian?
Thanks!
As this pkg was specifically released for this platform, it would be good to report the installation problem you encountered. Please open an issue over at ros-drivers/audio_common/issues.
In the meantime you could try and see whether building it from source in a catkin workspace would work. See #q252478 for the general procedure, but realise that
rosdep
will not be able to install thelibgstreamer-plugins-good1.0-0
dependency. Whether a build will succeed will depend .... on whether
libgstreamer-plugins-good1.0-0
is a hard build dependency or only provides plugins that are optional. Seeing theplugins
in the filename seems to suggest the latter, but you never know.Thanks a lot! I built it from source by following your link,and I could run sound_play in Debian Jessie now.
Please also report the issue with installation on Jessie on the issue tracker, as this is something that should be resolved. Probably a
rosdep
rule needs to be updated.I have solved this problem by following gvdhoorn'link,thanks!
I've re-opened your question and converted your answer into a comment as building from source is at best a work-around, not a solution. The pkg has been released into Kinetic for Jessie, so should install properly. Unavailable dependencies should have been caught earlier, or the pkg should ..
.. be blacklisted for arm64 jessie.
I see you've posted an issue on the
audio_common
tracker: ros-drivers/audio_common#106. Until that is resolved, this question should probably remain unanswered.