Results 1 to 8 of 8

Thread: openSUSE 13.1 /etc/SuSE-release is deprecated

  1. #1
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile 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:

    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,
    Last edited by jdmcdaniel3; 16-Nov-2013 at 15:36.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  2. #2
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,524

    Default Re: openSUSE 13.1 /etc/SuSE-release is deprecated

    hi,

    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://build.opensuse.org/home:malcolmlewis

    cheers

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: openSUSE 13.1 /etc/SuSE-release is deprecated

    Quote Originally Posted by keellambert View Post
    hi,

    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://build.opensuse.org/home:malcolmlewis

    cheers
    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,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,064
    Blog Entries
    1

    Default Re: openSUSE 13.1 /etc/SuSE-release is deprecated


  5. #5
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,524

    Default Re: openSUSE 13.1 /etc/SuSE-release is deprecated


  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: openSUSE 13.1 /etc/SuSE-release is deprecated

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

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  7. #7
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,085

    Default Re: openSUSE 13.1 /etc/SuSE-release is deprecated

    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:


    Github:
    https://github.com/xorangekiller/haggis-stats
    .: miuku #suse @ irc.freenode.net

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,102

    Default Re: openSUSE 13.1 /etc/SuSE-release is deprecated

    /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
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •