After updating today Neon suddenly says it's Ubuntu?

I was just investigating some other bugs that cropped up after the updates and noticed on the system info page it now says

Operating System: Ubuntu 24.04.2 LTS (Noble Numbat)
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-17-generic (64-bit)
Graphics Platform: Wayland

Has this happened to anyone else? How can I find out which package caused this? Thanks

1 Like

Do not use it so can not tell you if if happened to me but the OS version gets set by the base-files package. Specifically the /etc/debian_version and /etc/os-release contained in it.

That’s interesting, after applying the 6.3.1 update I’m seeing the same behavior here?


I checked the base-files package with synaptic and it seems to be coming from / maintained by neon, so no idea what’s going on here

Somebody failed to update/change the package to account for it being Neon they ship, instead of the stock Ubuntu.

They need to update their base-file package, which is modified from the stock Ubuntu one to change the name to “KDE neon”. It looks like Ubuntu updated theirs (to reflect their recent update to 24.04.2) which ‘upgraded’ the existing neon version.

It happens every once in a while, I will assume a quick fix will be forthcoming.

Actually, it looks like /etc/os-release has two “PRETTY_NAME” lines instead of one, so the neon line was added to the file as opposed to replacing the Ubuntu line:

$ cat /etc/os-release 
PRETTY_NAME="KDE neon 6.3"
NAME="KDE neon"
VERSION_ID="24.04"
VERSION="6.3"
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=neon
ID_LIKE="ubuntu debian"
HOME_URL="https://neon.kde.org/"
SUPPORT_URL="https://neon.kde.org/"
BUG_REPORT_URL="https://bugs.kde.org/"
PRIVACY_POLICY_URL="https://kde.org/privacypolicy/"
UBUNTU_CODENAME=noble

This sort of cosmetic bug is not unheard of on derivative distros.

If one is terribly bothered by this, it is easy enough to remove the extra PRETTY_NAME line.

2 Likes

fixed with fix my merging mess (4ca24279) · Commits · Neon / Forks / base-files · GitLab

3 Likes

It’s great to see this being fixed so quickly. The reason I was so concerned initially is that usually when Neon reports being Ubuntu it’s a sign that repositories have been messed up or pinning is no longer working correctly.