this post was submitted on 04 Aug 2023
20 points (100.0% liked)

Linux

48092 readers
899 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

(Solved) Apt seems to have gotten jammed somehow

dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess returned error exit status 1
Setting up libwxbase3.2-1:amd64 (3.2.2+dfsg-2) ...
dpkg: dependency problems prevent configuration of openjdk-17-jre-headless:amd64:
 openjdk-17-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); however:
  Package ca-certificates-java is not configured yet.

dpkg: error processing package openjdk-17-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libwxgtk3.2-1:amd64 (3.2.2+dfsg-2) ...
dpkg: dependency problems prevent configuration of openjdk-17-jre:amd64:
 openjdk-17-jre:amd64 depends on openjdk-17-jre-headless (= 17.0.8+7-1~deb12u1); 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 default-jre:
 default-jre depends on openjdk-17-jre; however:
  Package openjdk-17-jre:amd64 is not configured yet.

dpkg: error processing package default-jre (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of minecraft-launcher:
 minecraft-launcher depends on default-jre; however:
  Package default-jre is not configured yet.

dpkg: error processing package minecraft-launcher (--configure):
 dependency problems - leaving unconfigured
Setting up filezilla (3.63.0-1) ...
dpkg: dependency problems prevent configuration of geogebra:
 geogebra depends on default-jre | java7-runtime | java8-runtime | java9-runtime | java10-runtime | java11-runtime; however:
  Package default-jre is not configured yet.
  Package java7-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java7-runtime is not configured yet.
  Package default-jre which provides java7-runtime is not configured yet.
  Package java8-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java8-runtime is not configured yet.
  Package default-jre which provides java8-runtime is not configured yet.
  Package java9-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java9-runtime is not configured yet.
  Package default-jre which provides java9-runtime is not configured yet.
  Package java10-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java10-runtime is not configured yet.
  Package default-jre which provides java10-runtime is not configured yet.
  Package java11-runtime is not installed.
  Package openjdk-17-jre:amd64 which provides java11-runtime is not configured yet.
  Package default-jre which provides java11-runtime is not configured yet.

dpkg: error processing package geogebra (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
Errors were encountered while processing:
 ca-certificates-java
 openjdk-17-jre-headless:amd64
 openjdk-17-jre:amd64
 default-jre
 minecraft-launcher
 geogebra

What must I do to unjam things?

I have tried many suggestions from various websites but they don't work because it looks like there is some sort of circular dependency going on here.

you are viewing a single comment's thread
view the rest of the comments
[–] planish@sh.itjust.works 8 points 1 year ago

Your root problem is:

dpkg: error processing package ca-certificates-java (--configure):
 installed ca-certificates-java package post-installation script subprocess returned error exit status 1

It can't finish installing ca-certificates-java because the script that is supposed to set it up isn't working. So it also can't finish installing anything that depends on it, since it doesn't want to run their scripts until ca-certificates-java is installed properly.

Maybe uninstall ca-certificates-java and what depends on it, and then reinstall it alone, and see if you can get a message about why exactly its script is failing?