<div dir="ltr"><div>[don't forget to keep <a href="mailto:810591@bugs.debian.org">810591@bugs.debian.org</a> in CC when you reply, we want the information to be public]<br></div> <br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 11, 2016 at 11:27 PM, Guy Durrieu <span dir="ltr"><<a href="mailto:guy.durrieu@cegetel.net" target="_blank">guy.durrieu@cegetel.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">Le 11/01/2016 22:52, Vincent Fourmond a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
tag 810591 +moreinfo<br>
thanks<br>
<br>
  Hello,<br>
<br>
  I'm very puzzled by this bug, since, clearly, compare-im6 exists in the package:<br>
<br>
dpkg-deb -c imagemagick_6.8.9.9-6+b1_i386.deb | grep compare<br>
-rw-r--r-- root/root      1745 2015-12-18 11:40 ./usr/share/man/man1/compare-im6.1.gz<br>
lrwxrwxrwx root/root         0 2015-12-18 11:40 ./usr/bin/compare-im6 -> ../lib/i386-linux-gnu/ImageMagick-6.8.9/bin-Q16/compare<br>
<br>
  And it points to a valid symlink (as long as the imagemagick-6.q16 package is installed, but as the former depends on the latter, it should always be)...<br>
<br>
 dpkg-deb -c imagemagick-6.q16_6.8.9.9-6+b1_i386.deb | grep compare<br>
-rwxr-xr-x root/root      5636 2015-12-18 11:40 ./usr/lib/i386-linux-gnu/ImageMagick-6.8.9/bin-Q16/compare<br>
<br>
  Can you describe what did you do more precisely ? Can you reinstall imagemagick-6.q16 ? What does<br>
<br>
ls -l /usr/bin/compare-im6<br>
<br>
say ?<br>
<br>
  Cheers,<br>
<br>
      Vincent<br>
<br>
</blockquote>
<br></span>
Hello,<br>
<br>
Thanks for your answer.<br>
<br>
The error appeared while performing aptitude full-upgrade (thus upgrading ImageMagick).<br>
<br>
<br>
<br>
 ls -l /usr/bin/compare-im6 gives<br>
<br>
lrwxrwxrwx 1 root root 55 déc.  18 11:40 /usr/bin/compare-im6 -> ../lib/i386-linux-gnu/ImageMagick-6.8.9/bin-Q16/compare<br>
<br>
but ImageMagick-6.8.9/bin-Q16/compare doesn't exist within /usr/lib/i386-linux-gnu...<br>
<br>
and I get the same error messages after reinstalling imagemagick-6.q16:<br>
<br>
(Sorry, the script is in french)<br>
<br>
---<br>
(Lecture de la base de données... 363500 fichiers et répertoires déjà installés.)<br>
Préparation du dépaquetage de .../imagemagick-6.q16_8%3a6.8.9.9-6+b1_amd64.deb ...<br>
Dépaquetage de imagemagick-6.q16 (8:6.8.9.9-6+b1) sur (8:6.8.9.9-6+b1) ...<br>
Traitement des actions différées (« triggers ») pour mime-support (3.59) ...<br>
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-6) ...<br>
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22-1) ...<br>
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.13-1) ...<br>
Paramétrage de imagemagick-6.q16 (8:6.8.9.9-6+b1) ...<br>
Paramétrage de imagemagick:i386 (8:6.8.9.9-6+b1) ...<br>
update-alternatives: erreur: le chemin alternatif /usr/bin/compare-im6 n'existe pas<br>
dpkg: erreur de traitement du paquet imagemagick:i386 (--configure) :<br>
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2<br>
---<br></blockquote><div><br></div><div>  I'm getting more and more confused, this really shouldn't happen, since imagemagick-6.q16 should be properly unpacked when it reaches the configuration step...<br></div><div><br></div><div>  Before anything else, what does this tell you ?<br><br></div><div>dpkg -L imagemagick-6.q16</div><div> <br>  Can you try using apt upgrade instead of aptitude ? (maybe aptitude is getting confused at some point).<br><br></div><div>  Cheers,<br><br></div><div>      Vincent<br></div><div><br></div><div>  <br></div></div></div></div>