← Back to team overview

openjdk team mailing list archive

Bug#877679: Bug#877679: java-8-openjdk (version 8u141-b15-1~deb9u1) fails to install if /usr/share/man is not available

 

Hey,

On 07-10-17 02:41, Matthias Klose wrote:
Control: severity -1 wishlist

On 04.10.2017 11:52, Mattia Rizzolo wrote:
Control: reassign -1 openjdk-8-jre-headless 8u141-b15-1~deb9u1
Control: severity -1 serious

no. why?  Please don't exaggerate bug severities without looking at them.

On Tue, Oct 03, 2017 at 09:47:12PM +0200, Olliver Schinagl wrote:
Package: java-8-openjdk

Version 8u141-b15-1~deb9u1

Please use reportbug to report your bugs if you are unsure about the the
proper syntax: the package you mentioned doesn't exist, and the version
line lacks a column.

Severity: normal

failures to install are serious bugs.

no, not if the user choose to drop installation of manual pages, and the
infrastructure is broken not to handle creating symlinks for these cases. If you
want to help, please find an appropriate package and reassign.  We had these bug
reports before.

As mentioned in the report, I had the same issue with postgres, and the fix was implented within a day, so I'm guessing it was rather trivial.

Postgresql: Bug#866729

You are absolutly right that this is a result from a user desision, but mind you, when doing containers, it is often preferred to have them nice and lean, dropping man pages and documentation (while keeping the licenses of course) is very commonly done to minimize the container.

From the log below, which is is what brought me to this package name, I can't seem to figure out what other package would be the root cause? Do you have any suggestions where it should go?


Reassigning and leaving the rest of the message as a context for the
maintainer.

When setting up java-8-openjdk on a minimal debian (where I would have rm
-rf-ed /usr/share/man) the following snipped shows the failure error.

I have had a similar error with postgres which was fixed in Bug#866729

update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to
provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: error: error creating symbolic link
'/usr/share/man/man1/rmid.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure):
  subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of
openjdk-8-jdk-headless:amd64:
  openjdk-8-jdk-headless:amd64 depends on openjdk-8-jre-headless (=
8u141-b15-1~deb9u1); however:
   Package openjdk-8-jre-headless:amd64 is not configured yet.

Thank you,

Olliver



_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : openjdk@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp




References