MAAS isn’t installing because of some dependency issues.
ubuntu@test:~$ sudo apt install maas
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
bind9 : Depends: bind9-libs (= 1:9.18.12-0ubuntu0.22.04.3) but 1:9.18.18-0ubuntu0.22.04.1 is to be installed
Depends: bind9-utils (= 1:9.18.12-0ubuntu0.22.04.3) but it is not installable
maas-rack-controller : Depends: bind9utils
maas-region-api : Depends: bind9utils
E: Unable to correct problems, you have held broken packages.
ubuntu@test:~$
if this helps you to know, I’m running inside LXC Container image.
I did, I have
ubuntu@test:/etc/apt/sources.list.d$ cat maas-ubuntu-3_4-jammy.list
deb https://ppa.launchpadcontent.net/maas/3.4/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/maas/3.4/ubuntu/ jammy main
ubuntu@test:/etc/apt/sources.list.d$