Skip to content

Instantly share code, notes, and snippets.

@jacqueline-homan
Last active May 6, 2019 15:51
Show Gist options
  • Save jacqueline-homan/3a81c995b86ad7226685 to your computer and use it in GitHub Desktop.
Save jacqueline-homan/3a81c995b86ad7226685 to your computer and use it in GitHub Desktop.
Error uninstalling ImageMagick after a compile fail
➜ ~ sudo apt-get remove --auto-remove imagemagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
imagemagick libbit-vector-perl libbonoboui2-0 libbonoboui2-common
libcarp-clan-perl libclass-data-inheritable-perl
libclass-method-modifiers-perl libcommon-sense-perl
libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdata-random-perl
libdate-calc-perl libdate-calc-xs-perl libextutils-depends-perl
libextutils-pkgconfig-perl libfile-which-perl libgd-perl
libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-perl libgnome2-vfs-perl
libgnome2-wnck-perl libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0
libgnomeui-common libgoo-canvas-perl libgoocanvas-common libgoocanvas3
libgtk2-appindicator-perl libgtk2-imageview-perl libgtk2-unique-perl
libgtkimageview0 libhttp-server-simple-perl libjson-perl libjson-xs-perl
libmouse-perl libnet-dbus-perl libnet-dropbox-api-perl libnet-oauth-perl
libpath-class-perl libproc-processtable-perl libproc-simple-perl
libsort-naturally-perl libtie-ixhash-perl libunique-1.0-0
libwww-mechanize-perl libx11-protocol-perl libxml-twig-perl
libxml-xpath-perl perlmagick shutter
0 upgraded, 0 newly installed, 52 to remove and 204 not upgraded.
3 not fully installed or removed.
After this operation, 31.1 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 186885 files and directories currently installed.)
Removing shutter (0.90.1-0ubuntu1) ...
Removing imagemagick (8:6.7.7.10-6ubuntu3) ...
Removing libdate-calc-xs-perl (6.3-1build1) ...
Removing libnet-dropbox-api-perl (1.9-1) ...
Removing libdata-random-perl (0.11-1) ...
Removing libdate-calc-perl (6.3-1) ...
Removing libbit-vector-perl (7.3-1build1) ...
Removing libgnome2-perl (1.044-1) ...
Removing libgnomeui-0:amd64 (2.24.5-3) ...
Removing libbonoboui2-0:amd64 (2.24.5-0ubuntu3) ...
Removing libbonoboui2-common (2.24.5-0ubuntu3) ...
Removing libcarp-clan-perl (6.04-1) ...
Removing libnet-oauth-perl (0.28-1) ...
Removing libclass-data-inheritable-perl (0.08-2) ...
Removing libclass-method-modifiers-perl (2.09-1) ...
Removing libjson-xs-perl (2.340-1build1) ...
Removing libcommon-sense-perl (3.72-2build1) ...
Removing libcrypt-openssl-rsa-perl (0.28-1build1) ...
Removing libcrypt-openssl-bignum-perl (0.04-4build1) ...
Removing libgoo-canvas-perl (0.06-1build3) ...
Removing libextutils-depends-perl (0.305-1) ...
Removing libextutils-pkgconfig-perl (1.15-1) ...
Removing libfile-which-perl (1.09-1) ...
Removing libgd-perl (2.50-1) ...
Removing libgnome2-canvas-perl (1.002-2build4) ...
Removing libgnome2-gconf-perl (1.044-4build1) ...
Removing libgnome2-vfs-perl (1.082-1) ...
Removing libgnome2-wnck-perl (0.16-2build3) ...
Removing libgnomecanvas2-0:amd64 (2.30.3-2) ...
Removing libgnomecanvas2-common (2.30.3-2) ...
Removing libgnomeui-common (2.24.5-3) ...
Removing libgoocanvas3 (0.15-1.1ubuntu1) ...
Removing libgoocanvas-common (0.15-1.1ubuntu1) ...
Removing libgtk2-appindicator-perl (0.15-1build1) ...
Removing libgtk2-imageview-perl (0.05-1build3) ...
Removing libgtk2-unique-perl (0.05-1build3) ...
Removing libgtkimageview0 (1.6.4+dfsg-0.1ubuntu2) ...
Removing libwww-mechanize-perl (1.73-1) ...
Removing libhttp-server-simple-perl (0.44-1) ...
Removing libjson-perl (2.61-1) ...
Removing libmouse-perl (2.1.0-1) ...
Removing libnet-dbus-perl (1.0.0-2build1) ...
Removing libpath-class-perl (0.33-1) ...
Removing libproc-processtable-perl (0.50-1) ...
Removing libproc-simple-perl (1.31-1) ...
Removing libsort-naturally-perl (1.02-1) ...
Removing libtie-ixhash-perl (1.23-1) ...
Removing libunique-1.0-0 (1.1.6-4ubuntu2) ...
Removing libx11-protocol-perl (0.56-4) ...
Removing libxml-twig-perl (1:3.44-1) ...
Removing libxml-xpath-perl (1.13-7) ...
Removing perlmagick (8:6.7.7.10-6ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Setting up php5-cli (5.5.9+dfsg-1ubuntu4) ...
ucfr: Attempt from package php5-cli to take /etc/php5/cli/php.ini away from package libapache2-mod-php5
ucfr: Aborting.
dpkg: error processing package php5-cli (--configure):
subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of php5-readline:
php5-readline depends on php5-cli (= 5.5.9+dfsg-1ubuntu4); however:
Package php5-cli is not configured yet.
dpkg: error processing package php5-readline (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php-pear:
php-pear depends on php5-cli; however:
Package php5-cli is not configured yet.
dpkg: error processing package php-pear (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
php5-cli
php5-readline
php-pear
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ ~ whereis imagemagick
imagemagick:
➜ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment