Hello everyone,
We are trying to install Python 3 on our Raspberry Pi 3 Model B, using apt-get, here are some results :
sudo apt-get install python3 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: python-picamera : Depends: libraspberrypi0 but it is not going to be installed python3 : Depends: python3.4 (>= 3.4.2-0) but it is not going to be installed Depends: python3-minimal (= 3.4.2-2) but it is not going to be installed Depends: libpython3-stdlib (= 3.4.2-2) but it is not going to be installed Depends: dh-python but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
It seems that libraspberrypi0 is missing. When trying to do the apt-get -f install command for fixing the problem, the result is the following :
Unpacking raspberrypi-bootloader (1.20161215-1) ... dpkg: error processing archive /var/cache/apt/archives/raspberrypi-bootloader_1.20161215-1_armhf.deb (--unpack): trying to overwrite '/boot/fixup_cd.dat', which is also in package raspberrypi-bootloader-emlid 1.3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Preparing to unpack .../libraspberrypi0_1.20161215-1_armhf.deb ... Unpacking libraspberrypi0 (1.20161215-1) ... dpkg: error processing archive /var/cache/apt/archives/libraspberrypi0_1.20161215-1_armhf.deb (--unpack): trying to overwrite '/opt/vc/lib/libmmal_core.so', which is also in package raspberrypi-userspace-emlid 1.6 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/raspberrypi-bootloader_1.20161215-1_armhf.deb /var/cache/apt/archives/libraspberrypi0_1.20161215-1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Looks like we cannot overwrite on the current bootloader (we are using the OS given on the EMLID Documentation). We need Python 3 to perform some command for image processing algorithms, but we don’t really want to rebuild a new image for the Raspberry.
Any help would be highly appreciated !!
Thank you