from DpkgTerminalLog.txt:
Preparing to unpack .../00-mariadb-server-10.6_1%3a10.6.7-2ubuntu1_amd64.deb ... /var/lib/mysql: found previous version 8.0
This is mariadb refusing to install over MySQL-8.0. It can't auto-upgrade from MySQL-8.0 so it gracefully fails rather than destroying your data.
from DpkgTerminalLog .txt:
Preparing to unpack .../00- mariadb- server- 10.6_1% 3a10.6. 7-2ubuntu1_ amd64.deb ...
/var/lib/mysql: found previous version 8.0
This is mariadb refusing to install over MySQL-8.0. It can't auto-upgrade from MySQL-8.0 so it gracefully fails rather than destroying your data.