Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

openSUSE 13.1 /etc/SuSE-release is deprecated

$
0
0
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:

Code:

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:

Code:

cat /etc/os-release
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

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,

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>