← Back to team overview

openjdk team mailing list archive

[Bug 1992449] [NEW] package ca-certificates-java 20190909 failed to install/upgrade: installed ca-certificates-java package post-installation script

 

Public bug reported:

root@ubuntu:/# apt-get install -y $(basename iso-tree/pool/stratus/s/sm)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  sm
0 upgraded, 1 newly installed, 0 to remove and 79 not upgraded.
3 not fully installed or removed.
Need to get 0 B/55.4 MB of archives.
After this operation, 62.6 MB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "POSIX",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
E: Unlocking the slave of master fd 38 failed! - unlockpt (22: Invalid argument)
Selecting previously unselected package sm.
(Reading database ... 39319 files and directories currently installed.)
Preparing to unpack .../archives/sm_8.0.0.0-7_all.deb ...
Pre install script........
Unpacking sm (8.0.0.0-7) ...
Setting up openjdk-17-jre-headless:amd64 (17.0.4+8-1~22.04) ...
the java command requires a mounted proc fs (/proc).
dpkg: error processing package openjdk-17-jre-headless:amd64 (--configure):
 installed openjdk-17-jre-headless:amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of ca-certificates-java:
 ca-certificates-java depends on default-jre-headless | java8-runtime-headless; however:
  Package default-jre-headless is not installed.
  Package java8-runtime-headless is not installed.
  Package openjdk-17-jre-headless:amd64 which provides java8-runtime-headless is not configured yet.

dpkg: error processing package ca-certificates-java (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of openjdk-17-jre:amd64:
 openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.4+8-1~22.04); however:
  Package openjdk-17-jre-headless:amd64 is not configured yet.

dpkg: error processing package openjdk-17-jre:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sm:
 sm depends on openjdk-17-jre | openjdk-17-jre-headless; however:
  Package openjdk-17-jre:amd64 is not configured yet.
  Package openjdk-17-jre-headless:amd64 is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing package sm (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 openjdk-17-jre-headless:amd64
 ca-certificates-java
 openjdk-17-jre:amd64
 sm
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@gtr14:/#

$ dpkg-deb -f sm_8.0.0.0-7_all.deb
Package: sm
Version: 8.0.0.0-7
Architecture: all
Maintainer: Bermuda Ltd.
Installed-Size: 61163
Depends: openjdk-17-jre | openjdk-17-jre-headless
Section: base
Priority: extra
Description: SuperNova System Management Control Daemon
dkumar@gtr14:/sandbox/sandbox1/dkumar/incorporate-packages/unity-stratus/kit/archive/pool/main$ ls
certificates-java.deb  sm_8.0.0.0-7_all.deb

Facing the above post-installation error while installing the debian
package.

The mentioned package (sm_8.0.0.0-7_all.deb) has java dependency but
while installing the java facing the ca-certificate java issue as
mentioned above.

** Affects: ca-certificates-java (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  root@ubuntu:/# apt-get install -y $(basename iso-tree/pool/stratus/s/sm)
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following NEW packages will be installed:
-   sm
+   sm
  0 upgraded, 1 newly installed, 0 to remove and 79 not upgraded.
  3 not fully installed or removed.
  Need to get 0 B/55.4 MB of archives.
  After this operation, 62.6 MB of additional disk space will be used.
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
-         LANGUAGE = (unset),
-         LC_ALL = (unset),
-         LC_COLLATE = "POSIX",
-         LANG = "en_US.UTF-8"
-     are supported and installed on your system.
+         LANGUAGE = (unset),
+         LC_ALL = (unset),
+         LC_COLLATE = "POSIX",
+         LANG = "en_US.UTF-8"
+     are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  debconf: delaying package configuration, since apt-utils is not installed
  E: Unlocking the slave of master fd 38 failed! - unlockpt (22: Invalid argument)
  Selecting previously unselected package sm.
  (Reading database ... 39319 files and directories currently installed.)
  Preparing to unpack .../archives/sm_8.0.0.0-7_all.deb ...
  Pre install script........
  Unpacking sm (8.0.0.0-7) ...
  Setting up openjdk-17-jre-headless:amd64 (17.0.4+8-1~22.04) ...
  the java command requires a mounted proc fs (/proc).
  dpkg: error processing package openjdk-17-jre-headless:amd64 (--configure):
-  installed openjdk-17-jre-headless:amd64 package post-installation script subprocess returned error exit status 1
+  installed openjdk-17-jre-headless:amd64 package post-installation script subprocess returned error exit status 1
  dpkg: dependency problems prevent configuration of ca-certificates-java:
-  ca-certificates-java depends on default-jre-headless | java8-runtime-headless; however:
-   Package default-jre-headless is not installed.
-   Package java8-runtime-headless is not installed.
-   Package openjdk-17-jre-headless:amd64 which provides java8-runtime-headless is not configured yet.
+  ca-certificates-java depends on default-jre-headless | java8-runtime-headless; however:
+   Package default-jre-headless is not installed.
+   Package java8-runtime-headless is not installed.
+   Package openjdk-17-jre-headless:amd64 which provides java8-runtime-headless is not configured yet.
  
  dpkg: error processing package ca-certificates-java (--configure):
-  dependency problems - leaving unconfigured
+  dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
  dpkg: dependency problems prevent configuration of openjdk-17-jre:amd64:
-  openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.4+8-1~22.04); however:
-   Package openjdk-17-jre-headless:amd64 is not configured yet.
+  openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.4+8-1~22.04); however:
+   Package openjdk-17-jre-headless:amd64 is not configured yet.
  
  dpkg: error processing package openjdk-17-jre:amd64 (--configure):
-  dependency problems - leaving unconfigured
+  dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of sm:
-  sm depends on openjdk-17-jre | openjdk-17-jre-headless; however:
-   Package openjdk-17-jre:amd64 is not configured yet.
-   Package openjdk-17-jre-headless:amd64 is not configured yet.
+  sm depends on openjdk-17-jre | openjdk-17-jre-headless; however:
+   Package openjdk-17-jre:amd64 is not configured yet.
+   Package openjdk-17-jre-headless:amd64 is not configured yet.
  
  No apport report written because the error message indicates its a followup error from a previous failure.
  dpkg: error processing package sm (--configure):
-  dependency problems - leaving unconfigured
+  dependency problems - leaving unconfigured
  No apport report written because MaxReports is reached already
  Errors were encountered while processing:
-  openjdk-17-jre-headless:amd64
-  ca-certificates-java
-  openjdk-17-jre:amd64
-  sm
+  openjdk-17-jre-headless:amd64
+  ca-certificates-java
+  openjdk-17-jre:amd64
+  sm
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@gtr14:/#
- 
  
  $ dpkg-deb -f sm_8.0.0.0-7_all.deb
  Package: sm
  Version: 8.0.0.0-7
  Architecture: all
- Maintainer: Stratus Technologies Bermuda Ltd.
+ Maintainer: Bermuda Ltd.
  Installed-Size: 61163
  Depends: openjdk-17-jre | openjdk-17-jre-headless
  Section: base
  Priority: extra
- Homepage: http://www.stratus.com/
  Description: SuperNova System Management Control Daemon
  dkumar@gtr14:/sandbox/sandbox1/dkumar/incorporate-packages/unity-stratus/kit/archive/pool/main$ ls
  certificates-java.deb  sm_8.0.0.0-7_all.deb
  
  Facing the above post-installation error while installing the debian
  package.
  
  The mentioned package (sm_8.0.0.0-7_all.deb) has java dependency but
  while installing the java facing the ca-certificate java issue as
  mentioned above.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/1992449

Title:
  package ca-certificates-java 20190909 failed to install/upgrade:
  installed ca-certificates-java package post-installation script

Status in ca-certificates-java package in Ubuntu:
  New

Bug description:
  root@ubuntu:/# apt-get install -y $(basename iso-tree/pool/stratus/s/sm)
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following NEW packages will be installed:
    sm
  0 upgraded, 1 newly installed, 0 to remove and 79 not upgraded.
  3 not fully installed or removed.
  Need to get 0 B/55.4 MB of archives.
  After this operation, 62.6 MB of additional disk space will be used.
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
          LANGUAGE = (unset),
          LC_ALL = (unset),
          LC_COLLATE = "POSIX",
          LANG = "en_US.UTF-8"
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  debconf: delaying package configuration, since apt-utils is not installed
  E: Unlocking the slave of master fd 38 failed! - unlockpt (22: Invalid argument)
  Selecting previously unselected package sm.
  (Reading database ... 39319 files and directories currently installed.)
  Preparing to unpack .../archives/sm_8.0.0.0-7_all.deb ...
  Pre install script........
  Unpacking sm (8.0.0.0-7) ...
  Setting up openjdk-17-jre-headless:amd64 (17.0.4+8-1~22.04) ...
  the java command requires a mounted proc fs (/proc).
  dpkg: error processing package openjdk-17-jre-headless:amd64 (--configure):
   installed openjdk-17-jre-headless:amd64 package post-installation script subprocess returned error exit status 1
  dpkg: dependency problems prevent configuration of ca-certificates-java:
   ca-certificates-java depends on default-jre-headless | java8-runtime-headless; however:
    Package default-jre-headless is not installed.
    Package java8-runtime-headless is not installed.
    Package openjdk-17-jre-headless:amd64 which provides java8-runtime-headless is not configured yet.

  dpkg: error processing package ca-certificates-java (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
  dpkg: dependency problems prevent configuration of openjdk-17-jre:amd64:
   openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.4+8-1~22.04); however:
    Package openjdk-17-jre-headless:amd64 is not configured yet.

  dpkg: error processing package openjdk-17-jre:amd64 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of sm:
   sm depends on openjdk-17-jre | openjdk-17-jre-headless; however:
    Package openjdk-17-jre:amd64 is not configured yet.
    Package openjdk-17-jre-headless:amd64 is not configured yet.

  No apport report written because the error message indicates its a followup error from a previous failure.
  dpkg: error processing package sm (--configure):
   dependency problems - leaving unconfigured
  No apport report written because MaxReports is reached already
  Errors were encountered while processing:
   openjdk-17-jre-headless:amd64
   ca-certificates-java
   openjdk-17-jre:amd64
   sm
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root@gtr14:/#

  $ dpkg-deb -f sm_8.0.0.0-7_all.deb
  Package: sm
  Version: 8.0.0.0-7
  Architecture: all
  Maintainer: Bermuda Ltd.
  Installed-Size: 61163
  Depends: openjdk-17-jre | openjdk-17-jre-headless
  Section: base
  Priority: extra
  Description: SuperNova System Management Control Daemon
  dkumar@gtr14:/sandbox/sandbox1/dkumar/incorporate-packages/unity-stratus/kit/archive/pool/main$ ls
  certificates-java.deb  sm_8.0.0.0-7_all.deb

  Facing the above post-installation error while installing the debian
  package.

  The mentioned package (sm_8.0.0.0-7_all.deb) has java dependency but
  while installing the java facing the ca-certificate java issue as
  mentioned above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1992449/+subscriptions



Follow ups