Roland van Laar
unread,Feb 6, 2023, 11:40:04 AM2/6/23You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: imagemagick
Version: 8:6.9.11.60+dfsg-1.3
Severity: important
Dear Maintainer,
* What led up to the situation?
VScode devcontainer python:3 tries
to uninstall it.
* What exactly did you do (or not do) that was effective (or
run apt-get purge -u imagemagick
ineffective)?
* What was the outcome of this action?
> [5/5] RUN apt-get purge -y imagemagick:
#0 0.252 Reading package lists...
#0 0.509 Building dependency tree...
#0 0.559 Reading state information...
#0 0.615 The following packages were automatically installed and are no longer required:
#0 0.615 dbus fontconfig fontconfig-config fonts-dejavu-core fonts-droid-fallback
#0 0.615 fonts-noto-mono fonts-urw-base35 ghostscript gsfonts hicolor-icon-theme
#0 0.615 imagemagick-6-common imagemagick-6.q16 libaom0 libapparmor1 libavahi-client3
#0 0.615 libavahi-common-data libavahi-common3 libbrotli1 libbsd0 libcairo2 libcups2
#0 0.615 libdatrie1 libdav1d4 libdbus-1-3 libde265-0 libdeflate0 libdjvulibre-text
#0 0.615 libdjvulibre21 libexpat1 libfftw3-double3 libfontconfig1 libfreetype6
#0 0.615 libfribidi0 libglib2.0-0 libglib2.0-data libgomp1 libgraphite2-3 libgs9
#0 0.615 libgs9-common libharfbuzz0b libheif1 libicu67 libidn11 libijs-0.35
#0 0.615 libilmbase25 libjbig0 libjbig2dec0 libjpeg62-turbo libjxr-tools libjxr0
#0 0.615 liblcms2-2 liblqr-1-0 libltdl7 libmagickcore-6.q16-6
#0 0.615 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmd0 libnetpbm10
#0 0.615 libnuma1 libopenexr25 libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0
#0 0.615 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 libpng16-16
#0 0.615 libthai-data libthai0 libtiff5 libwebp6 libwebpdemux2 libwebpmux3
#0 0.615 libwmf0.2-7 libx11-6 libx11-data libx265-192 libxau6 libxcb-render0
#0 0.615 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxrender1 netpbm
#0 0.615 poppler-data sensible-utils shared-mime-info ucf xdg-user-dirs
#0 0.615 Use 'apt autoremove' to remove them.
#0 0.634 The following packages will be REMOVED:
#0 0.634 imagemagick*
#0 0.756 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
#0 0.756 After this operation, 225 kB disk space will be freed.
(Reading database ... 10525 files and directories currently installed.)
#0 0.775 Removing imagemagick (8:6.9.11.60+dfsg-1.3) ...
#0 0.786 dpkg: error processing package imagemagick (--remove):
#0 0.786 cannot remove '/usr/share/doc/imagemagick': Invalid argument
#0 0.786 dpkg: too many errors, stopping
#0 0.792 Errors were encountered while processing:
#0 0.792 imagemagick
#0 0.792 Processing was halted because there were too many errors.
#0 0.808 E: Sub-process /usr/bin/dpkg returned an error code (1)
* What outcome did you expect instead?
A 0 exit code
Here's a sample docker file to test it:
```
FROM debian:bullseye
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y imagemagick
RUN apt-get purge -y imagemagick
```