Andrew, you did it wrong.

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 's/Breaks: libffi8ubuntu1/Breaks: libffi8ubuntu1 (<= 
3.4~20200819gead65ca871-0ubuntu5)/' $d/DEBIAN/control;
  dpkg-deb -b $d.dir $d;
done
sudo dpkg -i libffi8*.deb

And after the installation, do not update libffi8 again until a new version out.
sudo apt-mark hold libffi8 libffi8:i386

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libffi in Ubuntu.
https://bugs.launchpad.net/bugs/1943312

Title:
  dependency problems of version 3.4.2-1ubuntu3

Status in libffi package in Ubuntu:
  Confirmed

Bug description:
  Have both libffi8ubuntu1:amd64 and libffi8ubuntu1:i386 installed
  previously. Got these after upgrading to 3.4.2-1ubuntu3

  dpkg: dependency problems prevent configuration of libffi8:amd64:
   libffi8:i386 (3.4.2-1ubuntu3) breaks libffi8ubuntu1 and is unpacked but not 
configured.
    libffi8:amd64 (3.4.2-1ubuntu3) provides libffi8ubuntu1.

  dpkg: error processing package libffi8:amd64 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libffi8:i386:
   libffi8:amd64 (3.4.2-1ubuntu3) breaks libffi8ubuntu1 and is unpacked but not 
configured.
    libffi8:i386 (3.4.2-1ubuntu3) provides libffi8ubuntu1.

  dpkg: error processing package libffi8:i386 (--configure):
   dependency problems - leaving unconfigured

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1943312/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to