Hello, xenial has version 3.2.1-4 and artful had 3.2.1-6. Sadly, artful is EOL now, so no support is available for it anymore. I would suggest you to upgrade to bionic or focal, the latest LTS available.
alternatively you can download manually the deb from there https://launchpad.net/ubuntu/+source/libffi/3.2.1-6/+build/10963483 and dpkg -i it. But moving to 20.04 or newer is really the best option I suggest. ** Changed in: libffi (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1917620 Title: failed to install libffi-dev package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1917620/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs