uunicorn / python-validity

Validity fingerprint sensor prototype
MIT License
993 stars 83 forks source link

Unable to install on Linux Mint 22 Cinnamon - ThinkPad T480 - ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader #202

Open andremarko opened 2 months ago

andremarko commented 2 months ago

Issues adding the repository in Linux Mint 22 Cinnamon:

$ sudo add-apt-repository ppa:uunicorn/open-fprintd Cannot add PPA: ''This PPA does not support noble''.

bionik commented 2 months ago

Just managed to get this to work on Linux Mint 22 by importing the PPA for jammy "manually". I guess this guide will work also on Ubuntu. I will list commands but since we are on the Internet, check that all the keys etc are correct from the PPA page. I will provide sources/guides for these operations, read them to know what you are doing.

PPA: https://launchpad.net/~uunicorn/+archive/ubuntu/open-fprintd

1: Go to the PPA page and add the sources (under Technical details) from there to /etc/apt/sources.list BUT replace the ubuntu version to jammy:

deb https://ppa.launchpadcontent.net/uunicorn/open-fprintd/ubuntu jammy main 
deb-src https://ppa.launchpadcontent.net/uunicorn/open-fprintd/ubuntu jammy main 

Source: https://wiki.debian.org/SourcesList

2: Then import the signing keys from PPA (the part after / on the PPA website - read the linked source for details): sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2937DB010DA51096CD4277FF8D4C774BA6D18F90

Source: https://zackad.dev/en/2017/08/17/add-ppa-simple-way.html

3: Then convert the signing key to new format, since apt update will complain about the legacy key: sudo apt-key export A6D18F90 | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/open-fprintd.gpg

This will convert the previously added key. Source: https://askubuntu.com/questions/1407632/key-is-stored-in-legacy-trusted-gpg-keyring-etc-apt-trusted-gpg

4: Then do sudo apt update to update the sources and install as usual:

sudo apt update
sudo apt remove fprintd
sudo apt install open-fprintd fprintd-clients python3-validity
fprintd-enroll
sudo pam-auth-update
sudo systemctl enable open-fprintd-resume open-fprintd-suspend

That worked for me!

andremarko commented 2 months ago

Thank you for your attention. I will try it as soon as possible and give it a feedback if I managed to solved it!

DSM-Diver commented 1 month ago

Thanks bionik for the instructions, it worked for me.