Update from 9.4 enterprise to current

Hi,

right now I have an Ubuntu Server 16.04 running with xwiki 9.4 enterprise.
My plan is to do an xwiki update first to newest version and then set up a new server with current Ubuntu and migrate data from old to new server.

Regarding to the documentation I should run:

“sudo apt-get install xwiki-tomcat8-mysql”

Unfortunately I get this error:

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 (= 15.10.5) but it is not going to be installed
    Depends: xwiki-tomcat8-common (= 15.10.5) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

So my question is how could this error be solved or what would be the best process to update xwiki and OS.

Thank you in advance.

I would do the opposite of what you tried to do: first upgrade your system, and then upgrade XWiki. One problem with what you tried is that XWiki 14+ require Java 11, but I doubt there is an openjdk 11 package available for in Ubuntu 16.04 repo.

Thank you for the response.
I tried it the way you suggested.
First do an OS update and then update xwiki.
that worked for me.
So I have a current xwiki running now.
Thank you.

2 Likes