Terminal (and other default Ubuntu apps) won't launch due to missing libffi.so.7 in 20.10
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| libffi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
When I launch Terminal, I see the following error (st and urxvt are still launchable, as are Discord and Spotify, among others):
Sep 11 18:22:39 arctic systemd[1918]: Started Application launched by gnome-shell.
Sep 11 18:22:39 arctic gnome-shell[2191]: g_variant_unref: assertion 'value != NULL' failed
Sep 11 18:22:39 arctic gnome-shell[2191]: g_variant_unref: assertion 'value != NULL' failed
Sep 11 18:22:39 arctic gnome-shell[18808]: Traceback (most recent call last):
Sep 11 18:22:39 arctic gnome-shell[18808]: File "/usr/bin/
Sep 11 18:22:39 arctic gnome-shell[18808]: from gi.repository import GLib, Gio
Sep 11 18:22:39 arctic gnome-shell[18808]: File "/home/
Sep 11 18:22:39 arctic gnome-shell[18808]: from . import _gi
Sep 11 18:22:39 arctic gnome-shell[18808]: ImportError: libffi.so.7: cannot open shared object file: No such file or directory
And then Terminal never launches.
libffi.so.8 is found in /usr/lib/
$ lsb_release -rd
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10

Fixed by:
$ wget https:/ /launchpad. net/ubuntu/ +source/ libffi/ 3.3-4/+ build/18885702/ +files/ libffi7_ 3.3-4_amd64. debwget 3.3-4_amd64. deb
$ sudo dpkg -i libffi7_
Thanks to TJ- and sarnold in the Ubuntu freenode server for the help.