Announcement

Collapse
No announcement yet.

Raspberry Pi Trixie NXFilter autoupdate via script to 4.7.3.9 fails due to JDK dependency

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Raspberry Pi Trixie NXFilter autoupdate via script to 4.7.3.9 fails due to JDK dependency

    Hi,
    Raspberry Pi OS 64bit Trixie Kernel
    Code:
    ~ $ uname -r
    6.12.47+rpt-rpi-v8
    JDK 21 installed.
    Code:
    ~ $ java -version
    openjdk version "21.0.9" 2025-10-21
    OpenJDK Runtime Environment (build 21.0.9+10-Debian-1deb13u1)
    OpenJDK 64-Bit Server VM (build 21.0.9+10-Debian-1deb13u1, mixed mode, sharing)
    Running the NXfilter autoupdate script fails due to JDK dependency issue.

    Code:
    Unsatisfied dependencies:
    nxfilter : Depends: openjdk-11-jre-headless but it is not installable or
    openjdk-17-jre-headless but it is not installable
    Error: Unable to correct problems, you have held broken packages.
    Error: The following information from --solver 3.0 may provide additional context:
    Unable to satisfy dependencies. Reached two conflicting decisions:
    1. nxfilter:arm64=4.7.3.9 is selected as an upgrade
    2. nxfilter:arm64=4.7.3.9 Depends openjdk-11-jre-headless | openjdk-17-jre-headless
    but none of the choices are installable:
    [no choices]
    
    ### Starting NxFilter.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Looking at the Jesse repository, only JDK 21 and 25 available.
    Code:
    ~ $ apt list OpenJDK\*
    openjdk-21-dbg/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-dbg/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-demo/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-demo/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-doc/stable-security,stable-security 21.0.9+10-1~deb13u1 all
    openjdk-21-jdk-headless/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-jdk-headless/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-jdk/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-jdk/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-jre-headless/stable-security,now 21.0.9+10-1~deb13u1 arm64 [installed,automatic]
    openjdk-21-jre-headless/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-jre-zero/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-jre-zero/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-jre/stable-security,now 21.0.9+10-1~deb13u1 arm64 [installed]
    openjdk-21-jre/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-21-source/stable-security,stable-security 21.0.9+10-1~deb13u1 all
    openjdk-21-testsupport/stable-security 21.0.9+10-1~deb13u1 arm64
    openjdk-21-testsupport/stable-security 21.0.9+10-1~deb13u1 armhf
    openjdk-25-dbg/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-dbg/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-demo/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-demo/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-doc/stable-security,stable-security 25.0.1+8-1~deb13u1 all
    openjdk-25-jdk-headless/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-jdk-headless/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-jdk/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-jdk/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-jre-headless/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-jre-headless/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-jre-zero/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-jre/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-jre/stable-security 25.0.1+8-1~deb13u1 armhf
    openjdk-25-source/stable-security,stable-security 25.0.1+8-1~deb13u1 all
    openjdk-25-testsupport/stable-security 25.0.1+8-1~deb13u1 arm64
    openjdk-25-testsupport/stable-security 25.0.1+8-1~deb13u1 armhf
    Last edited by Potemkin; 11-07-2025, 10:51 AM.

  • #2
    We will add 21 and 25 then. We will let you know after we add them.

    Comment


    • #3
      The DEB package has been recompiled. Try it again.

      Comment


      • #4
        Code:
        ### Trying to install NxFilter v4.7.3.9.
        Note, selecting 'nxfilter' instead of './nxfilter-4.7.3.9.deb'
        Solving dependencies... Error!
        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:
        
        Unsatisfied dependencies:
        nxfilter : Depends: openjdk-11-jre-headless but it is not installable or
        openjdk-17-jre-headless but it is not installable
        Error: Unable to correct problems, you have held broken packages.
        Error: The following information from --solver 3.0 may provide additional context:
        Unable to satisfy dependencies. Reached two conflicting decisions:
        1. nxfilter:arm64=4.7.3.9 is selected as an upgrade
        2. nxfilter:arm64=4.7.3.9 Depends openjdk-11-jre-headless | openjdk-17-jre-headless
        but none of the choices are installable:
        [no choices]

        Comment


        • #5
          Sorry. One of the files was not uploaded correctly. Try it again.

          Code:
           dpkg-deb -I nxfilter-4.7.3.9.deb
           new Debian package, version 2.0.
           size 60466452 bytes: control archive=608 bytes.
               295 bytes,     8 lines      control
               219 bytes,     9 lines   *  postinst             #!/bin/sh
                44 bytes,     3 lines   *  postrm               #!/bin/sh
               168 bytes,     6 lines   *  preinst              #!/bin/sh
                41 bytes,     3 lines   *  prerm                #!/bin/sh
           Package: nxfilter
           Version: 4.7.3.9
           Section: base
           Priority: optional
           Architecture: all
           Maintainer: Jahastech
           Description: NxFilter is a full featured DNS filter developed by Jahastech.
           Depends: openjdk-11-jre-headless | openjdk-17-jre-headless | openjdk-21-jre-headless | openjdk-25-jre-headless

          Comment


          • #6
            Thank you for your help. That seems to have fixed it.

            Comment

            Working...
            X