Univention Bugzilla – Dependency Graph for bug 40489
Uninstalling "Active Directory compatible Domain controller" should also demote/purge the DC
Green circles represent open bugs.