Closed mats-nk closed 10 months ago
Suggested :
PRETTY_NAME="Raspberry Pi OS GNU/Linux 12 (bookworm)"
NAME="Raspberry Pi OS GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="https://www.raspberrypi.com/software/"
SUPPORT_URL="https://forums.raspberrypi.com/"
BUG_REPORT_URL="https://github.com/raspberrypi/bookworm-feedback/issues/"
Duplicate of https://github.com/RPi-Distro/repo/issues/293
This makes me sad, os_release has an intention and it is treated in this way!
As the issue @XECDesign has linked to demonstrates, this is a 32-bit / 64-bit OS difference, not a Bullseye / Bookworm difference.
It is not even a Bookworm/Bullseye issue it is a done wrong and done right issue and it is still a higher motivation to motivate to do wrong than to correct it. So sad.
Well if it matters to you that much, I guess you'll have to just keep using the 32-bit versions of Raspberry Pi OS (based on upstream Raspbian) rather than using the 64-bit versions (based on upstream Debian). No need to be sad :smiley:
The info in
/etc/os-release
differs between Bullseye and Bookworm.Many scripts uses
/etc/os-release
to detect what OS release is used and with Bookworm it is impossible to detect that it is a "Raspberry Pi OS" aka raspbian OS running.It would be appreciated if Bookworm continue to be detected as "Raspberry Pi OS" or raspbian in the future.
Bullseye
cat /etc/os-release
Bookworm
cat /etc/os-release