Hello. Yes, there is a way: during the boot process, if you press the space bar, or hold the Shift key, a boot menu will appear. On this menu, you can choose a previous state. You can get more information on this link:
Specific, on this part:
- Under Select boot volume you can specify what former “version” of Haiku to boot. Every time you un/install a package, the old state is saved and you can boot into it by choosing it from the list presented in the boot loader options.
So, if you encounter boot problems after installing some package, boot a Haiku state from before that time and uninstall the offending package. You can permanently revert to a specific Haiku revision as described in the topic SoftwareUpdater.
Hope this helps!