No internet connection
  1. Home
  2. Technical Support

Can't install from GitHub under Bookworm

By @RDGInfoSys
    2024-02-18 23:47:44.139Z2024-02-19 00:02:13.780Zassigned to
    • @david

    EDIT: I see that Bookworm isn't supported yet. Should I add these issues to GitHub? I did a search for "Unable to correct problems, you have held broken packages", but didn't find anything. Let me know if you want a Bookworm install for testing, otherwise I'll archive this install and start over w/ Bullseye.


    Got a little impatient and tried installing the GitHub code on a fresh Bookworm install. The Pi is a 2GB RPi4 w/ a C779 Video Capture card. So, following the steps listed under "Advanced Installation", I added 'dtoverlay=tc358743' to /boot/config.txt, rebooted, and then tried the reinstall. I get errors that janus has unmet dependencies, yet it's installed and that tinypilot depends on python, which is not going to be installed, but it already is.

    Also, two of the five dependencies for janus are already installed, and the other three are not in the bookworm source list.

    There's also the error: "Unable to correct problems, you have held broken packages."; however, there are no broken or held packages.

    pilot@tinypilot:~ $ (sudo apt remove --yes tinypilot || true) && \
      curl \
        --silent \
        --show-error \
        https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/get-tinypilot.sh | \
          bash - && \
      sudo reboot
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package tinypilot
    + HAS_PRO_INSTALLED=0
    ++ dirname bash
    + SCRIPT_DIR=.
    + [[ . = \. ]]
    + SCRIPT_DIR=/opt/tinypilot
    + readonly SCRIPT_DIR
    + readonly TINYPILOT_README=/opt/tinypilot/README.md
    + TINYPILOT_README=/opt/tinypilot/README.md
    + [[ -f /opt/tinypilot/README.md ]]
    + readonly HAS_PRO_INSTALLED
    + [[ 0 = 1 ]]
    + readonly LEGACY_INSTALLER_DIR=/opt/tinypilot-updater
    + LEGACY_INSTALLER_DIR=/opt/tinypilot-updater
    + readonly RAMDISK_SIZE_MIB=560
    + RAMDISK_SIZE_MIB=560
    ++ free --mebi
    ++ grep --fixed-strings Mem:
    ++ tr --squeeze-repeats ' '
    ++ cut --delimiter ' ' --fields 7
    + AVAILABLE_MEMORY_MIB=1683
    + readonly AVAILABLE_MEMORY_MIB
    + INSTALLER_DIR=/mnt/tinypilot-installer
    + trap clean_up EXIT
    + ((  1683 >= 560  ))
    + sudo mkdir /mnt/tinypilot-installer
    + sudo mount --types tmpfs --options size=560m --source tmpfs --target /mnt/tinypilot-installer --verbose
    mount: tmpfs mounted on /mnt/tinypilot-installer.
    + readonly INSTALLER_DIR
    + readonly TMPDIR=/mnt/tinypilot-installer/tmp
    + TMPDIR=/mnt/tinypilot-installer/tmp
    + export TMPDIR
    + sudo mkdir /mnt/tinypilot-installer/tmp
    + readonly BUNDLE_FILE=/mnt/tinypilot-installer/bundle.tgz
    + BUNDLE_FILE=/mnt/tinypilot-installer/bundle.tgz
    ++ curl https://gk.tinypilotkvm.com/community/download/latest --location --output /mnt/tinypilot-installer/bundle.tgz --write-out '%{http_code}' --silent
    + HTTP_CODE=200
    + readonly HTTP_CODE
    + [[ 200 != \2\0\0 ]]
    + sudo tar --gunzip --extract --file /mnt/tinypilot-installer/bundle.tgz --directory /mnt/tinypilot-installer
    + sudo chown root:root --recursive /mnt/tinypilot-installer
    + [[ 0 -eq 1 ]]
    + pushd /mnt/tinypilot-installer
    /mnt/tinypilot-installer ~
    + sudo TMPDIR=/mnt/tinypilot-installer/tmp ./install
    + grep -q '^Model *: Raspberry Pi 3' /proc/cpuinfo
    ++ lsb_release --id --short
    + [[ Debian == \R\a\s\p\b\i\a\n ]]
    ++ lsb_release --id --short
    + [[ Debian == \R\a\s\p\b\i\a\n ]]
    + grep -q boot=overlay /proc/cmdline
    ++ ls janus_1.0.1-1~bpo11+1_armhf.deb
    + JANUS_DEBIAN_PACKAGE=janus_1.0.1-1~bpo11+1_armhf.deb
    + readonly JANUS_DEBIAN_PACKAGE
    ++ ls ustreamer_5.43-20231004144402_armhf.deb
    + USTREAMER_DEBIAN_PACKAGE=ustreamer_5.43-20231004144402_armhf.deb
    + readonly USTREAMER_DEBIAN_PACKAGE
    ++ ls tinypilot_20240215192350_armhf.deb
    + TINYPILOT_DEBIAN_PACKAGE=tinypilot_20240215192350_armhf.deb
    + readonly TINYPILOT_DEBIAN_PACKAGE
    + apt-get update --allow-releaseinfo-change-suite
    Hit:1 http://deb.debian.org/debian bookworm InRelease
    Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease   
    Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease  
    Reading package lists... Done                                   
    + apt-get install -y ./janus_1.0.1-1~bpo11+1_armhf.deb ./ustreamer_5.43-20231004144402_armhf.deb ./tinypilot_20240215192350_armhf.deb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'janus:armhf' instead of './janus_1.0.1-1~bpo11+1_armhf.deb'
    Note, selecting 'ustreamer:armhf' instead of './ustreamer_5.43-20231004144402_armhf.deb'
    Note, selecting 'tinypilot:armhf' instead of './tinypilot_20240215192350_armhf.deb'
    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:
     janus:armhf : Depends: libduktape205:armhf (>= 2.0.3) but it is not installable
                   Depends: libnanomsg5:armhf (>= 1.1.5) but it is not going to be installed
                   Depends: libsofia-sip-ua0:armhf (>= 1.12.10) but it is not going to be installed
                   Depends: libusrsctp1:armhf (>= 0.9.3.0+20190901) but it is not installable
                   Depends: libwebsockets16:armhf (>= 4.0.19) but it is not installable
                   Recommends: lua-ansicolors:armhf but it is not installable
                   Recommends: lua-json:armhf but it is not installable
     tinypilot:armhf : Depends: python3:armhf but it is not going to be installed
                       Depends: python3-pip:armhf but it is not installable
                       Depends: python3-venv:armhf but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    + clean_up
    + sudo umount --lazy /mnt/tinypilot-installer
    + sudo rm -rf /opt/tinypilot-updater /mnt/tinypilot-installer
    pilot@tinypilot:~ $ sudo apt install python3 python3-pip python3-venv janus libduktape205 libsofia-sip-ua0 libusrsctp1 libwebsockets16 lua-ansicolors lua-json ustreamer tinypilot
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package libduktape205
    E: Unable to locate package libusrsctp1
    E: Unable to locate package libwebsockets16
    E: Unable to locate package tinypilot
    pilot@tinypilot:~ $ sudo apt install python3 python3-pip python3-venv janus libsofia-sip-ua0 lua-ansicolors lua-json ustreamer
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    python3 is already the newest version (3.11.2-1+b1).
    python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
    python3-venv is already the newest version (3.11.2-1+b1).
    janus is already the newest version (1.1.2-1).
    libsofia-sip-ua0 is already the newest version (1.12.11+20110422.1+1e14eea~dfsg-6).
    lua-ansicolors is already the newest version (1.0.2-3).
    lua-json is already the newest version (1.3.4-2).
    ustreamer is already the newest version (4.9-1+b1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    pilot@tinypilot:~ $ dpkg -l | grep "^h"
    pilot@tinypilot:~ $ dpkg --get-selections | grep hold
    pilot@tinypilot:~ $ 
    
    Solved in post #2, click to view
    • 3 replies
    1. David @david2024-02-19 13:09:16.721Z

      Hi @RDGInfoSys, thanks for that info!

      As you mentioned in your edit, TinyPilot doesn't currently support Bookworm. We have some open GitHub issues to track progress related to making TinyPilot compatible with Bookworm-based systems.

      Should I add these issues to GitHub?

      It looks like we already have an open issue for Janus' unmet dependencies (and Python's), but if you noticed any other compatibility issues, you're more than welcome to create new issues on our GitHub page!

      I replied to your other thread about getting up and running with Bullseye - hopefully that helps!

      ReplySolution
      1. R@RDGInfoSys
          2024-02-21 01:03:43.170Z

          I've got enough flash drives I could easily swap back and forth between a working 32-bit Bullseye and a testing 64-bit Bookworm. Let me know if you need any beta testers.

          • Ray
          1. David @david2024-02-21 12:13:09.024Z

            We're always happy to have contributors! We have a guide on getting set up for contributions / testing the latest builds on GitHub if you're interested.