FS#73851 - [xpra] package requires which

Attached to Project: Community Packages
Opened by Max Pray (synthead) - Friday, 18 February 2022, 05:50 GMT
Last edited by Toolybird (Toolybird) - Thursday, 05 January 2023, 03:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

xpra requires the which command, which is provided by which. Without which, xpra sessions cannot start:

2022-02-17 21:44:26,337 will try to run xpra from: ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe']
2022-02-17 21:44:26,337 paramiko_run_test_command(transport, 'which xpra')
2022-02-17 21:44:26,951 exec_command returned
2022-02-17 21:44:26,951 exit status is not ready yet, sleeping
2022-02-17 21:44:26,962 exec_command('which xpra')=127
2022-02-17 21:44:26,962 exec_command out=''
2022-02-17 21:44:26,963 exec_command err='bash: line 1: which: command not found\n'
2022-02-17 21:44:26,963 paramiko_run_test_command(transport, 'which $XDG_RUNTIME_DIR/xpra/run-xpra')
2022-02-17 21:44:26,977 exec_command returned
2022-02-17 21:44:26,977 exit status is not ready yet, sleeping
2022-02-17 21:44:26,987 exit status is not ready yet, sleeping
2022-02-17 21:44:26,998 exec_command('which $XDG_RUNTIME_DIR/xpra/run-xpra')=127
2022-02-17 21:44:26,999 exec_command out=''
2022-02-17 21:44:26,999 exec_command err='bash: line 1: which: command not found\n'
2022-02-17 21:44:26,999 paramiko_run_test_command(transport, 'which /usr/local/bin/xpra')
2022-02-17 21:44:27,047 exec_command returned
2022-02-17 21:44:27,048 exit status is not ready yet, sleeping
2022-02-17 21:44:27,058 exit status is not ready yet, sleeping
2022-02-17 21:44:27,068 exec_command('which /usr/local/bin/xpra')=127
2022-02-17 21:44:27,069 exec_command out=''
2022-02-17 21:44:27,069 exec_command err='bash: line 1: which: command not found\n'
2022-02-17 21:44:27,069 paramiko_run_test_command(transport, 'which ~/.xpra/run-xpra')
2022-02-17 21:44:27,082 exec_command returned
2022-02-17 21:44:27,082 exit status is not ready yet, sleeping
2022-02-17 21:44:27,093 exec_command('which ~/.xpra/run-xpra')=127
2022-02-17 21:44:27,093 exec_command out=''
2022-02-17 21:44:27,093 exec_command err='bash: line 1: which: command not found\n'
2022-02-17 21:44:27,094 paramiko_run_test_command(transport, 'ver')
2022-02-17 21:44:27,150 exec_command returned
2022-02-17 21:44:27,150 exit status is not ready yet, sleeping
2022-02-17 21:44:27,160 exit status is not ready yet, sleeping
2022-02-17 21:44:27,171 exit status is not ready yet, sleeping
2022-02-17 21:44:27,182 exec_command('ver')=127
2022-02-17 21:44:27,182 exec_command out=''
2022-02-17 21:44:27,183 exec_command err='bash: line 1: ver: command not found\n'

This is with xpra 4.2.3-3.

Marking as critical because xpra does not run without this dependency installed.

Steps to reproduce:
1. Uninstall which on the remote, if installed.
2. Attempt to connect to a remote xpra server (-d ssh enabled for debugging):
xpra start ssh:user@host -d ssh --exit-with-children --start-child=xterm
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 05 January 2023, 03:01 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#71583 
Comment by Toolybird (Toolybird) - Saturday, 22 October 2022, 21:17 GMT
Correcting severity level in line with [1]

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Severity

Loading...