I have a fragment which has been made obsolete, and I would like to create an update which uninstalls the fragment. I guessed that the right way would be to treat the fragment as a bundle, so I added the following to my p2.inf of the plugin containing installer actions:
instructions.install = \
uninstallBundle(bundle:com.iar.cdt.arm.debugger.drivers.win32); \
uninstallBundle(bundle:com.iar.ide.debugger.kernel.win32)
instructions.install.import \
org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle
But just as the installation is about to complete, I get the following error:
An error occurred while installing the items
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.iar.installer.arm 0.12.0.v201110251455, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
No matching artifact found for: com.iar.cdt.arm.debugger.drivers.win32.
No matching artifact found for: com.iar.cdt.arm.debugger.drivers.win32.
Do I need to uninstall the entire hosting plugin?
Try this