In Drupal9 , if a module has dependencies, you cant disable any of these dependencies using the UI – the checkbox to do that is disabled.
However, if a (custom) modules dependencies have updated, the dependant module does not automatically get enabled. You can also not enable it using the UI, because the checkbox is enabled.
What is the best way to update/reload a custom modules dependencies, so, that Drupal enables all the dependant modules ?