Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!bofh.it!news.nic.it!robomod From: Vladimir Petko Newsgroups: linux.debian.maint.java Subject: Re: ca-certificate-java/openjdk installation issues Date: Thu, 23 Feb 2023 04:00:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Thu Feb 23 02:58:49 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-9.401 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Gm-Message-State: AO0yUKWfJPz0IlkwaMCciTrIDyQinzxtPtE/j0vaGfoZGOARqCnFTruV mWHJbdi8B2a8z3IDKqUQMJlIXKJZ1XNOBtWRoAE6nJuXs2v9ftQhDonD5wzJQK/nSVxuU3y1Xzx ACBUl3hJ0lddvK4yAu/PMLcYfGbw9jvnnMPW4Ap0Xq4aPsCKnRCAg5jdwlHfKPsP17g== X-Received: by 2002:a62:4ec5:0:b0:5a8:e8f3:bf8e with SMTP id c188-20020a624ec5000000b005a8e8f3bf8emr1473614pfb.2.1677121103750; Wed, 22 Feb 2023 18:58:23 -0800 (PST) X-Google-SMTP-Source: AK7set84th1S5am8fmV1qYEfp12zSRS5pq6X+v5vBOD5YUphe+OftqAbMMkXhjlSMgolQwD+MN4TMO1csjbYm8ubC/U= X-Received: by 2002:a62:4ec5:0:b0:5a8:e8f3:bf8e with SMTP id c188-20020a624ec5000000b005a8e8f3bf8emr1473604pfb.2.1677121103317; Wed, 22 Feb 2023 18:58:23 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/23240 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CALFf3kf1CYK3VzzatSxBBTh=VyfZfogYoWp9o=gyxpySMB0aiw@mail.gmail.com Approved: robomod@news.nic.it Lines: 78 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-java@lists.debian.org X-Original-Date: Thu, 23 Feb 2023 15:58:12 +1300 X-Original-Message-ID: X-Original-References: <665f66a6-347d-18ce-457a-548d7fcd2c@tarent.de> <283b139-4276-227e-d17-f640b09f95d@tarent.de> Xref: csiph.com linux.debian.maint.java:12585 Hi, I have tried this approach[1] - switched to interest-wait in /usr/lib/jvm trigger, replaced `update_certs` in postinstall with a trigger invocation and tried to install libreoffice: Unpacking libreoffice-nlpsolver (0.9+LibO7.5.0~rc3-0ubuntu1) ... Setting up ca-certificates-java (20230103ubuntu1~ppa3) ... Setting up libreoffice (1:7.5.0~rc3-0ubuntu1) ... Processing triggers for libreoffice-common (1:7.5.0~rc3-0ubuntu1) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu4) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu3) ... Processing triggers for ca-certificates-java (20230103ubuntu1~ppa3) ... No JRE found. Skipping Java certificates setup. Setting up openjdk-17-jre-headless:amd64 (17.0.6+10-0ubuntu1) ... update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode Setting up default-jre-headless (2:1.17-74) ... Setting up openjdk-17-jre:amd64 (17.0.6+10-0ubuntu1) ... Setting up libreoffice-wiki-publisher (1.2.0+LibO7.5.0~rc3-0ubuntu1) ... Setting up libreoffice-nlpsolver (0.9+LibO7.5.0~rc3-0ubuntu1) ... Setting up default-jre (2:1.17-74) ... Setting up libreoffice-script-provider-bsh (1:7.5.0~rc3-0ubuntu1) ... Setting up libreoffice-script-provider-js (1:7.5.0~rc3-0ubuntu1) ... Notice that ca-certificates-java attempts to process triggers before default-jre is set up. This is exactly the condition we are trying to avoid. Best Regards, Vladimir. [1] https://launchpad.net/~vpa1977/+archive/ubuntu/ca-certificates-lowtech On Wed, Feb 22, 2023 at 11:51 AM Thorsten Glaser wrote= : > > On Wed, 22 Feb 2023, Vladimir Petko wrote: > > >The existing trigger "interest /usr/lib/jvm" causes the import to run > > Unsure, I only used triggers once, a decade ago or so myself, > but isn=E2=80=99t this what the interest-await trigger method is for? > > bye, > //mirabilos > -- > Infrastrukturexperte =E2=80=A2 tarent solutions GmbH > Am Dickobskreuz 10, D-53121 Bonn =E2=80=A2 http://www.tarent.de/ > Telephon +49 228 54881-393 =E2=80=A2 Fax: +49 228 54881-235 > HRB AG Bonn 5168 =E2=80=A2 USt-ID (VAT): DE122264941 > Gesch=C3=A4ftsf=C3=BChrer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, A= lexander Steeg > > *************************************************= *** > /=E2=81=80\ The UTF-8 Ribbon > =E2=95=B2 =E2=95=B1 Campaign against Mit dem tarent-Newsletter nicht= s mehr verpassen: > =E2=95=B3 HTML eMail! Also, https://www.tarent.de/newsletter > =E2=95=B1 =E2=95=B2 header encryption! > *************************************************= ***