Results 1 to 6 of 6

Thread: Old files -- what are the new locations?

  1. #1
    Join Date
    Oct 2016
    Location
    USA
    Posts
    92

    Post Old files -- what are the new locations?

    Good day, folks. I am writing today because I am trying to install from source a piece of software called ROS, the Robot Operating System. (not an OS, just software) I am having some difficulty with it because their os_detect.py script they use in initialization of the source environment has a rather outdated idea of where openSUSE keeps its system information files. It thinks the brand file is /etc/SuSE-brand, and fair enough, but it's /etc/SUSE-brand. I fixed that in their code. The thing that's causing the issue, and I've followed the stack trace back to here, is that they are looking for a release file called /etc/SuSE-release. I changed that name to be the same as the current brand file in hopes that it would find something and not crash, but no dice. I can't find any SUSE-release file on my system, just a folder filled with release licenses or some such. What have we changed our release info file to?

    Thanks for any help,

    --Henry Wilson

    P.S. The github issue representing this (I plan to, when this is fixed, give them the fix.)
    https://github.com/ros-infrastructure/rosdep/issues/635

  2. #2
    Join Date
    Oct 2016
    Location
    USA
    Posts
    92

    Default Re: Old files -- what are the new locations?

    Also the script appears to be looking for this version's "CODENAME," and I don't know where to find that. It should be in the SUSE-release file I suppose.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,547
    Blog Entries
    1

    Default Re: Old files -- what are the new locations?

    The software should be updated to use the more current /etc/os-release location, as per the freedesktop specification....
    https://www.freedesktop.org/software...s-release.html

    Also, there is /etc/lsb-release (part of the lsb package for Linux Standard Base).
    openSUSE Leap 15.1; KDE Plasma 5

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,241

    Default Re: Old files -- what are the new locations?

    I have a rather old openSUSE here (13.2) and in /etc/SuSE-release it says (already for years):
    Code:
    # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead
    I assume that that removal is done after so may years.

    I doubt if it is wise to start using a software where the efforts of keeping it up-to-date seem to be rather restricted.
    Henk van Velden

  5. #5
    Join Date
    Oct 2016
    Location
    USA
    Posts
    92

    Default Re: Old files -- what are the new locations?

    As much as I would love to use a different suite of robotics software, this is the one that I need to use for research at my university. I appreciate you guys letting me know where the files are, I'll check back here regularly and post more if I have more questions or if I find a solution.

    Thanks so much!

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,977
    Blog Entries
    14

    Default Re: Old files -- what are the new locations?

    FWIW: more modern openSUSE and SUSE versions use /etc/os-release
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

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