Public bug reported:

I done following things:

In short:
   1) apt-get install php5-imagic
when I got some error, as per error report I have done,
   2) apt-get -f install

Details:

root@girish-Inspiron-1464:/home/girish# apt-get install php5-imagick
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 php5-imagick : Depends: libmagickcore4 (>= 8:6.6.9.7) but it is not going to 
be installed
                Depends: libmagickwand4 (>= 8:6.6.9.7) but it is not going to 
be installed
                Depends: phpapi-20090626
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).

root@girish-Inspiron-1464:/home/girish# apt-get -f install php5-imagick
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 php5-imagick : Depends: libmagickcore4 (>= 8:6.6.9.7) but it is not going to 
be installed
                Depends: libmagickwand4 (>= 8:6.6.9.7) but it is not going to 
be installed
                Depends: phpapi-20090626
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).
root@girish-Inspiron-1464:/home/girish# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libmagickcore4 libmagickwand4 imagemagick-common liblqr-1-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  imagemagick-common liblqr-1-0 libmagickcore4 libmagickwand4
Suggested packages:
  libmagickcore4-extra
The following packages will be REMOVED:
  php5-imagick
The following NEW packages will be installed:
  imagemagick-common liblqr-1-0 libmagickcore4 libmagickwand4
0 upgraded, 4 newly installed, 1 to remove and 156 not upgraded.
1 not fully installed or removed.
Need to get 2,322 kB of archives.
After this operation, 6,925 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main 
imagemagick-common all 8:6.6.9.7-5ubuntu3.2 [40.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main liblqr-1-0 amd64 
0.4.1-1.1 [39.5 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickcore4 
amd64 8:6.6.9.7-5ubuntu3.2 [1,879 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickwand4 
amd64 8:6.6.9.7-5ubuntu3.2 [364 kB]           
Fetched 2,322 kB in 18s (124 kB/s)                                              
                                             
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 
columns wide.)
debconf: falling back to frontend: Readline
(Reading database ... 203457 files and directories currently installed.)
Removing php5-imagick ...
sed: can't read /etc/php5/conf.d/imagick.ini: No such file or directory
dpkg: error processing php5-imagick (--remove):
 subprocess installed post-removal script returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: php5-imagick 3.1.0~rc1-1~precise+1
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Sat Oct 13 12:47:37 2012
DpkgTerminalLog:
 Removing php5-imagick ...
 sed: can't read /etc/php5/conf.d/imagick.ini: No such file or directory
 dpkg: error processing php5-imagick (--remove):
  subprocess installed post-removal script returned error exit status 2
ErrorMessage: subprocess installed post-removal script returned error exit 
status 2
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
SourcePackage: php-imagick
Title: package php5-imagick 3.1.0~rc1-1~precise+1 failed to install/upgrade: 
subprocess installed post-removal script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: php-imagick (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package precise third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066230

Title:
  package php5-imagick 3.1.0~rc1-1~precise+1 failed to install/upgrade:
  subprocess installed post-removal script returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-imagick/+bug/1066230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to