From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 23 Nov 2020 17:08:58 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20201123140858.GA8971@altlinux.org> References: <20201121160446.GA10955@altlinux.org> <20201121173109.GA11382@hydra.imath.kiev.ua> <20201121191339.GA12933@altlinux.org> <20201121195727.GA21110@hydra.imath.kiev.ua> <20201121215727.GA14810@altlinux.org> <20201123073359.GA3795@hydra.imath.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201123073359.GA3795@hydra.imath.kiev.ua> Subject: Re: [devel] =?koi8-r?b?69TPIMTPzNbFziDQ0s/XwcrEydTYICAvdXNyL2Jpbi9q?= =?koi8-r?b?anM/?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 14:08:58 -0000 Archived-At: List-Archive: List-Post: On Mon, Nov 23, 2020 at 09:33:59AM +0200, Igor Vlasenko wrote: > On Sun, Nov 22, 2020 at 12:57:27AM +0300, Dmitry V. Levin wrote: > > On Sat, Nov 21, 2020 at 09:57:27PM +0200, Igor Vlasenko wrote: > > > On Sat, Nov 21, 2020 at 10:13:39PM +0300, Dmitry V. Levin wrote: > > > > Только альтернатив у /usr/bin/jjs вроде и нет никаких. > > > У меня на машине есть. > > Но в Сизифе нет ни одной, если я не ошибаюсь. > > > > пользования, и альтернатива там нужна. > > Если нужна, то её нужно сделать. > > Гм. что-то я не понимаю, поэтому напомню, что > 1) /usr/bin/jjs - существующая альтернатива > 2) предоставляется в Сизифе > /usr/lib/jvm/java-10-openjdk-10.0.2.13-7.x86_64/bin/jjs > /usr/lib/jvm/java-11-openjdk-11.0.9.7-0.0.ea.x86_64/bin/jjs > /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.x86_64/jre/bin/jjs > /usr/lib/jvm/java-9-openjdk-9.0.4.11-6.x86_64/bin/jjs Есть другая информация: $ hsh-install java-11-openjdk-headless java-10-openjdk-headless java-9-openjdk-headless [...] <13>Nov 23 14:00:04 rpmi: java-11-openjdk-headless-0:11.0.9.7-alt1_0.0.eajpp11 sisyphus+259318.100.1.3 1602002367 installed <13>Nov 23 14:00:08 rpmi: java-10-openjdk-headless-0:10.0.2.13-alt2_7jpp9 sisyphus+259328.100.1.1 1602008752 installed <13>Nov 23 14:00:12 rpmi: java-9-openjdk-headless-0:9.0.4.11-alt4_6jpp9 sisyphus+261340.100.1.1 1604892076 installed $ hsh-run -- rpmquery -alv 2>&1 |grep -F jjs -rw-r--r-- 1 root root 0 Oct 6 12:38 /usr/bin/jjs -rwxr-xr-x 1 root root 14648 Oct 6 12:38 /usr/lib/jvm/java-11-openjdk-11.0.9.7-0.0.ea.x86_64/bin/jjs -rw-r--r-- 1 root root 2417 Oct 6 12:38 /usr/share/man/man1/jjs-java-11-openjdk.1.gz -rwxr-xr-x 1 root root 14784 Nov 7 14:11 /usr/lib/jvm/java-9-openjdk-9.0.4.11-6.x86_64/bin/jjs -rw-r--r-- 1 root root 2416 Nov 7 14:11 /usr/share/man/man1/jjs-java-9-openjdk.1.gz -rwxr-xr-x 1 root root 14784 Oct 6 15:27 /usr/lib/jvm/java-10-openjdk-10.0.2.13-7.x86_64/bin/jjs -rw-r--r-- 1 root root 2417 Oct 6 15:27 /usr/share/man/man1/jjs-java-10-openjdk.1.gz $ hsh-run -- ls -d /usr/bin/jjs ls: cannot access '/usr/bin/jjs': No such file or directory $ hsh-run -- grep -Fr jjs /etc/alternatives/ |wc -l 0 $ hsh-run -- find /etc/alternatives/packages.d/ -type f |sort /etc/alternatives/packages.d/cups /etc/alternatives/packages.d/java-10-openjdk-java-headless /etc/alternatives/packages.d/java-11-openjdk-java-headless /etc/alternatives/packages.d/java-9-openjdk-java-headless /etc/alternatives/packages.d/libnssckbi-nss /etc/alternatives/packages.d/libnssckbi-p11-kit $ git --git-dir=/srpms/j/java-10-openjdk.git grep -h -B1 bin/jjs @:java-openjdk.spec # https://bugzilla.redhat.com/show_bug.cgi?id=1312019 Provides: /usr/bin/jjs -- %{_jvmdir}/%{sdkdir}/bin/java %{_jvmdir}/%{sdkdir}/bin/jjs $ git --git-dir=/srpms/j/java-9-openjdk.git grep -h -B1 bin/jjs @:java-9-openjdk.spec #https://bugzilla.redhat.com/show_bug.cgi?id=1312019 Provides: /usr/bin/jjs -- %{_jvmdir}/%{sdkdir}/bin/java %{_jvmdir}/%{sdkdir}/bin/jjs -- ldv