← Back to team overview

openjdk team mailing list archive

[Bug 1359078] Re: package openjdk-7-jdk 7u55-2.4.7-1ubuntu1 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1

 

So, the packaging situation is a bit muddy here.

I have previously manually created a softlink from

    /usr/lib/jvm/java-7-openjdk-amd64/src/zip   ->
../java-7-openjdk-i386/src/zip

Because the "source" package (which is basically necessary for a useful
debugging environment in Eclipse, etc), puts the archive in the i386
folder... even through source is platform-independent.

Eclipse expects to find src.zip in the root of the JDK by default, hence
the softlink. Also submitted bugs to the effect that the packaging
should change to put the source in a platform-independant location and
softlink to the archive in the appropriate platform-dependent locations.
Perhaps a half-baked version of this is what's occurring. I note the new
folder `openjdk-7` is now the new location of the src.zip archive and
there is an appropriate softlink in the amd64 folder.

Inspecting the packages...

openjdk-7-jdk :

This package now includes 
   /usr/lib/jvm/java-7-openjdk-amd64/src.zip (a link to the source)

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1359078

Title:
  package openjdk-7-jdk 7u55-2.4.7-1ubuntu1 failed to install/upgrade:
  trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which
  is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1

Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  No details

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: openjdk-7-jdk 7u55-2.4.7-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-33.58-generic 3.13.11.4
  Uname: Linux 3.13.0-33-generic i686
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: i386
  Date: Wed Aug 20 10:03:01 2014
  DuplicateSignature: package:openjdk-7-jdk:7u55-2.4.7-1ubuntu1:trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1
  ErrorMessage: trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1
  InstallationDate: Installed on 2014-03-28 (144 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  SourcePackage: openjdk-7
  Title: package openjdk-7-jdk 7u55-2.4.7-1ubuntu1 failed to install/upgrade: trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1
  UpgradeStatus: Upgraded to trusty on 2014-08-13 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1359078/+subscriptions


References