← Back to team overview

openjdk team mailing list archive

Bug#490672: openjdk-6-jre-headless: conflict with sun-java6 at 'update-binfmts'

 

tag 490672 - moreinfo
merge 490672 490594
retitle openjdk-6-jre-headless: conflict with sun-java6 at 'update-binfmts'
thanks

On 7/14/08, Matthias Klose <doko@xxxxxxxxxx> wrote:
> tag 490672 + moreinfo
>  thanks
>
>  > Setting up openjdk-6-jre-headless (6b10dfsg-1) ...
>  > dpkg: error processing openjdk-6-jre-headless (--configure):
>  >  subprocess post-installation script returned error exit status 2
>  > Errors were encountered while processing:
>  >  openjdk-6-jre-headless

This error can be reproduce by first installing sun-java6 and later
openjdk. This is the complete error message at postinstall:

Setting up openjdk-6-jre-headless (6b10dfsg-1) ...
update-binfmts: warning: current package is openjdk-6, but binary format
already installed by sun-java6
dpkg: error processing openjdk-6-jre-headless (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-6-dbg:
 openjdk-6-dbg depends on openjdk-6-jre-headless (= 6b10dfsg-1); however:
  Package openjdk-6-jre-headless is not configured yet.
dpkg: error processing openjdk-6-dbg (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ca-certificates-java:
 ca-certificates-java depends on openjdk-6-jre-headless; however:
  Package openjdk-6-jre-headless is not configured yet.
dpkg: error processing ca-certificates-java (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openjdk-6-jre-headless
 openjdk-6-dbg
 ca-certificates-java

Could one solution be to add a conflict against sun-java6-jre? Maybe
you have a better one so that we can have both of them installed for
testing purposes.

Thanks


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-rc9-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openjdk-6-jre-headless depends on:
pn  ca-certificates-java   <none>            (no description available)
ii  dpkg                   1.14.20           Debian package management system
ii  java-common            0.30              Base of all Java packages
ii  libaccess-bridge-java  1.23.0-1          Java Access Bridge for GNOME
ii  libc6                  2.7-12            GNU C Library: Shared libraries
ii  libcups2 [libcupsys2]  1.3.7-9           Common UNIX Printing System(tm) -
ii  libcupsys2             1.3.7-9           Common UNIX Printing System (trans
ii  libfreetype6           2.3.7-1           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.1-6         GCC support library
ii  liblcms1               1.17-1            Color management library
ii  openjdk-6-jre-lib      6b10dfsg-1        OpenJDK Java runtime (architecture
ii  rhino                  1.7R1-1           JavaScript engine written in Java
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages openjdk-6-jre-headless recommends:
ii  libnss-mdns                   0.10-3     NSS module for Multicast DNS name
pn  tzdata-java                   <none>     (no description available)

-- no debconf information





Follow ups