uunicorn / open-fprintd

Fprintd replacement which allows you to have your own backend as a standalone service.
GNU General Public License v2.0
55 stars 9 forks source link

Ubuntu 21.04 install issue #9

Open omriasta opened 3 years ago

omriasta commented 3 years ago

There appears to be an issue with installing this on Ubuntu 21.04. I am not sure I understand all the technical details but it looks like libpam-fprintd is now dependent on fprintd and is removed when open-fprintd is installed. Anybody aware of a fix or a workaround?

omriasta commented 3 years ago

This still needs a fix but I was able to reinstall python3-validity, fprintd-clients and open-fprintd to get it to work on 21.04, then just had to run pam-auth-update to enable in sudo as well....

dirgeoni commented 3 years ago

This still needs a fix but I was able to reinstall python3-validity, fprintd-clients and open-fprintd to get it to work on 21.04, then just had to run pam-auth-update to enable in sudo as well....

Hi... struggling with installing these on 21.04 ... can you please share some hints? Thanks!

omriasta commented 3 years ago

Where did you get stuck?....honestly I'm not 100% sure I remember exactly how I got it all to work, kept futzing with these packages. You definitely need the packages listed above installed, not sure which others might be needed.

jubalfh commented 3 years ago

you want to add versioned Provides: field to the package control file, like this:

diff --git a/debian/control b/debian/control
index e25eb4f..8dd521a 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Depends: ${python3:Depends},
 Breaks: fprintd
 Conflicts: fprintd
 Replaces: fprintd
+Provides: fprintd (=1.90.9-1)
 XB-Python-Version: ${python3:Versions}
 Description: Open fprintd DBus service.
  This package lets you integrate fingerprint driver backends with the rest of
jubalfh commented 3 years ago

(note, this will need to be tweaked per distro version if libpam-fprintd is going to have a hard dependency on a particular version of fprintd package.)