Este é o erro:
dpkg: error processing archive /var/cache/apt/archives/libimage-magick-q8-perl_8%3a6.9.1-2_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Image/Magick/Magick.so', which is also in package libimage-magick-q16-perl 8:6.8.9.9-5 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
dpkg
está se recusando a instalar o pacote porque outro pacote possui o arquivo /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Image/Magick/Magick.so
Por padrão, dpkg
não sobrescreverá arquivos pertencentes a outro pacote - e a "propriedade" de arquivos por pacotes específicos pode mudar quando os pacotes são renomeados ou uma coleção de pacotes é reestruturada.
Você precisa executar o apt-get com a opção -o Dpkg :: Options ::="- force-overwrite" desta forma:
apt-get -o Dpkg :: Opções ::="- force-overwrite" ...
ou você pode tornar isso permanente adicionando-o ao /etc/apt/apt.conf ou a um arquivo em /etc/apt/apt.conf.d/ assim:
DPkg {Options {"--force-overwrite";}};