• Re: debian testing, confusing message during upgrade openjdk-17-jre-hea

    From songbird@21:1/5 to Cindy Sue Causey on Thu Jan 30 06:40:01 2025
    Cindy Sue Causey wrote:
    ...
    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 don't have any openjdk-9 at all.

    i do have 17, 18 and 21... i also have another jdk that some
    other software requires but it is put into its own place and
    environment variables are set that point at it. all works as it
    should (it is also a jdk-17 variant and has nothing to do with
    9).


    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.

    :)

    glad to be of help even indirectly. :)

    i always make sure my system boots and doesn't give any
    obvious errors before removing the 3rd one back. i also
    have links to the current and previous version that get
    updated when the new kernel is installed. it all just
    works as it should as long as someone doesn't break it...


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to songbird on Thu Jan 30 10:40:01 2025
    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 ?

    --
    Please do not CC me for listmail.

    👱🏻 Jonathan Dowland
    jmtd@debian.org
    🔗 https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From songbird@21:1/5 to Jonathan Dowland on Thu Jan 30 14:00:01 2025
    Jonathan Dowland wrote:
    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 ?


    =====
    (3)$ /usr/share/binfmts$ ls
    total 12
    lrwxrwxrwx 1 root root 30 Jan 31 2018 jar -> /etc/alternatives/jexec-binfmt -rw-r--r-- 1 root root 74 Apr 10 2024 python3.11
    -rw-r--r-- 1 root root 74 Jan 11 04:42 python3.12
    -rw-r--r-- 1 root root 74 Jan 3 05:26 python3.13
    (4)$ /usr/share/binfmts$ cat /etc/alternatives/jexec-binfmt
    package openjdk-21
    interpreter /usr/bin/jexec
    magic PK\x03\x04

    (5)$ cat python3.13
    package python3.13
    interpreter /usr/bin/python3.13
    magic \xf3\x0d\x0d\x0a

    =====

    reinstalled openjdk-21 and binfmt-support, same message...


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)