Quoting the attached DpkgTerminalLog.gz:Log started: 2011-05-02  16:07:23
> (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 549095 files and directories currently installed.)

> Preparing to replace fastjar 2:0.98-1ubuntu0.10.04.1 (using
.../fastjar_2%3a0.98-3_i386.deb) ...

> update-alternatives: error: /var/lib/dpkg/alternatives/jar corrupt:
invalid status

> dpkg: warning: subprocess old pre-removal script returned error exit
status 2

> dpkg - trying script from the new package instead ...

> update-alternatives: error: /var/lib/dpkg/alternatives/jar corrupt:
invalid status

> dpkg: error processing
/var/cache/apt/archives/fastjar_2%3a0.98-3_i386.deb (--unpack):

>  subprocess new pre-removal script returned error exit status 2

> update-alternatives: error: /var/lib/dpkg/alternatives/jar corrupt:
invalid status

> dpkg: error while cleaning up:

>  subprocess installed post-installation script returned error exit
status 2


The root cause here appears to be fastjar.  Reassigning accordingly.

Having said that, anything involving /etc/alternatives seems to throw an
error on your system.  Perhaps this should be reassigned to the
alternatives system, ultimately.

Can you try to purge, then reinstall all the packages which have a
problem?

> Errors were encountered while processing:

>  /var/cache/apt/archives/fastjar_2%3a0.98-3_i386.deb

>  /var/cache/apt/archives/branding-ubuntu_0.7_all.deb

>  /var/cache/apt/archives/dictionaries-common_1.9.3ubuntu1_all.deb

>  /var/cache/apt/archives/gnupg-curl_1.4.11-3ubuntu1_i386.deb


** Package changed: dictionaries-common (Ubuntu) => fastjar (Ubuntu)

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

Title:
  package dictionaries-common 1.4.0ubuntu2 failed to install/upgrade:
  subprocess new pre-installation script returned error exit status 2

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

Reply via email to