← Back to team overview

openjdk team mailing list archive

[Bug 664324] [NEW] package openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2

 

Public bug reported:

Failed to install then ran sudo apt-get install -f and got:-
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:
  linux-headers-2.6.34-5 libao2 linux-headers-2.6.34-5-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  openjdk-6-jre-headless
Suggested packages:
  sun-java6-fonts ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho
  ttf-kochi-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
  ttf-bengali-fonts
The following packages will be upgraded:
  openjdk-6-jre-headless
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0 B/27.4 MB of archives.
After this operation, 61.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 149903 files and directories currently installed.)
Preparing to replace openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 (using .../openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb) ...
Unpacking replacement openjdk-6-jre-headless ...
dpkg: error processing /var/cache/apt/archives/openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2
No apport report written because MaxReports has already been reached
                                                                    dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AptOrdering:
 openjdk-6-jre-headless: Install
 openjdk-6-jre-headless: Configure
 icedtea-6-jre-cacao: Configure
Architecture: i386
Date: Thu Oct 21 08:04:26 2010
ErrorMessage: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 natty

-- 
package openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2
https://bugs.launchpad.net/bugs/664324
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
Failed to install then ran sudo apt-get install -f and got:-
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:
  linux-headers-2.6.34-5 libao2 linux-headers-2.6.34-5-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  openjdk-6-jre-headless
Suggested packages:
  sun-java6-fonts ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho
  ttf-kochi-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
  ttf-bengali-fonts
The following packages will be upgraded:
  openjdk-6-jre-headless
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0 B/27.4 MB of archives.
After this operation, 61.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 149903 files and directories currently installed.)
Preparing to replace openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 (using .../openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb) ...
Unpacking replacement openjdk-6-jre-headless ...
dpkg: error processing /var/cache/apt/archives/openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2
No apport report written because MaxReports has already been reached
                                                                    dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-6-jre-headless_6b20-1.10~pre2-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AptOrdering:
 openjdk-6-jre-headless: Install
 openjdk-6-jre-headless: Configure
 icedtea-6-jre-cacao: Configure
Architecture: i386
Date: Thu Oct 21 08:04:26 2010
ErrorMessage: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b20-1.10~pre1-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1.gz', which is also in package openjdk-6-jre 6b20-1.10~pre1-0ubuntu2





Follow ups

References