This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to install Pypilot - details in body (SOLVED)
#1
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
Reply
#2
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.
Reply
#3
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.
Reply
#4
Hello,

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

Appreciate the feedback Sailoog.

Cheers,

Steve
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)