MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.8k stars 494 forks source link

[FAILED] DietPi-Software | APT install openjdk-8-jre-headless #6919

Open maartenlangeveld opened 7 months ago

maartenlangeveld commented 7 months ago

Details:

[ INFO ] DietPi-Software | APT install openjdk-8-jre-headless, please wait... Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ca-certificates-java : Breaks: openjdk-8-jre-headless (< 8u382~b04-2~) but 8u312-b07-1+rpi1 is to be installed E: Unable to correct problems, you have held broken packages. [FAILED] DietPi-Software | APT install openjdk-8-jre-headless


Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ca-certificates-java : Breaks: openjdk-8-jre-headless (< 8u382~b04-2~) but 8u312-b07-1+rpi1 is to be installed E: Unable to correct problems, you have held broken packages.

MichaIng commented 7 months ago

Many thanks for reporting. Looks like an inconsistency in the Raspbian repository, where ca-certificates-java and openjdk-8-jre-headless versions do not match.

MichaIng commented 7 months ago

Indeed it is: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/main/binary-armhf/Packages.xz

Package: ca-certificates-java
Version: 20230710~deb12u1
Installed-Size: 43
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: ca-certificates (>= 20210120)
Breaks: ..., openjdk-8-jre-headless (<< 8u382~b04-2~)
...
Package: openjdk-8-jre-headless
Source: openjdk-8
Version: 8u312-b07-1+rpi1

This fits to the issue I reported regarding such inconsistencies in the Trixie/testing suite: https://bugs.launchpad.net/raspbian/+bug/2052306 I however do not remember that such ever happened on the stable suite as well 🤔.

maartenlangeveld commented 6 months ago

@MichaIng Have you any idea if Raspbian team will solve this? Do they care?

MichaIng commented 6 months ago

They do care in general, but the maintainers are also just volunteers, hence time is limited and tasks are a lot.

But I should probably make an own bug report from this, as I just mentioned it within a linked one.

maartenlangeveld commented 6 months ago

Hi @MichaIng ,

Thanks, good you remind me that they are volunteers. You are absolutely right, good to realise (again) we are lucky with people like you and Raspbian volunteers that offer us so much !! Sometimes I'm a bit impatient. Forgive me.

GeoffState commented 5 months ago

Just a bump. Issue still outstanding. Regards to All

Joulinar commented 5 months ago

If I understood correctly, issue is with Raspbian repository and not with DietPi.

GeoffState commented 5 months ago

Thanks, not a bother for me. Best Regards Geoff

On Fri, Apr 5, 2024 at 8:21 PM Joulinar @.***> wrote:

If I understood correctly, issue is with Raspbian repository and not with DietPi.

— Reply to this email directly, view it on GitHub https://github.com/MichaIng/DietPi/issues/6919#issuecomment-2039127688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJDGBEUAXYFZK7GJW4I3Y3ZGJLAVCNFSM6AAAAABDNSG7PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGEZDONRYHA . You are receiving this because you commented.Message ID: @.***>