Upgrading from the Debian package

Last modified by Thomas Mortagne on 2025/02/05

  • Update packages index:
    sudo apt update
  • Package upgrade:
    sudo apt upgrade

    This will upgrade all packages, not just XWiki. If you want to avoid all the other packages and only update XWiki, you can use sudo apt install xwiki-tomcat9-mariadb (change xwiki-tomcat9-mariadb for the top level package you installed if you installed something else).

    Troubleshooting

    apt upgrade won't upgrade xwiki packages

    Sometimes (especially in case of new cycle), apt upgrade might report that it refuse to upgrade some xwiki packages.

    This is generally the sign that either:

    • a new dependency cannot be found: it generally means that XWiki starts requiring a more recent version of Java and the Debian repository you have don't have any implementation of this Java versions. See No package can be found for Java for more details on how to resolve this situation.
    • some xwiki package name changed: this generally happen when XWiki stops supporting some version of Tomcat and you need to install a different xwiki-tomcat* package (for example XWiki 17 does not support tomcat9 and requires the tomcat10 package)
  • Pages upgrade:

    However after upgrading you still need to install the new UI; see next step Upgrading the flavor below.

Get Connected