3v1n0 / libfprint

Library for fingerprint readers
GNU Lesser General Public License v2.1
392 stars 48 forks source link

How to install on Debian 11? #45

Open jiang-qian opened 1 year ago

jiang-qian commented 1 year ago

I tried to install it on Debian 11. Using ubuntu repository failed with:

add-apt-repository ppa:3v1n0/libfprint-vfs0090 .... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). gpg: no valid OpenPGP data found.

Trying to compile from source using meson result in: Message: Updating the vfs0090 submodule WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Running command: /usr/bin/git submodule update --init --recursive --- stdout ---

--- stderr --- fatal: not a git repository (or any of the parent directories): .git

meson.build:169:16: ERROR: Problem encountered: Impossible to update the vfs0090 submodule

What's the best way to proceed? I am on Debian Bullseye 11. My machine is Thinkpad X1 Carbon Gen 5 (2017). The validity sensor is 138a:0097 as shown in libusb

Any help would be most appreciated.

ecogit commented 7 months ago

Bash sudo nano /etc/apt/sources.list.d/3v1n0-ubuntu-libfprint-vfs0090-mantic.sources

then replace mantic with jammy

Now sudo apt update should work without error.

default-student commented 4 months ago

or repalce with focal also works solved for me!