In my case these days, I have two things I would do to take a poke at
this in hopes something obvious presents itself:
$ apt-cache policy openjdk-9
I might even try the much busier "apt-cache policy openjdk-*" to see if anything else is lingering. My setup throws an "unable to locate
package" advisement for 9.
The second thing that I would try is:
$ apt-get autoremove -s openjdk-9
Rationale there is to see if it's still an active dependency that tries
to also remove other important packages or if it's just an oddly
dangling residual. My current JRE 21 wanted to take some pieces of libreoffice with it when I "-s" symbolically autoemoved my installed JRE package.
I have an oddly dangling package that YOU just helped me FINALLY solve: linux-image/linux-headers and friends for 6.9.10 also on a Trixie
partition that's a couple years old.
Setting up openjdk-17-jre-headless:amd64 (17.0.14+7-1) ...
update-binfmts: warning: current package is openjdk-21, but binary format already installed by openjdk-9
On Wed Jan 29, 2025 at 10:52 AM GMT, songbird wrote:
Setting up openjdk-17-jre-headless:amd64 (17.0.14+7-1) ...
update-binfmts: warning: current package is openjdk-21, but binary format already installed by openjdk-9
What do you have in /usr/share/binfmts ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 155:37:36 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,848 |