Please make pulseaudio an optional dependency #57

Closed
opened 2026-02-20 22:21:28 -05:00 by deekerman · 5 comments
Owner

Originally created by @pitsi on GitHub (Jun 8, 2021).

I tried installing rustdesk a few minutes ago (because I did not know it existed until then) and apt lists pulseaudio as a direct dependency for rustdesk

dpkg: dependency problems prevent configuration of rustdesk:
 rustdesk depends on libxdo3; however:
  Package libxdo3 is not installed.
 rustdesk depends on pulseaudio; however:
  Package pulseaudio is not installed.

I think pulseaudio should not be a direct dependency (for the deb package at least) of rustdesk.

Originally created by @pitsi on GitHub (Jun 8, 2021). I tried installing rustdesk a few minutes ago (because I did not know it existed until then) and apt lists pulseaudio as a direct dependency for rustdesk ``` dpkg: dependency problems prevent configuration of rustdesk: rustdesk depends on libxdo3; however: Package libxdo3 is not installed. rustdesk depends on pulseaudio; however: Package pulseaudio is not installed. ``` I think pulseaudio should not be a direct dependency (for the deb package at least) of rustdesk.
deekerman 2026-02-20 22:21:28 -05:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@pitsi commented on GitHub (Jun 8, 2021):

Thank you the "reply". I probably won't be using your app since it does not care for the advanced users who don't want pulseaudio on their systems.

@pitsi commented on GitHub (Jun 8, 2021): Thank you the "reply". I probably won't be using your app since it does not care for the advanced users who don't want pulseaudio on their systems.
Author
Owner

@MohammedFota commented on GitHub (Oct 31, 2022):

Hi @pitsi

You could install RustDesk without pulseaudio, inside the terminal navigate to the downloaded folder and type the following:

sudo apt install python3-pip
sudo dpkg --force-all -i ./rustdesk-1.1.9.deb
sudo apt --fix-broken install

This will force install the package without pulseaudio, not sure if this will break any remote audio playback.

Cheers

@MohammedFota commented on GitHub (Oct 31, 2022): Hi @pitsi You could install RustDesk without pulseaudio, inside the terminal navigate to the downloaded folder and type the following: `sudo apt install python3-pip` `sudo dpkg --force-all -i ./rustdesk-1.1.9.deb` `sudo apt --fix-broken install` This will force install the package without pulseaudio, not sure if this will break any remote audio playback. Cheers
Author
Owner

@pitsi commented on GitHub (Nov 19, 2022):

Sorry for answering ~20 days later, but I was sick :(

Something went horribly wrong with the second command

# dpkg --force-all -i rustdesk-1.1.9.deb 
Selecting previously unselected package rustdesk.
(Reading database ... 129252 files and directories currently installed.)
Preparing to unpack rustdesk-1.1.9.deb ...
Failed to stop rustdesk.service: Unit rustdesk.service not loaded.
Unpacking rustdesk (1.1.9) ...
dpkg: rustdesk: dependency problems, but configuring anyway as you requested:
 rustdesk depends on libxdo3; however:
  Package libxdo3 is not installed.
 rustdesk depends on pulseaudio; however:
  Package pulseaudio is not installed.

Setting up rustdesk (1.1.9) ...
Collecting pynput
  Downloading pynput-1.7.6-py2.py3-none-any.whl (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 kB 869.8 kB/s eta 0:00:00
Collecting python-xlib>=0.17
  Downloading python_xlib-0.32-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.9/181.9 kB 1.2 MB/s eta 0:00:00
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pynput) (1.16.0)
Collecting evdev>=1.3
  Downloading evdev-1.6.0.tar.gz (26 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: evdev
  Building wheel for evdev (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/util.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ff.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/events.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/device.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/__init__.py -> build/lib.linux-x86_64-cpython-310/evdev
      running build_ext
      running build_ecodes
      The 'linux/input.h' and 'linux/input-event-codes.h' include files
      are missing. You will have to install the kernel header files in
      order to continue:
      
          yum install kernel-headers-$(uname -r)
          apt-get install linux-headers-$(uname -r)
          emerge sys-kernel/linux-headers
          pacman -S kernel-headers
      
      In case they are installed in a non-standard location, you may use
      the '--evdev-headers' option to specify one or more colon-separated
      paths. For example:
      
          python setup.py \
            build \
            build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
            build_ext --include-dirs  path/ \
            install
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for evdev
  Running setup.py clean for evdev
Failed to build evdev
Installing collected packages: evdev, python-xlib, pynput
  Running setup.py install for evdev ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for evdev did not run successfully.
  │ exit code: 1
  ╰─> [39 lines of output]
      running install
      /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/util.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ff.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/events.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/device.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/__init__.py -> build/lib.linux-x86_64-cpython-310/evdev
      running build_ext
      running build_ecodes
      The 'linux/input.h' and 'linux/input-event-codes.h' include files
      are missing. You will have to install the kernel header files in
      order to continue:
      
          yum install kernel-headers-$(uname -r)
          apt-get install linux-headers-$(uname -r)
          emerge sys-kernel/linux-headers
          pacman -S kernel-headers
      
      In case they are installed in a non-standard location, you may use
      the '--evdev-headers' option to specify one or more colon-separated
      paths. For example:
      
          python setup.py \
            build \
            build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
            build_ext --include-dirs  path/ \
            install
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> evdev

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
dpkg: error processing package rustdesk (--install):
 installed rustdesk package post-installation script subprocess returned error exit status 1
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Errors were encountered while processing:
 rustdesk
@pitsi commented on GitHub (Nov 19, 2022): Sorry for answering ~20 days later, but I was sick :( Something went horribly wrong with the second command ``` # dpkg --force-all -i rustdesk-1.1.9.deb Selecting previously unselected package rustdesk. (Reading database ... 129252 files and directories currently installed.) Preparing to unpack rustdesk-1.1.9.deb ... Failed to stop rustdesk.service: Unit rustdesk.service not loaded. Unpacking rustdesk (1.1.9) ... dpkg: rustdesk: dependency problems, but configuring anyway as you requested: rustdesk depends on libxdo3; however: Package libxdo3 is not installed. rustdesk depends on pulseaudio; however: Package pulseaudio is not installed. Setting up rustdesk (1.1.9) ... Collecting pynput Downloading pynput-1.7.6-py2.py3-none-any.whl (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 kB 869.8 kB/s eta 0:00:00 Collecting python-xlib>=0.17 Downloading python_xlib-0.32-py2.py3-none-any.whl (181 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.9/181.9 kB 1.2 MB/s eta 0:00:00 Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pynput) (1.16.0) Collecting evdev>=1.3 Downloading evdev-1.6.0.tar.gz (26 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: evdev Building wheel for evdev (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [37 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/evdev copying evdev/util.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/ff.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/events.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/device.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/__init__.py -> build/lib.linux-x86_64-cpython-310/evdev running build_ext running build_ecodes The 'linux/input.h' and 'linux/input-event-codes.h' include files are missing. You will have to install the kernel header files in order to continue: yum install kernel-headers-$(uname -r) apt-get install linux-headers-$(uname -r) emerge sys-kernel/linux-headers pacman -S kernel-headers In case they are installed in a non-standard location, you may use the '--evdev-headers' option to specify one or more colon-separated paths. For example: python setup.py \ build \ build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \ build_ext --include-dirs path/ \ install [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for evdev Running setup.py clean for evdev Failed to build evdev Installing collected packages: evdev, python-xlib, pynput Running setup.py install for evdev ... error error: subprocess-exited-with-error × Running setup.py install for evdev did not run successfully. │ exit code: 1 ╰─> [39 lines of output] running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/evdev copying evdev/util.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/ff.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/events.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/device.py -> build/lib.linux-x86_64-cpython-310/evdev copying evdev/__init__.py -> build/lib.linux-x86_64-cpython-310/evdev running build_ext running build_ecodes The 'linux/input.h' and 'linux/input-event-codes.h' include files are missing. You will have to install the kernel header files in order to continue: yum install kernel-headers-$(uname -r) apt-get install linux-headers-$(uname -r) emerge sys-kernel/linux-headers pacman -S kernel-headers In case they are installed in a non-standard location, you may use the '--evdev-headers' option to specify one or more colon-separated paths. For example: python setup.py \ build \ build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \ build_ext --include-dirs path/ \ install [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> evdev note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. dpkg: error processing package rustdesk (--install): installed rustdesk package post-installation script subprocess returned error exit status 1 Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for desktop-file-utils (0.26-1) ... Errors were encountered while processing: rustdesk ```
Author
Owner

@rustdesk commented on GitHub (Nov 22, 2022):

removed in master

@rustdesk commented on GitHub (Nov 22, 2022): removed in master
Author
Owner

@pitsi commented on GitHub (Aug 12, 2023):

I just noticed that v1.2.x was released last month. Now it has a direct dependency on pipewire instead of pulseaudio, so still no rustdesk for me.

The following additional packages will be installed:
  gstreamer1.0-pipewire iso-codes libayatana-appindicator3-1 libconfig++9v5
  libdbusmenu-glib4 libdbusmenu-gtk3-4 libdw1 libffado2
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liborc-0.4-0
  libpipewire-0.3-modules libxdo3 libxml++2.6-2v5 pipewire pipewire-bin
Suggested packages:
  isoquery libvisual-0.4-plugins gstreamer1.0-tools
Recommended packages:
  gstreamer1.0-plugins-base wireplumber | pipewire-media-session rtkit
The following NEW packages will be installed:
  gstreamer1.0-pipewire iso-codes libayatana-appindicator3-1 libconfig++9v5
  libdbusmenu-glib4 libdbusmenu-gtk3-4 libdw1 libffado2
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liborc-0.4-0
  libpipewire-0.3-modules libxdo3 libxml++2.6-2v5 pipewire pipewire-bin
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 7,550 kB of archives.
After this operation, 39.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
@pitsi commented on GitHub (Aug 12, 2023): I just noticed that v1.2.x was released last month. Now it has a direct dependency on pipewire instead of pulseaudio, so still no rustdesk for me. ``` The following additional packages will be installed: gstreamer1.0-pipewire iso-codes libayatana-appindicator3-1 libconfig++9v5 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdw1 libffado2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liborc-0.4-0 libpipewire-0.3-modules libxdo3 libxml++2.6-2v5 pipewire pipewire-bin Suggested packages: isoquery libvisual-0.4-plugins gstreamer1.0-tools Recommended packages: gstreamer1.0-plugins-base wireplumber | pipewire-media-session rtkit The following NEW packages will be installed: gstreamer1.0-pipewire iso-codes libayatana-appindicator3-1 libconfig++9v5 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdw1 libffado2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liborc-0.4-0 libpipewire-0.3-modules libxdo3 libxml++2.6-2v5 pipewire pipewire-bin 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 7,550 kB of archives. After this operation, 39.5 MB of additional disk space will be used. Do you want to continue? [Y/n] n ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#57
No description provided.