Server Version#: ALL (1.26.2.5797-5bd057d2b_amd64)
Kinto is a key remapper (that listens to all keyboard events).
When Kinto is installed (and not paused) on Linux plexmediaserver
can not be installed with apt-get
, if plex is already installed then every single apt-get
action will fail with a dpkg
error.
(For context, here is the issue I raised with Kinto, but Kinto cant solve the problem, as the best solution is for plex to stop assuming uinput access)
The error looks like this when trying to install plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb
with sudo apt install ./plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'plexmediaserver' instead of './plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb'
Recommended packages:
beignet-opencl-icd
The following NEW packages will be installed:
plexmediaserver
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/83.3 MB of archives.
After this operation, 249 MB of additional disk space will be used.
Selecting previously unselected package plexmediaserver.
(Reading database ... 207998 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.26.2.5797-5bd057d2b) ...
Setting up plexmediaserver (1.26.2.5797-5bd057d2b) ...
PlexMediaServer install: PlexMediaServer-1.26.2.5797-5bd057d2b - Installation st
arting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library
/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Nvidia GPU card: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
input44: Failed to write 'change' to '/sys/devices/virtual/input/input44/uevent'
: Cannot allocate memory
dpkg: error processing package plexmediaserver (--configure):
installed plexmediaserver package post-installation script subprocess returned
error exit status 1
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
plexmediaserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
I want to draw your attention to input44: Failed to write 'change' to '/sys/devices/virtual/input/input44/uevent' : Cannot allocate memory
, meaning that Plex is trying to capture keyboard input during install for some reason.
I have found many other form posts over the years where plex-media-server can not be installed with various key remapping software, including ckb-next
, just search for Failed to write 'change' to
- Installation fails on Ubuntu 20.04
- Plex Media Server install fails on Ubuntu 20.04 due to ckb-next
- Install fails on Ubuntu 20.04
- PMS 1.22.2.4282 does not install correctly in Ubuntu 20.10
- Dpkg error on plexmediaserver
- Installing Server 1.21 on Ubuntu 20.04 LTS fails
- Unable to install Plex version 1.18.2 until current (1.19.1.2701) on Ubuntu 2020.04