On 25/09/2021 01.10, J Leslie Turriff wrote:
I want to remove jdk-16 and install jdk-17.
| ~ |● zypper se -i jdk-16 |Loading repository data... |Reading installed packages... | |S | Name | Summary | Type |---+------------+------------------------------------------------+-------- |i+ | jdk-16.0.1 | Java Platform Standard Edition Development Kit | package |@18:00:29,root@pinto rc=0 |~ |● zypper rm jdk-16.0.1 |Reading installed packages... |Resolving package dependencies... | |The following 4 packages are going to be REMOVED: | jdk-16.0.1 liblayout libreoffice-base pentaho-reporting-flow-engine
|4 packages to remove. |After the operation, 306.1 MiB will be freed. |Continue? [y/n/v/...? shows all options] (y): n |@18:00:35,root@pinto rc=4
Notice that (particularly) libreoffice-base will be removed. I want to keep that. zypper help rm says,
Don't remove jdk, libreoffice needs it. You can not remove jdk-16 and then install jdk-17, instead you have to upgrade jdk-16 to jdk-17 in one operation. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))