New install of TinyPilot issue
Hi,
I am setting up a new install of TinyPilot on my raspberry Pi 4. I am having an issue with the install. The task that is failing is
TASK [ansible-role-ustreamer : install Janus Debian package] *******************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "dpkg --force-confdef - -force-confold -i /root/.ansible/tmp/ansible-tmp-1668906276.5829031-2131-5853605 1756080/janus_1.0.1-20221104_armhfp4a6xq0d.deb failed", "stderr": "dpkg: error p rocessing archive /root/.ansible/tmp/ansible-tmp-1668906276.5829031-2131-5853605 1756080/janus_1.0.1-20221104_armhfp4a6xq0d.deb (--install):\n trying to overwrit e '/usr/lib/arm-linux-gnueabihf/libnice.so.10', which is also in package libnice 10:armhf 0.1.16-1\nErrors were encountered while processing:\n /root/.ansible/tm p/ansible-tmp-1668906276.5829031-2131-58536051756080/janus_1.0.1-20221104_armhfp 4a6xq0d.deb\n", "stderr_lines": ["dpkg: error processing archive /root/.ansible/ tmp/ansible-tmp-1668906276.5829031-2131-58536051756080/janus_1.0.1-20221104_armh fp4a6xq0d.deb (--install):", " trying to overwrite '/usr/lib/arm-linux-gnueabihf /libnice.so.10', which is also in package libnice10:armhf 0.1.16-1", "Errors wer e encountered while processing:", " /root/.ansible/tmp/ansible-tmp-1668906276.58 29031-2131-58536051756080/janus_1.0.1-20221104_armhfp4a6xq0d.deb"], "stdout": "( Reading database ... 106286 files and directories currently installed.)\nPrepari ng to unpack .../janus_1.0.1-20221104_armhfp4a6xq0d.deb ...\nUnpacking janus (1. 0.1) ...\nProcessing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u4) ...\n", " stdout_lines": ["(Reading database ... 106286 files and directories currently in stalled.)", "Preparing to unpack .../janus_1.0.1-20221104_armhfp4a6xq0d.deb ..." , "Unpacking janus (1.0.1) ...", "Processing triggers for libc-bin (2.31-13+rpt2 +rpi1+deb11u4) ..."]}
PLAY RECAP *********************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=1 s kipped=2 rescued=0 ignored=0
- clean_up
- rm -rf /var/tmp/tmp.yTY0rvwct0.yml
- CCharles Hague @cghague2022-11-21 15:15:54.007Z
Hi @akex1651 - thanks for reaching out to us with your question about installing TinyPilot.
This is a known issue as a result of Raspberry Pi OS Bullseye having libnice10 pre-installed. As a workaround you can run
sudo apt remove -y libnice10
on the target system before retrying the installation.