sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.89k stars 161 forks source link

Cannot install input-remapper under Debian 12 #858

Open danielkr123 opened 8 months ago

danielkr123 commented 8 months ago

Hello,

I used Key Mapper in the past and since it stopped working recently, I wanted to install the latest version of input-remapper. Unfortunately, it is not possible to install it under Debian 12.

What I tried:

1) Downloaded the package input-remapper-2.0.1.deb from the GitHub repo and tried to install it with dpkg -i input-remapper-2.0.1.deb

2) Followed the installation instructions for Debian with cloning and building the .deb from scratch and install it as in 1)

Observation:

sudo apt install -f ./dist/input-remapper-2.0.1.deb

(...)

input-remapper (2.0.1) wird eingerichtet ...
Failed to enable unit: File input-remapper.service: Link has been severed
Failed to start input-remapper.service: Unit input-remapper.service not found.
dpkg: Fehler beim Bearbeiten des Paketes input-remapper (--configure):
 »installiertes post-installation-Skript des Paketes input-remapper«-Unterprozess gab den Fehlerwert 5 zurück
Fehler traten auf beim Bearbeiten von:
 input-remapper
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you please give me a hint how to get input remapper running under Debian again?

Thanks!

With best regards, Daniel


Libraries being installed as dependencies:

icu-devtools input-remapper libatk-bridge2.0-dev libatk1.0-dev libatspi2.0-dev libblkid-dev libbrotli-dev libcairo2-dev libdatrie-dev libdeflate-dev libegl-dev
  libegl1-mesa-dev libepoxy-dev libffi-dev libfontconfig-dev libfreetype-dev libfribidi-dev libgdk-pixbuf-2.0-dev libgl-dev libgles-dev libgles1 libglib2.0-dev
  libglib2.0-dev-bin libglvnd-core-dev libglvnd-dev libglx-dev libgraphite2-dev libgtk-3-dev libgtksourceview-4-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev
  libicu-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblerc-dev liblzma-dev libmount-dev libopengl-dev libpango1.0-dev libpcre2-32-0 libpcre2-dev libpcre2-posix3
  libpixman-1-dev libpng-dev libpng-tools libpthread-stubs0-dev libselinux1-dev libsepol-dev libsm-dev libthai-dev libtiff-dev libtiffxx6 libwayland-bin libwayland-dev
  libwebp-dev libx11-dev libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev
  libxft-dev libxi-dev libxinerama-dev libxkbcommon-dev libxml2-dev libxrandr-dev libxrender-dev libxtst-dev libzstd-dev pango1.0-tools python3-pydantic uuid-dev
  wayland-protocols x11proto-dev xorg-sgml-doctools xtrans-dev
danielkr123 commented 8 months ago

I realized, that input-remapper is now in the standard Debian repository and simply installing it via sudo apt install input-remapper input-remapper-gtk works fine.

Still surprising that the GitHub version does not work.

christopherseaman commented 7 months ago
  1. Had a similar issue earlier when juggling versions of input-remapper. In my case the problem was a lingering version of /lib/systemd/system/input-remapper.service that had not been properly removed. Moving the file fixed the issue. Performing an apt purge input-remapper might also do the trick.
  2. Any plan to bump the version in Debian 12? The bookworm repo shows v1.5.0-1.1

Vanilla apt install

❯ input-remapper-control --version
input-remapper 1.5.0  https://github.com/sezanzeb/input-remapper

GitHub release

❯ input-remapper-control --version
input-remapper 2.0.1 568f56cdb438f4ad6db9e96b2900d1228ea736ee https://github.com/sezanzeb/input-remapper