It appears you have an old version of libreoffice-sdbc-firebird installed (1:5.3.4-0ubuntu0.16.04.1~lo0.1, targetting xenial, from the LO fresh PPA).
The relevant error message is: dpkg-maintscript-helper: error: file '/usr/share/doc/libreoffice-sdbc-firebird' not owned by package 'libreoffice-sdbc-firebird:amd64' dpkg-maintscript-helper: error: directory '/usr/share/doc/libreoffice-sdbc-firebird' contains files not owned by package libreoffice-sdbc-firebird:amd64, cannot switch to symlink Can you try the following, and let us know whether that resolves the issue? sudo apt purge libreoffice-sdbc-firebird sudo apt install libreoffice-sdbc-firebird ** Changed in: libreoffice (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1797513 Title: package libreoffice-sdbc-firebird 1:5.3.4-0ubuntu0.16.04.1~lo0.1 failed to install/upgrade: new libreoffice-sdbc-firebird package pre- installation script subprocess returned error exit status 1 Status in libreoffice package in Ubuntu: Incomplete Bug description: Keep reoccuring ProblemType: Package DistroRelease: Ubuntu 18.04 Package: libreoffice-sdbc-firebird 1:5.3.4-0ubuntu0.16.04.1~lo0.1 ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18 Uname: Linux 4.15.0-38-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.4 Architecture: amd64 Date: Fri Oct 12 12:19:48 2018 Dependencies: ErrorMessage: new libreoffice-sdbc-firebird package pre-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2015-08-01 (1167 days ago) InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Release amd64 (20150422) PackageArchitecture: all Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1 PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.0.5ubuntu2 apt 1.6.5 SourcePackage: libreoffice Title: package libreoffice-sdbc-firebird 1:5.3.4-0ubuntu0.16.04.1~lo0.1 failed to install/upgrade: new libreoffice-sdbc-firebird package pre-installation script subprocess returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1797513/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp