What is the problem?
failed to install python3-dev
What did you already try to solve it?
I log into my Pi via SSH
I prefer to use the screen
command
Then
curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
python3 upgrade.py
ok so far
Checking package list for python3-dev
Installing python3-dev...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ERROR: failed to install python3-dev
Please try manually
Cleaning up...
Fatal error: Exiting
So i do sudo dpkg --configure -a
It asking me something a new version of config file of openssh. because i dont use it i choose the maintainer's version.
Errors were encountered while processing:
libmagic1:armhf
file
Then i did sudo dpkg --configure -a
again
pi@octopi:~ $ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libmagic1:armhf:
libmagic1:armhf depends on libmagic-mgc (= 1:5.35-4+deb10u2); however:
Package libmagic-mgc is not installed.
dpkg: error processing package libmagic1:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of file:
file depends on libmagic1 (= 1:5.35-4+deb10u2); however:
Package libmagic1:armhf is not configured yet.
dpkg: error processing package file (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libmagic1:armhf
file
Then again
curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
python3 upgrade.py
Then i got a lot of Cache entry deserialization failed, entry ignored
messages.
last line is Installing collected packages
and then the connection get lost.
Have you tried running in safe mode?
no
Did running in safe mode solve the problem?
donno
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20211021125017.zip (3.5 KB)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint Version 1.7.0
OctoPi Version 0.17.0, running on Raspberry Pi 3 Model B Plus Rev 1.3
Win10
Firefox 93.0
Marlin