Skip to content

[BUG] Raspbery Pi OS no longer shows OS version #2032

@XhmikosR

Description

@XhmikosR

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

Previously, the OS string showed the version too, for example v2.40.4:

        _,met$$$$$gg.          pi@rpi5
     ,g$$$$$$$$$$$$$$$P.       -------
   ,g$$P""       """Y$$.".     OS: Debian GNU/Linux 13 (trixie) aarch64
  ,$$P'              `$$$.     Host: Raspberry Pi 5 Model B Rev 1.1
',$$P       ,ggs.     `$$b:    Kernel: Linux 6.12.47+rpt-rpi-2712
`d$$'     ,$P"'   .    $$$     Uptime: 2 days, 6 hours, 41 mins
 $$P      d$'     ,    $$P     Packages: 670 (dpkg)
 $$:      $$.   -    ,d$$'     Shell: bash 5.2.37
 $$;      Y$b._   _,d$P'       Terminal: /dev/pts/0
 Y$$.    `.`"Y$$$$P"'          CPU: BCM2712 (4) @ 2.40 GHz
 `$$b      "-.__               GPU: Broadcom bcm2712-vc6 [Integrated]
  `Y$$b                        Memory: 685.47 MiB / 15.84 GiB (4%)
   `Y$$.                       Swap: 0 B / 2.00 GiB (0%)
     `$$b.                     Disk (/): 4.42 GiB / 116.32 GiB (4%) - ext4
       `Y$$b.                  Disk (/var/log): 64.38 MiB / 487.21 MiB (13%) - ext4
         `"Y$b._               Local IP (eth0): XXX
             `""""             Locale: en_US.UTF-8

Recent releases no longer show this info:

   `.::///+:/-.        --///+//-:`     pi@rpi5
 `+oooooooooooo:   `+oooooooooooo:     -------
  /oooo++//ooooo:  ooooo+//+ooooo.     OS: Raspberry Pi OS aarch64
  `+ooooooo:-:oo-  +o+::/ooooooo:      Host: Raspberry Pi 5 Model B Rev 1.1
   `:oooooooo+``    `.oooooooo+-       Kernel: Linux 6.12.47+rpt-rpi-2712
     `:++ooo/.        :+ooo+/.`        Uptime: 2 days, 6 hours, 42 mins
        ...`  `.----.` ``..            Packages: 670 (dpkg)
     .::::-``:::::::::.`-:::-`         Shell: bash 5.2.37
    -:::-`   .:::::::-`  `-:::-        Terminal: /dev/pts/0
   `::.  `.--.`  `` `.---.``.::`       CPU: BCM2712 (4) @ 2.40 GHz
       .::::::::`  -::::::::` `        GPU: Broadcom bcm2712-vc6 [Integrated]
 .::` .:::::::::- `::::::::::``::.     Memory: 694.42 MiB / 15.84 GiB (4%)
-:::` ::::::::::.  ::::::::::.`:::-    Swap: 0 B / 2.00 GiB (0%)
::::  -::::::::.   `-::::::::  ::::    Disk (/): 4.41 GiB / 116.32 GiB (4%) - ext4
-::-   .-:::-.``....``.-::-.   -::-    Disk (/var/log): 64.39 MiB / 487.21 MiB (13%) - ext4
 .. ``       .::::::::.     `..`..     Local IP (eth0): XXX
   -:::-`   -::::::::::`  .:::::`      Locale: en_US.UTF-8
   :::::::` -::::::::::` :::::::.
   .:::::::  -::::::::. ::::::::
    `-:::::`   ..--.`   ::::::.
      `...`  `...--..`  `...`
            .::::::::::
             `.-::::-`

I think it would be pretty valuable to show the Debian version too, preferably DEBIAN_VERSION_FULL:

pi@rpi5:~ $  cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.1
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Also, while at it, maybe it would make sense to trim/collapse whitespaces from device names? For example I have this:

{
  "name": " USB  SanDisk 3.2Gen1",
  "devPath": "/dev/sda",
  "bytesRead": 0,
  "bytesWritten": 0,
  "readCount": 0,
  "writeCount": 0
}

Version used

fastfetch 2.54.0 (aarch64)

Bug prevalence

Always

Regression

Yes

Installation

GitHub Releases

Package manager

apt

Screenshots

No response

Configuration

// default

System information

System information
[
  {
    "type": "Title",
    "result": {
      "userName": "pi",
      "fullUserName": "",
      "hostName": "rpi5",
      "homeDir": "/home/pi/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.004278004169464111
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0006479918956756592
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "trixie",
      "id": "raspbian",
      "idLike": "debian",
      "name": "Raspberry Pi OS",
      "prettyName": "Raspberry Pi OS",
      "variant": "",
      "variantID": "",
      "version": "13 (trixie)",
      "versionID": "13"
    },
    "stat": 0.04394400119781494
  },
  {
    "type": "Host",
    "result": {
      "family": "",
      "name": "Raspberry Pi 5 Model B Rev 1.1",
      "version": "",
      "sku": "",
      "vendor": "",
      "serial": "XXX",
      "uuid": ""
    },
    "stat": 0.049369990825653076
  },
  {
    "type": "BIOS",
    "result": {
      "date": "",
      "release": "",
      "vendor": "",
      "version": "",
      "type": "BIOS"
    },
    "stat": 0.019444018602371216
  },
  {
    "type": "Bootmgr",
    "error": "Failed to read efivar: BootCurrent",
    "stat": 0.006296992301940918
  },
  {
    "type": "Board",
    "result": {
      "name": "5-model-b",
      "vendor": "raspberrypi",
      "version": "",
      "serial": ""
    },
    "stat": 0.02188900113105774
  },
  {
    "type": "Chassis",
    "error": "chassis_type is not set by O.E.M.",
    "stat": 0.015758991241455078
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "aarch64",
      "name": "Linux",
      "release": "6.12.47+rpt-rpi-2712",
      "version": "#1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16)",
      "pageSize": 16384
    },
    "stat": 0.0022599995136260986
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "257.8-1~deb13u2",
      "pid": 1
    },
    "stat": 0.43575799465179443
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 196251420,
      "bootTime": "2025-10-26T08:03:54.276+0200"
    },
    "stat": 0.04487001895904541
  },
  {
    "type": "Loadavg",
    "result": [
      0.0,
      0.0,
      0.0
    ],
    "stat": 0.013074994087219238
  },
  {
    "type": "Processes",
    "result": 160,
    "stat": 0.24320301413536072
  },
  {
    "type": "Packages",
    "result": {
      "all": 670,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 670,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "macports": 0,
      "rpm": 0,
      "scoopUser": 0,
      "scoopGlobal": 0,
      "snap": 0,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 0.3138139843940735
  },
  {
    "type": "Shell",
    "result": {
      "exe": "bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 27515,
      "ppid": 27513,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.37",
      "tty": 0
    },
    "stat": 0.1761850118637085
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.002222985029220581
  },
  {
    "type": "Display",
    "error": "Couldn't detect display",
    "stat": 0.671627014875412
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 0.011834025382995605
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0013519823551177979
  },
  {
    "type": "LM",
    "result": {
      "service": "sshd",
      "type": "TTY",
      "version": "10.0p2 Debian-7"
    },
    "stat": 2.6066029965877533
  },
  {
    "type": "DE",
    "error": "No DE found",
    "stat": 0.0014809966087341309
  },
  {
    "type": "WM",
    "error": "No WM found",
    "stat": 0.001444995403289795
  },
  {
    "type": "WMTheme",
    "error": "WM Theme needs successful WM detection",
    "stat": 0.001166015863418579
  },
  {
    "type": "Theme",
    "error": "Theme isn't supported in TTY",
    "stat": 0.0019250214099884033
  },
  {
    "type": "Icons",
    "error": "Icons aren't supported in TTY",
    "stat": 0.0012220144271850586
  },
  {
    "type": "Font",
    "error": "Font isn't supported in TTY",
    "stat": 0.0009819865226745605
  },
  {
    "type": "Cursor",
    "error": "Cursor isn't supported in TTY",
    "stat": 0.0018889904022216797
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.09494400024414062
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "sshd-session",
      "exe": "sshd-session: pi@pts/0",
      "exeName": "0",
      "exePath": "",
      "pid": 27513,
      "ppid": 27482,
      "prettyName": "/dev/pts/0",
      "version": "",
      "tty": "/dev/pts/0"
    },
    "stat": 0.07646200060844421
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: sshd-session",
    "stat": 0.02063000202178955
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 120,
      "rows": 30,
      "width": 640,
      "height": 480
    },
    "stat": 0.00342598557472229
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 204,
        "g": 204,
        "b": 204,
        "dark": false
      },
      "bg": {
        "r": 12,
        "g": 12,
        "b": 12,
        "dark": true
      }
    },
    "stat": 50.827304005622864
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "BCM2712",
      "vendor": "Broadcom",
      "packages": 1,
      "cores": {
        "physical": 4,
        "logical": 4,
        "online": 4
      },
      "frequency": {
        "base": 0,
        "max": 2400
      },
      "coreTypes": [
        {
          "count": 4,
          "freq": 2400
        }
      ],
      "temperature": 46.3,
      "march": "ARMv8.2-A"
    },
    "stat": 0.24777698516845703
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 65536,
          "num": 4,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 65536,
          "num": 4,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 524288,
          "num": 4,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 2097152,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 0.7347390055656433
  },
  {
    "type": "CPUUsage",
    "result": [
      0.0,
      0.0,
      0.0,
      0.0
    ],
    "stat": 200.2240949869156
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": null,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": null,
            "used": null
          },
          "type": null
        },
        "driver": "vc4-drm",
        "name": "bcm2712-vc6",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Broadcom",
        "platformApi": "DRM (card1)",
        "frequency": null,
        "deviceId": 0
      }
    ],
    "stat": 0.11849898099899292
  },
  {
    "type": "Memory",
    "result": {
      "total": 17006854144,
      "used": 561020928
    },
    "stat": 0.02363002300262451
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.006426006555557251
  },
  {
    "type": "Swap",
    "result": [
      {
        "name": "/dev/zram0",
        "used": 0,
        "total": 2147467264
      }
    ],
    "stat": 0.014740973711013794
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 113765883904,
          "free": 120157548544,
          "total": 124896903168,
          "used": 4739354624
        },
        "files": {
          "total": 7782400,
          "used": 77787
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/nvme0n1p2",
        "name": "rootfs",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-10-19T18:01:28.000+0300"
      },
      {
        "bytes": {
          "available": 467025920,
          "free": 467025920,
          "total": 535805952,
          "used": 68780032
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot/firmware",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "bootfs",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 113765883904,
          "free": 120157548544,
          "total": 124896903168,
          "used": 4739354624
        },
        "files": {
          "total": 7782400,
          "used": 77787
        },
        "filesystem": "ext4",
        "mountpoint": "/var/hdd.log",
        "mountFrom": "/dev/nvme0n1p2",
        "name": "rootfs",
        "volumeType": [
          "Subvolume"
        ],
        "createTime": "2025-10-19T18:02:09.199+0300"
      },
      {
        "bytes": {
          "available": 405901312,
          "free": 443478016,
          "total": 510873600,
          "used": 67395584
        },
        "files": {
          "total": 32768,
          "used": 84
        },
        "filesystem": "ext4",
        "mountpoint": "/var/log",
        "mountFrom": "/dev/zram1",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-10-26T08:03:59.000+0200"
      }
    ],
    "stat": 0.3583880066871643
  },
  {
    "type": "Btrfs",
    "error": "opendir(\"/sys/fs/btrfs\") == NULL",
    "stat": 0.007481008768081665
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.23524001240730286
  },
  {
    "type": "Battery",
    "result": [],
    "stat": 0.01018601655960083
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.005795985460281372
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0007219910621643066
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 1.759328007698059
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "XXX",
      "location": "XXX"
    },
    "stat": 0.08311101794242859
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "eth0",
        "defaultRoute": {
          "ipv4": true,
          "ipv6": true
        },
        "ipv4": "XXX",
        "ipv6": "XXX",
        "mac": "XXX",
        "mtu": 1500,
        "speed": 1000,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.1554259955883026
  },
  {
    "type": "DNS",
    "result": [
      "127.0.0.1",
      "1.1.1.1",
      "XXX%eth0"
    ],
    "stat": 0.01942598819732666
  },
  {
    "type": "Wifi",
    "result": [],
    "stat": 0.0660180151462555
  },
  {
    "type": "DateTime",
    "result": "2025-10-28T14:34:45.956+0200",
    "stat": 0.012740999460220337
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.0016109943389892578
  },
  {
    "type": "Vulkan",
    "error": "dlopen libvulkan.so failed",
    "stat": 0.12916699051856995
  },
  {
    "type": "OpenGL",
    "error": "dlopen glx failed",
    "stat": 0.1404629945755005
  },
  {
    "type": "OpenCL",
    "error": "dlopen libOpenCL.so failed",
    "stat": 0.06925901770591736
  },
  {
    "type": "Users",
    "result": [],
    "stat": 0.015332996845245361
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.006278008222579956
  },
  {
    "type": "BluetoothRadio",
    "error": "Failed to open /sys/class/bluetooth",
    "stat": 0.002611011266708374
  },
  {
    "type": "Sound",
    "error": "Failed to load libpulse.so",
    "stat": 0.04992598295211792
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.005018025636672974
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.016110986471176147
  },
  {
    "type": "Mouse",
    "result": [],
    "stat": 0.008296996355056763
  },
  {
    "type": "Keyboard",
    "result": [],
    "stat": 0.009963005781173706
  },
  {
    "type": "Weather",
    "error": "Empty server response received",
    "stat": 1016.6500929892063
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "eth0",
        "defaultRoute": true,
        "txBytes": 4197,
        "rxBytes": 4323,
        "txPackets": 47,
        "rxPackets": 51,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 2,
        "txDrops": 0
      }
    ],
    "stat": 0.18988901376724243
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "Patriot M.2 P300 128GB",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": "mmcblk0",
        "devPath": "/dev/mmcblk0",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      },
      {
        "name": " USB  SanDisk 3.2Gen1",
        "devPath": "/dev/sda",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      }
    ],
    "stat": 0.36712899804115295
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "Patriot M.2 P300 128GB",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 128035676160,
        "serial": "XXX",
        "removable": false,
        "readOnly": false,
        "revision": "APF1M7R0",
        "temperature": 22.85
      },
      {
        "name": "mmcblk0",
        "devPath": "/dev/mmcblk0",
        "interconnect": "MMC",
        "kind": "SSD",
        "size": 63864569856,
        "serial": "0x9bde9c5e",
        "removable": false,
        "readOnly": false,
        "revision": "",
        "temperature": null
      },
      {
        "name": " USB  SanDisk 3.2Gen1",
        "devPath": "/dev/sda",
        "interconnect": "USB",
        "kind": "HDD",
        "size": 61524148224,
        "serial": "",
        "removable": true,
        "readOnly": false,
        "revision": "1.00",
        "temperature": null
      }
    ],
    "stat": 23.075964987277985
  },
  {
    "type": "TPM",
    "error": "TPM is not supported by kernel",
    "stat": 0.008258998394012451
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "aarch64",
      "version": "2.54.0",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Oct 18 2025, 02:17:19",
      "compiler": "gcc 13.1.0",
      "debugMode": false,
      "libc": "glibc 2.35"
    },
    "stat": 0.0018149912357330322
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.001221984624862671
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0007409751415252686
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
imagemagick6
zlib
sqlite3
rpm
egl
glx
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
linux/videodev2
linux/wireless
Embedded pciids

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions