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
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-
ProcVersionSign
Uname: Linux 5.8.0-53-generic x86_64
ApportVersion: 2.20.11-
AptOrdering:
openjdk-
default-
openjdk-
default-jdk:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon Jun 7 17:50:55 2021
ErrorMessage: installed openjdk-
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
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.5
SourcePackage: openjdk-lts
Title: package openjdk-
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu → openjdk-lts (Ubuntu) |
Preparing to unpack .../default- jdk_2%3a1. 11-72_amd64. deb ... 11-jdk- headless: amd64 (11.0.11+ 9-0ubuntu2~ 20.04) ... alternatives: error: cannot stat file '/bin/java': Too many levels of symbolic links 11-jdk- headless: amd64 (--configure): 11-jdk- headless: amd64 package post-installation script subprocess returned error exit status 2
Unpacking default-jdk (2:1.11-72) ...
Setting up openjdk-
update-
[1mdpkg:[0m error processing package openjdk-
installed openjdk-
this looks like a hosed /bin/java symlink. which other alternatives are installed, manually or via packages?