It's perhaps also worth noting that dpkg has a --force-overwrite
option, which would allow you to have the older J installed and have
the newer J package only overwrite the files that it replaces.

This is not the ideal approach, but might help you move forward with
the existing packages?

Thanks,

-- 
Raul

On Sun, May 3, 2020 at 12:20 PM Bill Harris <[email protected]> wrote:
>
> I tried to install J9.01 over J8.07 on Debian Stretch following the Debian
> instructions, and I got
>
> root@here:/home/me/bin# dpkg -i j901_amd64.deb
> > (Reading database ... 366466 files and directories currently installed.)
> > Preparing to unpack j901_amd64.deb ...
> > Unpacking jlang (9.01) over (8.07) ...
> > dpkg: warning: unable to delete old directory
> > '/usr/share/j/8.07/addons/ide': Directory not empty
> > dpkg: warning: unable to delete old directory '/usr/share/j/8.07/addons':
> > Directory not empty
> > dpkg: warning: unable to delete old directory '/usr/share/j/8.07':
> > Directory not empty
> > Setting up jlang (9.01) ...
> > root@ here:/home/me/bin#  exit
> > exit
>
>
> So you can't install in parallel anymore, it seems.
>
> I quit an open jqt 8.07 session, tried again, and it seemed to work.
>  ijconsole must be using a previous alias, and it works:
>
> ~/bin$ ijconsole
>    9!:14 ''
> j901/j64/linux/release-c/commercial/www.jsoftware.com/2020-01-11T10:39:00
>
> Then I followed the instructions to install all addons.  At the end, it
> said,
>
> Done.
> Addons are up to date.
> Restart J to get the latest version of the base library.
>    exit''
> root@here:/home/me/bin# ijconsole
>    9!:14''
> j901/j64/linux/release-c/commercial/www.jsoftware.com/2020-01-11T10:39:00
>    install 'base'
> Updating server catalog...
>
>    exit''
>
> Then i tried jqt:
>
> ~/bin$ jqt
> Load library libj.so.8.07 failed.
> me@here:~/bin$ ls -l /usr/bin/jqt
> lrwxrwxrwx 1 root root 21 May  7  2019 /usr/bin/jqt -> /etc/alternatives/jqt
> me@here:~/bin$ ls -l /etc/alternatives/jqt
> lrwxrwxrwx 1 root root 17 May  7  2019 /etc/alternatives/jqt ->
> /usr/bin/jqt-8.07
>
> I'm not familiar with the /etc/alternatives hierarchy nor who writes to it
> (except 8.07 apparently did and 9.01 may not have).
>
> Any tips from this point?
>
> Thanks,
>
> Bill
>
> PS: I also tried jhs according to
> https://code.jsoftware.com/wiki/Guides/JHS/Install:
>
> ~/bin$ jhs
> bash: jhs: command not found
>
> Perhaps these problems are related?
> --
> Bill Harris
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to