Lsb-release IO Error mit Teamviewer8 - FIX

Aus xinux.net
Zur Navigation springen Zur Suche springen

ERROR: lsb_release crashed with IOError in getstatusoutput()

cp -v /opt/teamviewer8/tv_bin/script/tvw_main /opt/teamviewer8/tv_bin/script/tvw_main.orig

vi /opt/teamviewer8/tv_bin/script/tvw_main

Find section: function LogStartupInfo() and change current code:

if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
   lsb_release -a
   make_path "$WINEPREFIX/drive_c"
   lsb_release -ds > "$WINEPREFIX/drive_c/distrelease"
 else

to look like this:

if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
   #lsb_release -a # TempFix(Bug#1094218)
   make_path "$WINEPREFIX/drive_c"
   cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d= | sed 's/\"//g' > "$WINEPREFIX/drive_c/distrelease" # TempFix(Bug#1094218)


Save file

Links:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1094218