package openjdk-11-jdk-headless:amd64 11.0.11+9-0ubuntu2~20.04 failed to install/upgrade: installed openjdk-11-jdk-headless:amd64 package post-installation script subprocess returned error exit status 2

Bug #1931144 reported by Gamer Tronky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-lts (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

it is written error code(1)

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openjdk-11-jdk-headless:amd64 11.0.11+9-0ubuntu2~20.04
ProcVersionSignature: Ubuntu 5.8.0-53.60~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
AptOrdering:
 openjdk-11-jdk-headless:amd64: Install
 default-jdk-headless:amd64: Install
 openjdk-11-jdk:amd64: Install
 default-jdk:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Jun 7 17:50:55 2021
ErrorMessage: installed openjdk-11-jdk-headless:amd64 package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2021-05-17 (20 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.5
SourcePackage: openjdk-lts
Title: package openjdk-11-jdk-headless:amd64 11.0.11+9-0ubuntu2~20.04 failed to install/upgrade: installed openjdk-11-jdk-headless:amd64 package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gamer Tronky (gamertronky) wrote :
affects: ubuntu → openjdk-lts (Ubuntu)
Revision history for this message
Matthias Klose (doko) wrote :

Preparing to unpack .../default-jdk_2%3a1.11-72_amd64.deb ...
Unpacking default-jdk (2:1.11-72) ...
Setting up openjdk-11-jdk-headless:amd64 (11.0.11+9-0ubuntu2~20.04) ...
update-alternatives: error: cannot stat file '/bin/java': Too many levels of symbolic links
dpkg: error processing package openjdk-11-jdk-headless:amd64 (--configure):
 installed openjdk-11-jdk-headless:amd64 package post-installation script subprocess returned error exit status 2

this looks like a hosed /bin/java symlink. which other alternatives are installed, manually or via packages?

Changed in openjdk-lts (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-lts (Ubuntu) because there has been no activity for 60 days.]

Changed in openjdk-lts (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.