openSUSE 13.1 /etc/SuSE-release is deprecated

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
# /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:

cat /etc/os-release
VERSION="13.1 (Bottle)"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"

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.

Thank You,


wrt inxi the problem is solved see,

inxi - A full featured system information script
Version: 1.9.16-3.1
Distribution: home:malcolmlewis:Gnome / openSUSE_13.1
Vendor: obs://


Packman only offers up version 1.7.23. The link “home:malcolmlewis:Gnome / openSUSE_13.1” is not usable without a proper URL to use.

Thank You,

Mentioned here previously


Index of /repositories/home:/malcolmlewis:/Gnome/openSUSE_13.1/noarch

Got the new version and indeed it does not have the error any more.

Thank You,

Speaking of system scripts, here’s a handy one that I use myself;
Linux System Stats Script - Next Generation - Linux / Unix Discussion & Support - Neowin Forums

It relies on perl (and perl-Switch) and is somewhat tidier than inxi, the end result is something like this:


/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 It also has a man page. Poor we >:(