Last modified by Thomas Mortagne on 2025/02/05

Hide last authors
Vincent Massol 2.1 1 * Update packages index:(((
Vincent Massol 1.1 2 {{code language="bash"}}
Thomas Mortagne 3.1 3 sudo apt update
Vincent Massol 1.1 4 {{/code}}
5 )))
Vincent Massol 2.1 6 * Package upgrade:(((
Vincent Massol 1.1 7 {{code language="bash"}}
Thomas Mortagne 3.1 8 sudo apt upgrade
Vincent Massol 1.1 9 {{/code}}
10
Thomas Mortagne 4.1 11 This will upgrade all packages, not just XWiki. If you want to avoid all the other packages and only update XWiki, you can use {{code}}sudo apt install xwiki-tomcat9-mariadb{{/code}} (change ##xwiki-tomcat9-mariadb## for the top level package you installed if you installed something else).
Vincent Massol 1.1 12
Thomas Mortagne 4.5 13 ==== Troubleshooting
Thomas Mortagne 4.2 14
Thomas Mortagne 4.5 15 ===== apt upgrade won't upgrade xwiki packages
Thomas Mortagne 4.2 16
17 Sometimes (especially in case of new cycle), apt upgrade might report that it refuse to upgrade some xwiki packages.
18
19 This is generally the sign that either:
Thomas Mortagne 4.3 20 * 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>>Documentation.AdminGuide.Installation.InstallationViaAPT||anchor="HNopackagecanbefoundforJava"]] for more details on how to resolve this situation.
Thomas Mortagne 4.2 21 * 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)
Vincent Massol 1.1 22 )))
Vincent Massol 2.1 23 * Pages upgrade:(((
Vincent Massol 1.1 24 However after upgrading you still need to install the new UI; see next step [[Upgrading the flavor>>.||anchor="HPart2Upgradingtheflavor"]] below.
25 )))

Get Connected