# Remote.it failed on RPi after updating OS packages

**URL:** <https://forum.remote.it/t/remote-it-failed-on-rpi-after-updating-os-packages/1433>\
**Category:** Troubleshooting\
**Created:** [September 30, 2025, 2:44pm UTC](https://forum.remote.it/t/remote-it-failed-on-rpi-after-updating-os-packages/1433 "2025-09-30T14:44:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nprampage](https://avatars.discourse-cdn.com/v4/letter/n/71c47a/32.png) [@nprampage](https://forum.remote.it/u/nprampage)\
**Post date:** [September 30, 2025, 2:44pm UTC](https://forum.remote.it/t/remote-it-failed-on-rpi-after-updating-os-packages/1433/1 "2025-09-30T14:44:07Z")

</div>

I’ve gotten into a bit of a mess here on my Raspberry Pi 3B+, which has been running remote.it for a long time without issue. I found an unrelated issue on my Rpi yesterday which prevented updated packages from getting installed; I corrected that, but after running apt get update and apt get upgrade plus a reboot, I found on the next day that my remote.it services were down – attempts to connect from another system showed the service was offline.

So I got the message in Remote.it client stating:

`Restore RaspberryPi: If you lost or deleted this device you can restore it by running the following command on the device.`

I ssh’d into the Pi and ran the command given. This showed a lot of feedback, including `“Remote.it CLI is detected on this system.”` It says the Device Package cannot coexist with Remote.It CLI and to please uninstall before installing Device Package.

Okay, no problem. I ran `apt purge remoteit`, but then it says `“package is in a very bad inconsistent state; you should reinstall it before attempting a removal”`

So I tried a reinstall with `"sudo apt install remoteit”`. This resulted in the message above regarding `“CLI is detected on this system”` again. It’s followed by `Sub-process /usr/bin/dpkg returned an error code (1)`.

I’m kind of running in circles here. I could use some guidance on how to proceed.

---

<div class="post-metadata">

**Author:** ![nprampage](https://avatars.discourse-cdn.com/v4/letter/n/71c47a/32.png) [@nprampage](https://forum.remote.it/u/nprampage)\
**Post date:** [September 30, 2025, 3:50pm UTC](https://forum.remote.it/t/remote-it-failed-on-rpi-after-updating-os-packages/1433/2 "2025-09-30T15:50:48Z")

</div>

Figured this out finally…the CLI is detected…reference was for a file in /usr/bin that was left over from something. Anyway, it’s just “remoteit”. I renamed the file and ran the recovery command again, and I’m back in business.
