OpenMarine

Full Version: Unable to install Pypilot - details in body (SOLVED)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello:

Decided to upgrade to latest image after receiving MacArthur Hat.

Install: 2024-06-19-Openplotter-V4_Starting-stable-img.zip on a pi4

Install went as expected. 

Needed to update a few settings/documentation etc. That went fine.

Installed OpenCPN - no problems.

Attempted to install Pypilot - problems. Similar issues when attempting to install I2C Sensors and GPIO.

Log for Pypilot install follows:

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  python3-bidict python3-engineio python3-flask-socketio
  python3-importlib-metadata python3-more-itertools python3-socketio
  python3-zipp
Suggested packages:
  python-bidict-doc
The following NEW packages will be installed:
  openplotter-pypilot python3-bidict python3-engineio python3-flask-socketio
  python3-importlib-metadata python3-more-itertools python3-socketio
  python3-zipp
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 8 newly installed, 0 to remove and 136 not upgraded.
1 not fully installed or removed.
Need to get 0 B/338 kB of archives.
After this operation, 1,415 kB of additional disk space will be used.
Setting up libc-bin (2.36-9+rpt2+deb12u7) ...
Segmentation fault
Segmentation fault
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo: pypilotPostInstall: command not found


This is way over my head for the moment and looking to see if there are suggestions. As this is beta release, I assumed it would install however, could still be working out some bugs?

Comments appreciated.

Cheers,

Steve
Seems like you have a previous failed installation: 1 not fully installed or removed.

try to do this is in a terminal:

sudo apt update
sudo apt full-upgrade

If there is any error you should also get recommendations to solve it.
Fantastic Sailoog....I had no idea where to turn, I will try that see what happens and worst case, reformat card and start from scratch.

For this install I used the raspberry pi imager to upload the 4.x build onto the card. During that install it indicated that all data on the card would be erased. Perhaps not.

I will try updates and then post back on the forum in the next few days with updates. Appreciate you taking the time to provide a direction to follow.
Hello,

Confirmed, ended up taking out SD card, performing deep format, re-transfer V4.x, reinstall -> working.

Appreciate the feedback Sailoog.

Cheers,

Steve