I've been getting this error on installation and having found how to get it to work:
An error occurred while installing the items
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.yakindu.sct.generator.application.linux.feature_root 4.0.8.202109230948, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
The action chmod failed - file /snap/eclipse/48/scc does not exist
I've been using the update site.