steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Only can view "Steam needs to install these additional packages" from running into a terminal

Open LukasThyWalls opened this issue 13 years ago • 9 comments

I'm testing others things and when i launch steam from a terminal i have this:

Package xterm needs to be installed
Steam needs to install these additional packages: 
        xterm

I only see this if i running Steam from terminal, not in normal Steam use, if i don't see it on terminal i don't install because i don't know this requirement. In normal use i don't see anything related, and Steam is working normally.

When i install these packages i don't see it anymore in terminal.

Edit: System Information

Información sobre el procesador:
    Fabricante:  GenuineIntel
    Velocidad: 1998 Mhz
    Procesadores lógicos 2
    Procesadores físicos 2
    HyperThreading:  No compatible
    FCMOV:  Compatible
    SSE2:  Compatible
    SSE3:  Compatible
    SSSE3:  Compatible
    SSE4a:  No compatible
    SSE41:  No compatible
    SSE42:  No compatible

Información sobre la red:
    Velocidad de la red:  

Versión de Windows:
    Ubuntu 12.04.1 LTS (32 bits)
    Nombre de kernel: Linux
    Versión de kernel: 3.2.0-35-generic-pae
    Editor de X Server: The X.Org Foundation
    Versión de X Server: 11103000

Tarjeta de vídeo:
    Controlador:  NVIDIA Corporation GeForce Go 7300/PCIe/SSE2

    Versión de controlador: 2.1.2 NVIDIA 304.48
    Densidad de color del escritorio: 24 bits por píxel
    Frecuencia de actualización del monitor: 60 Hz
    Identificador del fabricante: 0x10de
    Identificador del dispositivo: 0x1d7
    Número de monitores: 1
    Número de tarjetas de vídeo lógicas: 1
    Resolución de pantalla principal: 1280 x 800
    Resolución de escritorio: 1280 x 800
    Tamaño de pantalla principal: 11,38" x 0,83"  (11,38" diag)
                                            28,9cm x 2,1cm  (28,9cm diag)
    Bus principal: PCI Express 16x
    No se ha detectado la memoria VRAM principal
    Modos MSAA compatibles: 2x 4x 16x 

Tarjeta de sonido:
    Dispositivo de sonido: Analog Devices AD1986A

Memoria:
    RAM:  2013 Mb

Varios:
    Idioma de la IU:  Español
    LANG:  es_ES.UTF-8
    Micrófono:  Not set
    Espacio total en disco disponible: 23732 MB
    Bloque libre más grande en el disco: 7595 MB

Software Instalado:

Informes de fallos recientes:

To reproduce the issue:

  • Uninstall xterm or not installed.
  • Open Steam from terminal. You can view in the beggining of the terminal, from the execution log for Steam
Package xterm needs to be installed
Steam needs to install these additional packages: 
        xterm
  • If you open normally Steam from icon desktop, you don't view any needed dependencies and Steam works apparently

It isn't a simply bug, only i haven't information of missing dependencies for Steam if i open it normally from desktop icon or something else. If i launch from terminal, i can view this log if i have some missing dependencies, and it could be important for others issues with Steam to know these dependencies are satisfied or not in a normal execution, out of a terminal.

LukasThyWalls avatar Jan 09 '13 13:01 LukasThyWalls

Please include the information requested at https://github.com/ValveSoftware/Steam-for-linux

MrSchism avatar Jan 09 '13 15:01 MrSchism

I have added the required information, i think.

It isn't a simply bug, only i haven't information of missing dependencies for Steam if i open it normally from desktop icon or something else. If i launch from terminal, i can view this log if i have some missing dependencies, and it could be important for others issues with Steam to know these dependencies are satisfied or not in a normal execution, out of a terminal.

LukasThyWalls avatar Jan 09 '13 16:01 LukasThyWalls

What distribution are you running? This should only happen if neither xterm nor gnome-terminal installed.

slouken avatar Jan 10 '13 02:01 slouken

Damn, i think i had added that information: KUbuntu 12.04.1, KDE 4.8.5

The thing is I can't view this information if i don't launch Steam from a terminal.

LukasThyWalls avatar Jan 10 '13 10:01 LukasThyWalls

I can confirm. The problem is that the .deb file does not depend on xterm or any other terminal, but the steam binary complains and refuses to run if xterm (or, as the commends above reveal, gnome-terminal) is not installed.

The proper solution for Debian-derived distributions (such as Ubuntu) would be to check for presence of "/usr/bin/x-terminal-emulator" (which is a symlink to the real terminal binary governed by Debian alternatives system) from Steam binary, and add "gnome-terminal | x-terminal-emulator" to .deb file dependencies (x-terminal-emulator is a virtual package provided by any binary package that ships an X terminal).

Shnatsel avatar Jan 10 '13 17:01 Shnatsel

Good point, we can add a terminal emulator to the dependencies, but we wanted to support multiple terminal emulators. The problem is we need to know how to call them, because each one has it's own set of command line options and limitations.

For example, for gnome-terminal we need to pass the --disable-factory option, otherwise it will pass the command line to an existing gnome-terminal instance and exit immediately, but we need to block until the installation is compete.

However, we can add xterm as a hard dependency, and that would solve this issue because we'll have at least one known working alternative.

slouken avatar Jan 10 '13 17:01 slouken

Okay, in this case, at least add "xterm | gnome-terminal" to .deb file dependencies. This way one of this packages will be pulled in on installation, which will prevent the current situation with Steam not installing all required dependencies during .deb file installation.

You can later expand the list with adding more supported terminals separated by "|" (which means "OR" in debian/control file syntax).

Shnatsel avatar Jan 10 '13 17:01 Shnatsel

Yep, this is in for the next update. Thanks!

slouken avatar Jan 11 '13 04:01 slouken

+1

dimazanyat avatar Apr 10 '13 17:04 dimazanyat