On Debian 12 with KDE cat /proc/version returns:
Linux version 5.10.0-17-amd64 ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.136-1 (2022-08-13)
Why does it show gcc-10 / Debian 10, not gcc-12 / Debian 12? Is that a problem?
I found out when I was investigating why xbindkeys kept working long after upgrading to D12 and Wayland despite that it shouldn't work under Wayland. It kept working for several months after upgrading until it suddenly stopped working breaking my mousewheel config so I wanted to see my version number because I suspected that maybe it has to do with a recent point upgrade. I have the latest Debian version and it's 12.7 as of now (verified with cat /etc/debian_version).
gcc --version shows gcc (Debian 12.2.0-14) 12.2.0.
It could be that I have the permissions of gcc set with this for security reasons as recommended by sudo lynis audit system: sudo chmod 0444 /usr/bin/gcc which I change only whenever I compile something with gcc. I have not seen any error message or similar about problems during upgrade. Does this permission need to be changed before upgrading?
cat /etc/debian_version, KDE Info Center,lsb_release -aand all other ways to show the current Debian version show and showed Debian 12 so then it's Debian 12 according to ways to see the running Debian version (which is too long to add to the title and somewhat implicit). Seems like all those methods to see the current Debian version are broken then./etc) are saying "I came from Debian 12", but your kernel is saying "I came from Debian 11". The result is an inconsistent installation. But despite what the userspace says, the kernel is not a Debian 12 kernel.