← Back to team overview

openjdk team mailing list archive

[Bug 1723417] Re: dangling symlink: /usr/lib/jvm/java-*-openjdk-amd64/src.zip

 

+1

Please move the link creation step to the "openjdk-8-source" package.
On my machine no "openjdk-8-source" is installed but the link is present ...

Here is some terminal explanation.

----- 8< -----
me@my-machine:~# ls -lha /usr/lib/jvm/java-8-openjdk-amd64/src.zip
lrwxrwxrwx 1 root root 20 Nov  3 14:54 /usr/lib/jvm/java-8-openjdk-amd64/src.zip -> ../openjdk-8/src.zip
me@my-machine:~# ls -lha /usr/lib/jvm/java-8-openjdk-amd64/../openjdk-8/src.zip
ls: cannot access '/usr/lib/jvm/java-8-openjdk-amd64/../openjdk-8/src.zip': No such file or directory
me@my-machine:~# aptitude search openjdk-8
p   openjdk-8-dbg               - Java runtime based on OpenJDK (debugging symbols)
p   openjdk-8-dbg:i386          - Java runtime based on OpenJDK (debugging symbols)
p   openjdk-8-demo              - Java runtime based on OpenJDK (demos and examples)
p   openjdk-8-demo:i386         - Java runtime based on OpenJDK (demos and examples)
p   openjdk-8-doc               - OpenJDK Development Kit (JDK) documentation
p   openjdk-8-jdk               - OpenJDK Development Kit (JDK)
p   openjdk-8-jdk:i386          - OpenJDK Development Kit (JDK)
i   openjdk-8-jdk-headless      - OpenJDK Development Kit (JDK) (headless)
p   openjdk-8-jdk-headless:i386 - OpenJDK Development Kit (JDK) (headless)
p   openjdk-8-jre               - OpenJDK Java runtime, using Hotspot JIT
p   openjdk-8-jre:i386          - OpenJDK Java runtime, using Hotspot JIT
i   openjdk-8-jre-headless      - OpenJDK Java runtime, using Hotspot JIT (headless)
p   openjdk-8-jre-headless:i386 - OpenJDK Java runtime, using Hotspot JIT (headless)
p   openjdk-8-jre-zero          - Alternative JVM for OpenJDK, using Zero/Shark
p   openjdk-8-jre-zero:i386     - Alternative JVM for OpenJDK, using Zero/Shark
p   openjdk-8-source            - OpenJDK Development Kit (JDK) source files
----- 8< -----

Thanks for fixing and KR!

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

Title:
  dangling symlink: /usr/lib/jvm/java-*-openjdk-amd64/src.zip

Status in openjdk-8 package in Ubuntu:
  Confirmed
Status in openjdk-lts package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  this is a dangling symlink:

  lrwxrwxrwx 1 root root 20 sept. 30 02:37 /usr/lib/jvm/java-8-openjdk-
  amd64/src.zip -> ../openjdk-8/src.zip

  when the openjdk-8-source package is not installed.  The symlink
  should probably be moved to this other package.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: openjdk-8-jdk-headless 8u144-b01-2
  Uname: Linux 4.13.6-041306-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Fri Oct 13 14:18:22 2017
  EcryptfsInUse: Yes
  SourcePackage: openjdk-8
  UpgradeStatus: Upgraded to artful on 2017-09-29 (14 days ago)

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



References