@dzidek23 Thank you as well, for mentioning the solution that worked for you!
This will certainly help others, too.
As some users will search specifically in our help section of this forum for tips/tricks/guidance, I took your case and added it to our help section: Problem: UCS Upgrade Failure from 5.1 to 5.2: `univention-dhcp` Package Error