Beta6 fails on Rpi2 on Bookworm - Detected as Arm6

Hi, I realise that Beta6 on Bookworm is unsupported. I still gave it a go and think I found an issue to be looked into at some point in the future. This was on a clean install of the Lite OS from raspberrypi.com.

The installer detects the Raspberry Pi 2 as Arm6 instead of Arm7. The install fails when trying to create the Gravity DB. It gives a floating point error.

If I run this from the master install.sh:
(uname -m | sed "s/[^0-9]//g;")
I get 7.
If I run this from the v6 branch:
(readelf -A "$(command -v sh)" | grep Tag_CPU_arch | awk '{ print $2 }')
I get v6.
If I run arch I get:
armv7l

I hope this helps, apologies if I’ve misread the code.
Kind regards,
Paul.

This is not the case.

Debian Bookworm (12) is supported.

Raspbian Bookworm (12) is not yet supported (but we expect it will be supported relatively soon, now that it was officially released a few days ago).

dig +short -t txt versions.pi-hole.net @ns1.pi-hole.net
"Raspbian=10,11 Ubuntu=20,22,23 Debian=10,11,12 Fedora=36,37,38 CentOS=8,9"

From your Pi terminal, what is the complete output of the following command:

cat /etc/os-release

Hi, thanks and sorry for the misunderstanding.

Here’s the output:

PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Ah, I see. I’m on Raspbian 12 not Debian 12.

I'm using, fresh install (info copied from download site):

Raspberry Pi OS Lite
Release date: October 10th 2023
System: 64-bit
Kernel version: 6.1
Debian version: 12 (bookworm)

apparently, the 64-bit version reports different (cat /etc/os-release):

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

That's correct. :wink:

When RPi Foundation started to offer 64bit OSs, they switched to using the name RaspberryPi OS for all their OSs.
So RPi OS 64bit images are based on Debian, while the 32bit images remain based on Raspbian.

One of the founders of Raspbian explained that in the Raspberry Pi forums a while ago, see https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=275380&sid=1a468f226394ccddf4654a3d3d90cb7d#p1668466.

1 Like

Thank you all for your input!

Hi, I wanted to update this following on from this thread:

I edited basic-install.sh on my device so that regardless of the version detected, it downloaded and installed the armv7 FTL build. It installed and ran without issue.
I'm aware ( now :wink: ) Raspbian still isn't supported, but if I can help test at any point, please let me know.
Thanks,
Paul.

Same here, works flawlessly (just that I default to armv6)

https://github.com/pi-hole/pi-hole/pull/5445

has just been merged so any future pulls will automatically install the correct binary without needing an edit of the basic-install.sh. You may need to undo the change before you can update.

Further refinement

https://github.com/pi-hole/pi-hole/pull/5451