XWiki 13.5 released

The XWiki development team is proud to announce the availability of XWiki 13.5.
The main focus of this release is stabilization. In addition, a new UI is now proposed to administrate the rights that are provided by extensions. On a final note, more Livetables are migrated to Live Data and a few improvements are proposed to developers.

You can download it here: https://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/13.5

Thanks for your support
-The XWiki dev team

1 Like

Hello Everyone,

I’m running XWiki on a tiny Ubunto 21.04 pc. With the release of XWiki 13.5, I’ve got a failure in the automatic APT updates. I’ve searched the internet trying to resolve the issue, but no success. It seems a problem with the way XWiki is packaged for installation no longer being compatible with the new version of Ubuntu DEB - APT.

Below is the log I’m getting when trying to update.

Thanks for the help.

Cheers,

Ismael


$ sudo apt --fix-broken install xwiki-pgsql-common xwiki-tomcat9-pgsql xwiki-tomcat9-common xwiki-common
[sudo] password for im:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
xwiki-pgsql-common is already the newest version (13.5).
xwiki-tomcat9-pgsql is already the newest version (13.5).
The following packages will be upgraded:
xwiki-common xwiki-tomcat9-common
2 to upgrade, 0 to newly install, 0 to remove and 12 not to upgrade.
5 not fully installed or removed.
Need to get 0 B/308 MB of archives.
After this operation, 886 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package ‘xwiki-tomcat9-common’ missing; assuming package has no files currently installed
dpkg: warning: files list file for package ‘xwiki-common’ missing; assuming package has no files currently installed
(Reading database … 261043 files and directories currently installed.)
Preparing to unpack …/xwiki-tomcat9-common_13.5_all.deb …
dpkg: error processing archive /var/cache/apt/archives/xwiki-tomcat9-common_13.5_all.deb (–unpack):
conffile name ‘etc/systemd/system/tomcat9.service.d/xwiki-tomcat9-systemd.conf’ is not an absolute pathname
Preparing to unpack …/xwiki-common_13.5_all.deb …
dpkg: error processing archive /var/cache/apt/archives/xwiki-common_13.5_all.deb (–unpack):
conffile name ‘etc/xwiki/cache/infinispan/config.xml’ is not an absolute pathname
Errors were encountered while processing:
/var/cache/apt/archives/xwiki-tomcat9-common_13.5_all.deb
/var/cache/apt/archives/xwiki-common_13.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I only tested the install on Debian Stretch (where it went fine) on my side, but you are right it definitely looks like dpkg is not a fan of how the entries are named in the .deb file. Either it’s a regression caused by https://jira.xwiki.org/browse/XWIKI-18721 (but the kind which one affects very recent version of dpkg) or something changed in very recent versions of dpkg and nobody noticed it before.

Would be great if you could create a BUG issue on https://jira.xwiki.org/projects/XWIKI with all the detail you can think of about your environment and I guess I will have to report it upstream to jdeb (whatever the root cause it must be in there somewhere). If you have time it would be great if you could also try to install the lts version of XWiki (there is a lts dedicated repository) which is using an older version of jdeb.

Someone else reported this problem on Ubuntu 21.04, so I created https://jira.xwiki.org/browse/XWIKI-18812. Need to do some experiments, I hope it’s not a regression in dpkg itself…