No internet connection
  1. Home
  2. Technical Support

Need suggestions to complete update to version 2.5.4 from 2.5.0

By M H @mhdrateln
    2023-08-17 03:38:47.950Zassigned to
    • @cghague

    Can't update to version 2.5.4 from 2.5.0

    1.- Did ++++++++

    $ sudo apt-get update --allow-releaseinfo-change
    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
    Reading package lists... Done

    2.- this is my profile

    $ cat /etc/os-release
    PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
    NAME="Raspbian GNU/Linux"
    VERSION_ID="10"
    VERSION="10 (buster)"
    VERSION_CODENAME=buster
    ID=raspbian
    ID_LIKE=debian
    HOME_URL="http://www.raspbian.org/"
    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
    pilot@nanosolstice:~ $ ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=112 time=28.7 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=112 time=26.7 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=112 time=19.9 ms
    64 bytes from 8.8.8.8: icmp_seq=4 ttl=112 time=24.4 ms

    --- 8.8.8.8 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 8ms
    rtt min/avg/max/mdev = 19.946/24.944/28.703/3.262 ms

    3.- ++++++++++
    after

    /opt/tinypilot/scripts/upgrade && sudo reboot
    +++++++++++++++++=
    I get

    PLAY [localhost] *******************************************************************************************************

    TASK [Gathering Facts] *************************************************************************************************
    ok: [localhost]

    TASK [ansible-role-tinypilot-pro : detect OS] **************************************************************************
    ok: [localhost]

    TASK [ansible-role-tinypilot-pro : choose the default version of uStreamer to install] *********************************
    ok: [localhost]

    TASK [ansible-role-tinypilot-pro : override the target version of uStreamer with a legacy version for compatibility] ***
    ok: [localhost]

    TASK [ansible-role-ustreamer : include distribution-specific vars] *****************************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : check that the H264 variables are in a consistent state] ********************************
    skipping: [localhost]

    TASK [ansible-role-ustreamer : determine whether to install Janus] *****************************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : detect OS] ******************************************************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : decide whether to support audio streaming] **********************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : install Janus] **************************************************************************
    included: /mnt/tinypilot-installer/roles/ansible-role-ustreamer/tasks/install_janus.yml for localhost

    TASK [ansible-role-ustreamer : check if legacy Janus package is installed] *********************************************
    fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg-query --show --showformat='${Maintainer}' janus | grep TinyPilot", "delta": "0:00:00.037393", "end": "2023-08-17 02:13:54.489520", "msg": "non-zero return code", "rc": 1, "start": "2023-08-17 02:13:54.452127", "stderr": "dpkg-query: no packages found matching janus", "stderr_lines": ["dpkg-query: no packages found matching janus"], "stdout": "", "stdout_lines": []}
    ...ignoring

    TASK [ansible-role-ustreamer : determine if legacy Janus package is installed] *****************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : uninstall legacy Janus package] *********************************************************
    skipping: [localhost]

    TASK [ansible-role-ustreamer : install apt_key dependency] *************************************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : add archive apt repository key] *********************************************************
    ok: [localhost]

    TASK [ansible-role-ustreamer : enable Janus apt suite] *****************************************************************
    fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:GPG error: http://deb.debian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131, E:The repository 'http://deb.debian.org/debian buster-backports InRelease' is not signed."}

    PLAY RECAP *************************************************************************************************************
    localhost : ok=13 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=1

    ++++++++++++++++

    • 2 replies
    1. C
      In reply tomhdrateln:

      Hi M H, I'm sorry you're running into this update issue.

      Thanks for sharing those logs! The error you're experiencing is a known issue when trying to update to 2.5.4. However, there is a workaround you can use.

      SSH into your TinyPilot and run the following commands:

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
      

      Then run the TinyPilot update on the TinyPilot web interface.

      Alternatively, if you have access to the latest version of TinyPilot Pro (2.6.0), I'd recommend re-flashing your SD card instead. The latest version runs on top of a newer operating system and will continue to receive updates. The version you're currently running on won't receive additional updates beyond 2.5.4 without re-flashing with the new operating system.

      I hope that helps! Please let me know if you have any other questions.

      1. Progress
        with handling this problem
      2. M
        M H @mhdrateln
          2023-08-17 03:47:16.184Z

          I also tried via https:/
          and got this error trying to update
          The update failed: Command '['sudo', '/opt/tinypilot-privileged/update']' returned non-zero exit status 2.