Trying to install raspicam_node, but libraspberrypi0 is conflicting with emlid

Hi guys,

I am trying to use ros to control the raspberry camera on my navio2, so I am trying to install a ros node called raspicam_node.
I am using a raspberry pi 3B, and my current image is emlid-raspberry-20170922.img.

I am following the instruction in this blog[http://www.venelinpetkov.com/how-to-install-a-raspberry-camera-node-on-ros-kinetic-raspbian-stretch/], however, when I am trying to get all the libraries the node would need, I found that [ libraspberrypi0 ] has a conflict with the emlid 1.9. the error message is:

Unpacking libraspberrypi0 (1.20171029-1) …
dpkg: error processing archive /var/cache/apt/archives/libraspberrypi0_1.20171029-1_armhf.deb (–unpack):
trying to overwrite ‘/opt/vc/lib/libbcm_host.so’, which is also in package raspberrypi-userspace-emlid 1.9
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/raspberrypi-bootloader_1.20171029-1_armhf.deb
/var/cache/apt/archives/libraspberrypi0_1.20171029-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y libraspberrypi0] failed

Any help will be highly appreciated. I am also open to any new methods that enable me to have access to the raspberry camera other than this raspicam_node Thank you very much!

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.