Jetzt werden die beiden Links gar nicht mehr erzeugt:
Nach dem Upgrade:
asrock1> ls -l /usr/lib/jvm
lrwxrwxrwx 1 root root 12 Apr 14 12:25 default-java -> *-?-openjdk*
lrwxrwxrwx 1 root root 21 Sep 16 2020 java-1.11.0-openjdk-amd64 -> java-11-openjdk-amd64
drwxr-xr-x 1 root root 82 Apr 16 17:24 java-11-openjdk-amd64
lrwxrwxrwx 1 root root 12 Apr 14 12:25 open-java -> *-?-openjdk*
asrock1>
Händisches Entdernen der fehelrhaften Links und Neuinstallation:
asrock1> rm default-java
asrock1> rm open-java
asrock1> ls -l
lrwxrwxrwx 1 root root 21 Sep 16 2020 java-1.11.0-openjdk-amd64 -> java-11-openjdk-amd64
drwxr-xr-x 1 root root 82 Apr 16 17:24 java-11-openjdk-amd64
asrock1> apt-get install --reinstall openjava
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/283 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 17772 files and directories currently installed.)
Preparing to unpack .../openjava_11.0.7-3.3_amd64.deb ...
Unpacking openjava (11.0.7-3.3) over (11.0.7-3.3) ...
Setting up openjava (11.0.7-3.3) ...
asrock1> ls -l
lrwxrwxrwx 1 root root 21 Sep 16 2020 java-1.11.0-openjdk-amd64 -> java-11-openjdk-amd64
drwxr-xr-x 1 root root 82 Apr 16 17:26 java-11-openjdk-amd64
asrock1>
Das war aber nicht das Ziel, oder?
BobW