You cannot solve a depends for (freebsd i assume) with ubuntu. Freebsd is preferred because it is fully sourced (ubuntu has allot of "magic binaries"). Particularly with ubuntu if you install the version "you need" it will corrupt the whole system. (with freebsd you have the source, but it'd be too much un-paid work unless you are being paid to release mm on that platform?)
Each release of ubuntu or debian causes a cascade failure of many things which "they no longer support". Even if you install all the packages it wants the versions will be wrong. But those people do not honor compatibility - even the same version may have missing symbols.
Dependency is an address in memory LITERALLY: if it isn't there or if it's been moved or changed any software relying on it will fail (and they know that and control it for their quiet goals). Hundreds of millions of these you cannot just "fix it": you have to do what they demand (use certain brands) or leave. With freebsd you could wave a magic wand - excepting if hardware makers have locked you out with "depends", which also can happen and is moreso a lockout. And NO, it didn't used to be that way (it's a 2000's phenomenon).
Raspberry forums would be a better place to ask, but I assume your solution is to install the same OS for the previous Rasberry until there is news a newer freebsd supports it. Your problem from there is old freebsd may not have driver support for the new raspberry hardware (u r locked out), with flat denial as to why (having eons to arrange such a thing), and new drivers don't backport to older OS typically due to "shuffling of the deck", sir dice.
If Raspberry Forums do not know I'd say perhaps the store will take a "30 day return" and you can order the cheaper last version which works so much easier? I understand the Pi 4 is only $35 so getting a low cost laptop may not be an option your considering.
My best advice is do not spend allot of time unless your being paid or consider it as entertainment to be doing these things.