In openSUSE 13.1 I have found that in using the info in /etc/SuSE-release, you get the error message “/etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead”.
In this release, the old version request gives this:
cat /etc/SuSE-release
openSUSE 13.1 (x86_64)
VERSION = 13.1
CODENAME = Bottle
# /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead
You are now asked to use this to determine the OS version which provides more info:
I have found this even effects the application inxi you can install from YaST. I use the terminal command “inxi -F” for a full display of info but now I must do this now “inxi -F -%”.
You may find other applications trying to read the OS version will have the same problem.
inxi - A full featured system information script
Version: 1.9.16-3.1
Distribution: home:malcolmlewis:Gnome / openSUSE_13.1
Vendor: obs://build.opensuse.org/home:malcolmlewis
/etc/os-release is much more distribution independant. And as it exsits already for some time on openSUSE, we should have adverstised it’s usage already for a long time . But as most people, we are lazy and stick to something that works instead of using open standards Free Desktop.org). It also has a man page. Poor we >:(