$ 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:
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)