I then tried to install Pi-hole via Docker, but installing Docker fails with a segmentation fault from libc-bin:
Setting up libc-bin (2.36-9+rpt2+deb12u9) ...
Segmentation fault
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 139
Even after reflashing the OS, the issue persists immediately once package installation is attempted.
Debug Token:
No debug token available, since pihole -d can't be run – Pi-hole doesn't install due to broken dpkg / libc-bin.
Question:
Could this be caused by booting from USB stick (instead of SD card)? Or maybe by having the SSD board installed without an SSD?
Any help or similar experience would be greatly appreciated.
Installing docker is an OS task and apparently there were some broken libraries.
Can you install docker after you re-flashed the OS?
If you can install docker, your OS is fixed and we can continue the debug to try to understand what is wrong with Pi-hole installation.
If you can't, it means there is something broken in your OS or filesystem.
I'm trying to install Docker on a freshly flashed Raspberry Pi OS Lite 64-bit (Bookworm) to run Pi-hole in a container. However, the installation consistently fails with system-level errors.