OctoPi - Unable to sudo (relocation error)

What is the problem?

When logging in to the Rapberry Pi using ssh (pi user), I am no longer able to use sudo. It returns this error message.
sudo: relocation error: sudo: symbol ▒▒42▒▒ #▒▒N▒▒▒C▒▒ version GLIBC_2.8 not defined in file libc.so.6 with link time reference

What did you already try to solve it?
Unable to find any matches to the error using google.
Looks like some wort of package depenency error.

Move the pi/rebooted so I can put it to a monitor/keyboard and access the console.
Octoprint no longer starts up. The octoprint.log file contains nothing since restarting the pi.

Additional information about your setup

RaspberyPi Model 3B.
No camera

pi@ghost4s:~ $ cat /etc/debian_version
pi@ghost4s:~ $ cat /etc/octopi_version

How to best resolve this without reimaging th pi.



Unfortunately, this sounds like a classic case of a corrupted (micro) SD card and your best option is to reimage the card. I even go so far as to start with a new SD card. If OctoPrint is still responding, you can use its web interface to create a backup, download it, and you can restore it to the new image.

1 Like

I was hoping that wasn't going to be the case.