Install on Ubuntu 18.04

I attempted to follow the instructions to install XWIKI on Ubuntu that were located at the following URL - https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/

But when I issued the command - ‘sudo apt-get install xwiki-tomcat8-mysql’ (as per instructions)

I received the following errors:
Reading package lists… Done
Building dependency tree
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:

xwiki-tomcat8-mysql : Depends: xwiki-mysql-common (= 10.9) but it is not going to be installed

Depends: xwiki-tomcat8-common (= 10.9) but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

I ended up answering my own question. I needed to enable the universe and multiverse repositories.

Cool that you found the fix. Which package was requiring that ? MySQL ? So that we can add this info to https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/#HAPTConfiguration.

Actually it seems tomcat8 is on universe, never noticed that before. I guess universe is enabled by default.

1 Like