Unable to upgrade plexmediaserver on Ubuntu 20.04

This error

PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
Failed to write ‘change’ to ‘/sys/devices/virtual/input/input26/uevent’: Cannot allocate memory
dpkg: error processing package plexmediaserver (–configure):

has been seen before.

Other places it’s been seen:

  1. When a key remapper has been installed
    Plex fails to install on linux when a key remapper is installed (like Kinto)

  2. when ckb-next has been installed
    Plex Media Server install fails on Ubuntu 20.04 due to ckb-next

This is a DPKG problem with that package and not with Plex.
Reverting PMS version for success is random.

This is centered around dpkg errors with 3rd party keyboard management packages.
Does this also apply to you?