Thanks for your report.
The relevant error is --- Setting up imagemagick (7:6.5.7.8-1ubuntu1) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing imagemagick (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up libido-0.1-0 (0.1.5-0ubuntu1) ...
dpkg: error processing libido-0.1-0 (--configure):
This is reported in bug 512096. Please refer to this report for further information. Don't hesitate to submit any new bug.
Thanks for your report.
The relevant error is 7.8-1ubuntu1) ...
---
Setting up imagemagick (7:6.5.
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing imagemagick (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up libido-0.1-0 (0.1.5-0ubuntu1) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libido-0.1-0 (--configure):
subprocess installed post-installation script returned error exit status 2
This is reported in bug 512096. Please refer to this report for further information.
Don't hesitate to submit any new bug.