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

Linux

47342 readers
1322 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.

top 5 comments
sorted by: hot top controversial new old
[–] pnutzh4x0r@lemmy.ndlug.org 10 points 1 year ago

Seems like dpkg failed in configuring things in a previous update? Perhaps it was interrupted. You can try to run the configuration process again with:

sudo dpkg --configure -a

See if that helps.

[–] 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?

[–] waspentalive@lemmy.one 5 points 1 year ago

Thanks for all your suggestions! I uninstalled ca-certificates-java and minecraft-launcher , and when I did that the others were removed also. then I re-installed the Minecraft.deb that I had downloaded from Mojang's site and now Minecraft is working. Next, I will investigate Geogebra.

[–] planish@sh.itjust.works 1 points 1 year ago

Actually I think this might be https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023748 and you might be able to get around it by having an older Java installed or set as the main one when installing the CA certificates package.

[–] waspentalive@lemmy.one 1 points 1 year ago

After an install - Geogeba now works too.