Automated post-install setup of Ubuntu 20.04 and 22.04 on the Framework

Oh you most certainly are not at fault – this is 22.04 upgrade from 21.10 issue :upside_down_face: (likely?)

If there is a better place to post, I can do that.

I do not – I’ve rebooted since running the script

Also can you get the full output of that error in fprintd.service ? Use the arrow keys to scroll to the right to reveal the rest of it.

yeah, here’s the full thing

× fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/lib/systemd/system/fprintd.service; static)
     Active: failed (Result: exit-code) since Mon 2022-05-02 12:36:28 EDT; 57s ago
       Docs: man:fprintd(1)
    Process: 16467 ExecStart=/usr/libexec/fprintd (code=exited, status=127)
   Main PID: 16467 (code=exited, status=127)
        CPU: 83ms

May 02 12:36:27 hephaestus systemd[1]: Starting Fingerprint Authentication Daemon...
May 02 12:36:28 hephaestus fprintd[16467]: /usr/libexec/fprintd: symbol lookup error: /usr/libexec/fprintd: undefined symbol: fp_device_suspend_finish, version LIBFPRINT_2.0.0
May 02 12:36:28 hephaestus systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
May 02 12:36:28 hephaestus systemd[1]: fprintd.service: Failed with result 'exit-code'.
May 02 12:36:28 hephaestus systemd[1]: Failed to start Fingerprint Authentication Daemon.

Sounds like fprintd can’t load libfprint. Do:

ls -la /usr/lib/x86_64-linux-gnu/libfprint-2.so.2
ls -la /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0

and post the output.

EDIT: Discourse isn’t allowing me to post the commands for some reasons. Trying to find a way to put them in. :sweat_smile:
E2: Blockquote worked.

1 Like

ls -la /usr/lib/x86_64-linux-gnu/libfprint-2.so.2
ls -la /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0
Permissions Size User Date Modified Name
lrwxrwxrwx 20 root 27 Mar 17:48 /usr/lib/x86_64-linux-gnu/libfprint-2.so.2 -> libfprint-2.so.2.0.0
Permissions Size User Date Modified Name
.rw-r--r-- 746k root 27 Mar 17:48 /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0

:thinking:

I had to do the same thing :upside_down_face: weird

nm -gD /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0 | grep fp_device_suspend_finish
❯ nm -gD /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0 | grep fp_device_suspend_finish
0000000000016d50 T fp_device_suspend_finish@@LIBFPRINT_2.0.0

It looks right but something’s amiss. Let’s try to speculatively reinstall all the components:

sudo apt-get --reinstall install fprintd libfprint-2-2 libfprint-2-tod1 gir1.2-fprint-2.0 libpam-fprintd

Reboot for a good measure after that and check if fprintd.service can start.

1 Like

cool, yeah, I re-installed all that stuff with that command, rebooted, and the service is still struggling

× fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/lib/systemd/system/fprintd.service; static)
     Active: failed (Result: exit-code) since Mon 2022-05-02 14:07:05 EDT; 1min 10s ago
       Docs: man:fprintd(1)
    Process: 15613 ExecStart=/usr/libexec/fprintd (code=exited, status=127)
   Main PID: 15613 (code=exited, status=127)
        CPU: 83ms

May 02 14:07:04 hephaestus systemd[1]: Starting Fingerprint Authentication Daemon...
May 02 14:07:05 hephaestus fprintd[15613]: /usr/libexec/fprintd: symbol lookup error: /usr/libexec/fprintd: undefined symbol: fp_device_suspend_finish, version LIBFPRINT_2.0.0
May 02 14:07:05 hephaestus systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
May 02 14:07:05 hephaestus systemd[1]: fprintd.service: Failed with result 'exit-code'.
May 02 14:07:05 hephaestus systemd[1]: Failed to start Fingerprint Authentication Daemon.
~
sudo find / -name "libfprint*so*"
ldd /usr/libexec/fprintd
sudo systemctl cat fprintd.service

You can put the results in the other thread if you like.

yeah let’s move over there – I’ve copied the output of those 3 commands to here: Upgrading to Ububtu 22.04 -- issues, etc

Apologies for the extremely delayed response. I tried this and it seems to have deleted the prints just fine. But now I having problems re-adding. Every time I run fprintd-enroll or sudo fprintd-enroll I get the following error message:
Failed to get Fprintd manager: Error calling StartServiceByName for net.reactivated.Fprint: Failed to activate service ‘net.reactivated.Fprint’: timed out (service_start_timeout=25000ms)
Any idea of how to get around this?

What’s the status of fprintd.service?

Every time I try to run that it says command not found.

It’s not a command. The command to check fprintd.service's status is

sudo systemctl status fprintd.service

Running this script gives me the following:

<__gi__.FpiDeviceGoodixMoc object at 0x7f4e2bafa900 (FpiDeviceGoodixMoc at 0x55d8eb2cd1e0)>
goodixmoc
UID342C7CF8_XXXX_MOC_B0

(process:41848): libfprint-ERROR **: 21:22:20.129: parse fingerlist error
Trace/breakpoint trap

But I am also having the same issue as @Sam_Lane when trying to register fingerprints.

And here is the status of the frpints.service:

○ fprintd.service - Fingerprint Authentication Daemon
     Loaded: loaded (/lib/systemd/system/fprintd.service; static)
     Active: inactive (dead)
       Docs: man:fprintd(1)

May 23 15:46:35 frame010 systemd[1]: fprintd.service: Deactivated successfully.
May 23 16:16:38 frame010 systemd[1]: Starting Fingerprint Authentication Daemon...
May 23 16:16:38 frame010 systemd[1]: Started Fingerprint Authentication Daemon.
May 23 16:17:09 frame010 systemd[1]: fprintd.service: Deactivated successfully.
May 23 17:04:17 frame010 systemd[1]: Starting Fingerprint Authentication Daemon...
May 23 17:04:18 frame010 systemd[1]: Started Fingerprint Authentication Daemon.
May 23 21:03:49 frame010 systemd[1]: fprintd.service: Deactivated successfully.
May 23 21:22:16 frame010 systemd[1]: Starting Fingerprint Authentication Daemon...
May 23 21:22:17 frame010 systemd[1]: Started Fingerprint Authentication Daemon.
May 23 21:22:47 frame010 systemd[1]: fprintd.service: Deactivated successfully.

The fingerprint reader is the only thing not working currently. It isn’t a big deal, but I am curious about why it is having issues. I have been able to use it before when I had 18.04 on here.

The service log looks fine in your case. Something else is up. Not sure what. I don’t know how to interpret the sudo libfprint_delete_device_prints.py -d log. Maybe it has to do with “another OS claiming ownership of the reader”? I don’t actually understand that mechanism well.

Maybe this is related? Although you’ve been there before. Maybe in the past.

Ahhh. That makes sense. Sorry about that. Here are the results:

× fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/lib/systemd/system/fprintd.service; static)
Active: failed (Result: exit-code) since Tue 2022-05-24 21:13:37 CEST; 30s>
Docs: man:fprintd(1)
Process: 6495 ExecStart=/usr/libexec/fprintd (code=exited, status=127)
Main PID: 6495 (code=exited, status=127)
CPU: 72ms

May 24 21:13:37 samlane86-Laptop systemd[1]: Starting Fingerprint Authenticatio>
May 24 21:13:37 samlane86-Laptop fprintd[6495]: /usr/libexec/fprintd: symbol lo>
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Main process exit>
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Failed with resul>
May 24 21:13:37 samlane86-Laptop systemd[1]: Failed to start Fingerprint Authen>
lines 1-13/13 (END)…skipping…
× fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/lib/systemd/system/fprintd.service; static)
Active: failed (Result: exit-code) since Tue 2022-05-24 21:13:37 CEST; 30s ago
Docs: man:fprintd(1)
Process: 6495 ExecStart=/usr/libexec/fprintd (code=exited, status=127)
Main PID: 6495 (code=exited, status=127)
CPU: 72ms

May 24 21:13:37 samlane86-Laptop systemd[1]: Starting Fingerprint Authentication Daemon…
May 24 21:13:37 samlane86-Laptop fprintd[6495]: /usr/libexec/fprintd: symbol lookup error: /usr/libexec/fprintd: undefined symbo>
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Failed with result ‘exit-code’.
May 24 21:13:37 samlane86-Laptop systemd[1]: Failed to start Fingerprint Authentication Daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)

× fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/lib/systemd/system/fprintd.service; static)
Active: failed (Result: exit-code) since Tue 2022-05-24 21:13:37 CEST; 30s ago
Docs: man:fprintd(1)
Process: 6495 ExecStart=/usr/libexec/fprintd (code=exited, status=127)
Main PID: 6495 (code=exited, status=127)
CPU: 72ms

May 24 21:13:37 samlane86-Laptop systemd[1]: Starting Fingerprint Authentication Daemon…
May 24 21:13:37 samlane86-Laptop fprintd[6495]: /usr/libexec/fprintd: symbol lookup error: /usr/libexec/fprintd: undefined>
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Main process exited, code=exited, status=127/n/a
May 24 21:13:37 samlane86-Laptop systemd[1]: fprintd.service: Failed with result ‘exit-code’.
May 24 21:13:37 samlane86-Laptop systemd[1]: Failed to start Fingerprint Authentication Daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)

@Sam_Lane it looks like your problem is the same as @NullVoxPopuli . Check our discussion here.

Thanks! I’ll try it out!