Issue with installation. xwiki-tomcat9-common : Depends: tomcat9 but it cannot be installed

Hello Teams,

I am trying install xwiki on ubuntu-24.04 and faced issue with step:
“sudo apt install xwiki-tomcat9-common xwiki-tomcat9-mariadb -y”

error: "Some packages cannot be installed. Perhaps what you are asking is
is not feasible, or you are using an unstable version of the distribution, where
The packages you requested have not yet been created or have been removed from Incoming.
The following information may help you:

The following packages have unmet dependencies:
xwiki-tomcat9-common : Depends: tomcat9 but it cannot be installed
E: Unable to fix errors: you have fixed broken packages.

Could you help me?

P.S. the repository has been added. in cache there is string:
xwiki-tomcat9-common - XWiki is a free wiki software platform written in Java wi th a design emphasis
xwiki-tomcat9-mariadb - XWiki is a free wiki software platform written in Java w ith a design emphasis

Regards,
Evgeny

You might want to look at the first red box in https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/.