And this is the contents of the postinst script for python3-uno: #!/bin/sh set -e
# Automatically added by dhpython: if which py3compile >/dev/null 2>&1; then py3compile -p python3-uno fi # End automatically added section # Automatically added by dhpython: if which py3compile >/dev/null 2>&1; then py3compile -p python3-uno /usr/lib/libreoffice/program -V 3.5 fi # End automatically added section So presumably py3compile is crashing. There ought to be a crash report in /var/crash/ for py3compile, can you check and attach it here? ** 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/1799100 Title: package python3-uno 1:6.0.6-0ubuntu0.18.04.1 failed to install/upgrade: installed python3-uno package post-installation script subprocess returned error exit status 139 Status in libreoffice package in Ubuntu: Incomplete Bug description: Other issue is also visible.If the laptop goes to sleep, on next session, the keyboard driver is not getting loaded. Keyboard does not work. ProblemType: Package DistroRelease: Ubuntu 18.04 Package: python3-uno 1:6.0.6-0ubuntu0.18.04.1 ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18 Uname: Linux 4.15.0-34-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.4 Architecture: amd64 Date: Sun Oct 21 18:24:19 2018 DuplicateSignature: package:python3-uno:1:6.0.6-0ubuntu0.18.04.1 Setting up python3-uno (1:6.0.6-0ubuntu0.18.04.1) ... Segmentation fault (core dumped) dpkg: error processing package python3-uno (--configure): installed python3-uno package post-installation script subprocess returned error exit status 139 ErrorMessage: installed python3-uno package post-installation script subprocess returned error exit status 139 InstallationDate: Installed on 2016-10-22 (729 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) 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.3ubuntu0.1 SourcePackage: libreoffice Title: package python3-uno 1:6.0.6-0ubuntu0.18.04.1 failed to install/upgrade: installed python3-uno package post-installation script subprocess returned error exit status 139 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1799100/+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