Package: imagemagick
Version: 8:6.9.2.10+dfsg-2
Severity: critical
--- Please enter the report below this line. ---
Related report #816854
While upgrading imagemagick to 8:6.9.2.10+dfsg-2 (becoming it a dummy
package where imagemagick-6.q16 8:6.9.2.10+dfsg-2+b1 depends on), I got
the following output:
----
Performing actions...
(Reading database ... 498937 files and directories currently installed.)
Preparing to unpack .../imagemagick_8%3a6.9.2.10+dfsg-2_all.deb ...
dpkg-query: no packages found matching imagemagick:all
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-maintscript-helper: error: directory '/usr/share/doc/imagemagick'
contains files not owned by package imagemagick:all, cannot switch to
symlink
dpkg: error processing archive
/var/cache/apt/archives/imagemagick_8%3a6.9.2.10+dfsg-2_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/imagemagick_8%3a6.9.2.10+dfsg-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
----
Notice the "dpkg-maintscript-helper: error: directory
'/usr/share/doc/imagemagick' contains files not owned by package
imagemagick:all, cannot switch to symlink" while unpacking
"imagemagick_8%3a6.9.2.10+dfsg-2_all.deb" caused the break.
The related report #816854 also mention the issues when creating
symlinks, that also render the package broken.
Also, cups-filters (therefore, cups) depends on imagemagick, and since
8:6.9.2.10+dfsg-2 became a dummy package (and broken after upgrading);
removing it *will break* cups. Therefore, the cups dependences should
also be modified to fit "imagemagick-6.q16" in addition of imagemagick.
The only solution is to keep or downgrade imagemagick and
imagemagick-6.q16 to 8:6.8.9.9-7+b2.
--- System information. ---
Architecture: amd64
Kernel: Linux 4.3.5-custom-toi
Debian Release: stretch/sid
1 experimental ftp.debian.org
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
--- Output from package bug script ---
ImageMagick program version
---------------------------
animate: compare: convert: composite: conjure: display: identify:
import: mogrify: montage: stream: