Mailinglist Archive: opensuse-factory (745 mails)

< Previous Next >
Re: [opensuse-factory] /etc/lsb-release and Steam
Did you try launching Steam in terminal?
It could give you some details on what's going on.
And be sure that 'steamtricks' is installed (should be, it's required).

--

___
Alex aka DarthWound
Global Steam Moderator



Le jeudi 18 janvier 2018 à 13:20 +0100, Bjoern Voigt a écrit :
Alex DWS wrote:
I don't have this issue on my Tumbleweed PC.

Output of 'lsb_release -a':
LSB Version: n/a
Distributor ID: openSUSE
Description: openSUSE Tumbleweed
Release: 20180114
Codename: n/a

And as far as I know, Steam doesn't modify lsb-release files. The
only
related code in 'steam.sh' that I found is this one: https://paste.
opensuse.org/56a6c59f

Yes, Steam does not modify /etc/lsb-release, but it reads /etc/lsb-
release.

I have nearly the same output:

$ lsb_release -a
LSB Version:
core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-
3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-
noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-
amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: openSUSE
Description: openSUSE Tumbleweed
Release: 20180116
Codename: n/a

I updated steam.sh like Neal suggested:

function detect_distro()
{
if [ -f /etc/os-release ]; then
(. /etc/os-release; echo $ID | tr '[A-Z]' '[a-z]')
elif [ -f /etc/lsb-release ]; then
(. /etc/lsb-release; echo $DISTRIB_ID | tr '[A-Z]'
'[a-z]')
elif [ -f /etc/debian_version ]; then
echo "debian"
else
# Generic fallback
uname -s
fi
}

function detect_release()
{
if [ -f /etc/os-release ]; then
(. /etc/os-release; echo $VERSION_ID)
elif [ -f /etc/lsb-release ]; then
(. /etc/lsb-release; echo $DISTRIB_RELEASE)
elif [ -f /etc/debian_version ]; then
cat /etc/debian_version
else
# Generic fallback
uname -r
fi
}

Anyway, Steam does not work. I also tried to delete
~/.local/share/Steam, so that /usr/bin/steam downloads Steam again.

Greetings,
Björn


--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups