No internet connection
  1. Home
  2. Technical Support

Problem with update/downloading from github

By @Rezunek
    2022-11-22 18:21:33.258Z

    Hello
    Im using these commands to update and download files for my raspberry:

    sudo apt update

    sudo apt full-upgrade

    curl -sS https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install
    | bash -
    sudo reboot

    When i discovered that this link is deprecated I tried another one:

    curl
    --silent
    --show-error
    https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/get-tinypilot.sh |
    bash -

    Still got same error:

    fatal: [localhost]: FAILED! => {"changed": false, "msg": "dpkg --force-confdef --force-confold -i /root/.ansible/tmp/ansible-tmp-1669138519.0795376-2104-27226373884349/janus_1.0.1-20221104_armhfmubjqoi8.deb failed", "stderr": "dpkg: error processing archive /root/.ansible/tmp/ansible-tmp-1669138519.0795376-2104-27226373884349/janus_1.0.1-20221104_armhfmubjqoi8.deb (--install):\n trying to overwrite '/usr/lib/arm-linux-gnueabihf/libnice.so.10', which is also in package libnice10:armhf 0.1.14-1\nErrors were encountered while processing:\n /root/.ansible/tmp/ansible-tmp-1669138519.0795376-2104-27226373884349/janus_1.0.1-20221104_armhfmubjqoi8.deb\n", "stderr_lines": ["dpkg: error processing archive /root/.ansible/tmp/ansible-tmp-1669138519.0795376-2104-27226373884349/janus_1.0.1-20221104_armhfmubjqoi8.deb (--install):", " trying to overwrite '/usr/lib/arm-linux-gnueabihf/libnice.so.10', which is also in package libnice10:armhf 0.1.14-1", "Errors were encountered while processing:", " /root/.ansible/tmp/ansible-tmp-1669138519.0795376-2104-27226373884349/janus_1.0.1-20221104_armhfmubjqoi8.deb"], "stdout": "(Reading database ... 99077 files and directories currently installed.)\nPreparing to unpack .../janus_1.0.1-20221104_armhfmubjqoi8.deb ...\nUnpacking janus (1.0.1) ...\nProcessing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...\n", "stdout_lines": ["(Reading database ... 99077 files and directories currently installed.)", "Preparing to unpack .../janus_1.0.1-20221104_armhfmubjqoi8.deb ...", "Unpacking janus (1.0.1) ...", "Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ..."]}

    I appreciate any help.

    • 1 replies
    1. David @david2022-11-23 12:11:45.523Z

      Hi @Rezunek, sorry that you're running into this issue updating your TinyPilot.

      I think this problem stems from this 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 before retrying the installation.

      Hope that helps!