remote.it Community Forum

Remoteit no fully installed (raspbian)

I installed remoteit on a Raspberry Pi Zaro and the installation didn’t finished the setup. So I went thru the cli to login and register the services and now I can access mi Rpi remotely as expected.

The problem I have is that now every time I install a package (not related to remoteit) I get a message (see below at the end saying the post-installation failed and I suspect this is affecting some other instalatios, (besides it doesn’t look nice).
When I do a update/upgrade I see “1 not fully installed or removed too”.

Thanks for your help

pi@piaware:/etc/remoteit $ sudo apt install remoteit
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:

  • remoteit*
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    1 not fully installed or removed.
    Need to get 13.9 MB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://flightaware.com/mirror/raspberrypi/debian buster/main armhf remoteit armhf 1.1.10 [13.9 MB]
    Fetched 13.9 MB in 12s (1,157 kB/s)
    Reading changelogs… Done
    (Reading database … 53884 files and directories currently installed.)
    Preparing to unpack …/remoteit_1.1.10_armhf.deb …
    Unpacking remoteit (1.1.10) over (1.1.3) …
    Setting up remoteit (1.1.10) …
    you already have the latest connectd version
    you already have the latest muxer version
    upgrading remoteit to 1.6.3
  • ✓ Uninstalled system service successfully*
  • ✓ Installed and started system service successfully*
    upgrading desktop to 2.7.7
    A dependency job for remoteit-headless.service failed. See ‘journalctl -xe’ for details.
    dpkg: error processing package remoteit (–configure):
  • installed remoteit package post-installation script subprocess returned error exit status 1*
    Errors were encountered while processing:
  • remoteit*
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    pi@piaware:/etc/remoteit $

This is the output for and update/upgrade:

pi@piaware:/etc/remoteit sudo apt-get update Hit:1 http://flightaware.com/mirror/raspbian/raspbian buster InRelease Hit:2 http://flightaware.com/adsb/piaware/files/packages buster InRelease Hit:3 http://flightaware.com/mirror/raspberrypi/debian buster InRelease Hit:4 http://repo.feed.flightradar24.com flightradar24 InRelease Reading package lists... Done pi@piaware:/etc/remoteit sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
rpi-eeprom
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 353 kB of archives.
After this operation, 525 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://flightaware.com/mirror/raspberrypi/debian buster/main armhf rpi-eeprom all 7.12-1 [353 kB]
Fetched 353 kB in 1s (388 kB/s)
Reading changelogs… Done
(Reading database … 53884 files and directories currently installed.)
Preparing to unpack …/rpi-eeprom_7.12-1_all.deb …
Unpacking rpi-eeprom (7.12-1) over (7.10-1) …
Setting up remoteit (1.1.10) …
you already have the latest connectd version
you already have the latest muxer version
/var/lib/dpkg/info/remoteit.postinst: 39: /var/lib/dpkg/info/remoteit.postinst: /usr/share/remoteit/remoteit: not found
dpkg: error processing package remoteit (–configure):
installed remoteit package post-installation script subprocess returned error exit status 127
Setting up rpi-eeprom (7.12-1) …
Processing triggers for man-db (2.8.5-2) …
Errors were encountered while processing:
remoteit
E: Sub-process /usr/bin/dpkg returned an error code (1)

What do you get when you run the command shown above?

I see that you are probably using something other than stock Raspbian or Raspberry Pi - looks like “flightaware” perhaps? We have not tested our package with this and there may be some missing dependencies.

Thank you, I was able to fix it by copying the remoteid command from a folder called backup to the parent folder.