Bug#1020488: libffi8: Fail to install
It is probably somehow related to this bug:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1943312
A slight modification of the proposed workaround in the bugreport
mentioned above worked in my case:
apt download libffi8 libffi8:i386
for d in libffi8*.deb; do
dpkg-deb -x $d $d.dir;
dpkg-deb -e $d $d.dir/DEBIAN;
sed -i '/Breaks: libffi8ubuntu1/d' $d.dir/DEBIAN/control;
sed -i '/Replaces: libffi8ubuntu1/d' $d.dir/DEBIAN/control;
sed -i '/Provides: libffi8ubuntu1 .*/d' $d.dir/DEBIAN/control;
dpkg-deb -b $d.dir $d;
done
sudo dpkg -i libffi8*.deb
Reply to: