During upgrade of XWiki Enterprise from version 4.0 to 4.1 via apt-get on Ubuntu Lucid 64bit, I get this error message
(Reading database ... 401053 files and directories currently installed.)
Preparing to replace xwiki-enterprise-common 4.1 (using .../xwiki-enterprise-common_4.1_all.deb) ...
Unpacking replacement xwiki-enterprise-common ...
Setting up xwiki-enterprise-common (4.1) ...
ln: target `/usr/lib/xwiki/WEB-INF/' is not a directory: No such file or directory
dpkg: error processing xwiki-enterprise-common (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
After this on any attempt to visit a wiki page I get a 404 error.