← Back to team overview

openjdk team mailing list archive

[Bug 2015379] Re: package openjdk-11-jre (not installed) failed to install/upgrade: unable to stat './usr/lib/jvm' (which I was about to install): Bad message

 

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

** Changed in: openjdk-lts (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2015379

Title:
  package openjdk-11-jre (not installed) failed to install/upgrade:
  unable to stat './usr/lib/jvm' (which I was about to install): Bad
  message

Status in openjdk-lts package in Ubuntu:
  Expired

Bug description:
  tobi@ubuntu:~/Desktop$ sudo apt install openjdk-11-jre-headless
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt --fix-broken install' to correct these.
  The following packages have unmet dependencies:
   default-jdk : Depends: openjdk-11-jdk but it is not going to be installed
   default-jdk-headless : Depends: default-jre-headless (= 2:1.11-72) but it is not going to be installed
                          Depends: openjdk-11-jdk-headless but it is not going to be installed
   default-jre : Depends: default-jre-headless (= 2:1.11-72) but it is not going to be installed
                 Depends: openjdk-11-jre but it is not going to be installed
  E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

  when i try running ths fix broken install, this is what i get::
  tobi@ubuntu:~/Desktop$ apt --fix-broken install
  E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: openjdk-11-jre (not installed)
  ProcVersionSignature: Ubuntu 5.4.0-144.161-generic 5.4.229
  Uname: Linux 5.4.0-144-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.25
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Wed Apr  5 16:00:13 2023
  ErrorMessage: unable to stat './usr/lib/jvm' (which I was about to install): Bad message
  InstallationDate: Installed on 2023-03-24 (11 days ago)
  InstallationMedia: Ubuntu-Server 20.04.6 LTS "Focal Fossa" - Release amd64 (20230314.1)
  Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3.2
   apt  2.0.9
  SourcePackage: openjdk-lts
  Title: package openjdk-11-jre (not installed) failed to install/upgrade: unable to stat './usr/lib/jvm' (which I was about to install): Bad message
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/2015379/+subscriptions



References