package openjdk-14-jre-headless:amd64 14.0.1+7-1ubuntu1 failed to install/upgrade: »installiertes openjdk-14-jre-headless:amd64-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 2 zurück

Bug #1883431 reported by Sven Herrmann on 2020-06-14
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-14 (Ubuntu)
Undecided
Unassigned

Bug Description

.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openjdk-14-jre-headless:amd64 14.0.1+7-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
AptOrdering:
 openjdk-14-jre-headless:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun Jun 14 15:13:17 2020
ErrorMessage: »installiertes openjdk-14-jre-headless:amd64-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 2 zurück
InstallationDate: Installed on 2020-05-30 (14 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: openjdk-14
Title: package openjdk-14-jre-headless:amd64 14.0.1+7-1ubuntu1 failed to install/upgrade: »installiertes openjdk-14-jre-headless:amd64-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 2 zurück
UpgradeStatus: No upgrade log present (probably fresh install)

Sven Herrmann (rayder99) wrote :
Balint Harmath (bharmath) wrote :

For your convenience - and for those not speaking German - the error message means the following.
ErrorMessage: "»installed openjdk-14-jre-headless:amd64-Script in the package at post-installation«-subprocess returned with value 2.

Balint Harmath (bharmath) wrote :

I happen to have amd64 arch, but could not reproduce the bug typing 'sudo apt install openjdk-14-jre-headless'.
From the DpkgHistoryLog.txt it seems to me that this command was used.

However - from the DpkgTerminalLog.txt - it seems to me as though an other /bin/java executable or symbolic link had been installed previously. The problem may be that the openjdk package would like to use the same path.

Then it is an openjdk-14-jre-headless package issue.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-14 (Ubuntu):
status: New → Confirmed

Every time I install something new or I update something, apt trys to run the post install script of openjdk-14-jre-headless again and the error pops up every time.
That is annoying.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers