← Back to team overview

openjdk team mailing list archive

Bug#554209: openjdk-6-jre-headless: usr-share-doc-symlink-without-dependency openjdk-6-jre


Package: openjdk-6-jre-headless
Version: 6b16-1.6.1-2
Severity: serious
User: lintian-maint@xxxxxxxxxx
Usertags: usr-share-doc-symlink-without-dependency

If the package installs a symbolic link /usr/share/doc/pkg1 -> pkg2,
then pkg1 has to depend on pkg2 with the same version as pkg1.

Note, that adding the "Depends:" entry just to fix this bug is not a
good solution. It's suggested that you include a real
/usr/share/doc/pkg1 directory within pkg1 and copy the copyright file
into that directory.  If the packages do not share source code, then
pkg1 should have its own copyright file (since the authors of pkg2 are
not to blame for pkg1). This bit covers meta packages as well.

Refer to Debian Policy Manual section 12.5 (Copyright information) for

,----[ 12.5 Copyright information ]
| Every package must be accompanied by a verbatim copy of its copyright
| and distribution license in the file
| /usr/share/doc/package/copyright. This file must neither be compressed
| nor be a symbolic link. `
| ...
| /usr/share/doc/package may be a symbolic link to another directory in
| /usr/share/doc only if the two packages both come from the same source
| and the first package Depends on the second. These rules are important
| because copyrights must be extractable by mechanical means.

This is a bug filed due to a lintian warning (see above). However,
this has also been checked manually, and thus there should be no false

Filed as serious since it is a violation of a must directive in
policy, and also since  a package with these flaws will
currently get this package rejected. See
for details. This means the package has been deemed too buggy to be in


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-6-jre-headless depends on:
ii  ca-certificates-java   20091021          Common CA certificates (JKS keysto
ii  dpkg                   Debian package management system
ii  java-common            0.33              Base of all Java packages
ii  libc6                  2.10.1-5          GNU C Library: Shared libraries
ii  libcups2               1.4.1-5           Common UNIX Printing System(tm) - 
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.2-1         GCC support library
ii  libjpeg62              6b-15             The Independent JPEG Group's JPEG 
ii  liblcms1               1.18.dfsg-1       Color management library
ii  libnss3-1d             3.12.4-1          Network Security Service libraries
ii  openjdk-6-jre-lib      6b16-1.6.1-2      OpenJDK Java runtime (architecture
ii  rhino                  1.7R2-2           JavaScript engine written in Java
ii  tzdata-java            2009p-1           time zone and daylight-saving time
ii  zlib1g                 1: compression library - runtime

Versions of packages openjdk-6-jre-headless recommends:
pn  icedtea-6-jre-cacao           <none>     (no description available)

Versions of packages openjdk-6-jre-headless suggests:
pn  libnss-mdns                   <none>     (no description available)
pn  sun-java6-fonts               <none>     (no description available)
pn  ttf-baekmuk | ttf-unfonts | t <none>     (no description available)
ii  ttf-dejavu-core               2.30-1     Vera font family derivate with add
ii  ttf-indic-fonts               1:0.5.6    Metapackage for free Indian langua
pn  ttf-kochi-gothic | ttf-sazana <none>     (no description available)
pn  ttf-kochi-mincho | ttf-sazana <none>     (no description available)
pn  ttf-wqy-zenhei                <none>     (no description available)

-- no debconf information