[Bug 2067762] Re: package python3-uno 4:24.2.3-0ubuntu0.24.04.2 failed to install/upgrade: new python3-uno package pre-installation script subprocess returned error exit status 127

Julian Andres Klode 2067762 at bugs.launchpad.net
Sat Jun 1 12:27:01 UTC 2024


The issue here is that apt is forced to remove libreadline8 to allow installing libreadline8t64. The user has gawk installed which has the higher priority for awk.
gawk is not essential so it doesn't have the immediate handling of an essential package.
The python3-uno package uses awk in its preinst which fails due to the forced removal of libreadline8.

The only way out of this issue is to use explicitly mawk in the
maintainer script which is Essential. The use of awk doesn't work
because it's not an Essential facility (as it may be provided by gawk),
and you don't want to depend on gawk since you don't use gawk
specifically, and a dependency on awk would be satisfied by mawk.

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2067762

Title:
  package python3-uno 4:24.2.3-0ubuntu0.24.04.2 failed to
  install/upgrade: new python3-uno package pre-installation script
  subprocess returned error exit status 127

Status in apt package in Ubuntu:
  Invalid
Status in libreoffice package in Ubuntu:
  New

Bug description:
  Failure occurred during a dist upgrade from 23.10 to 24.04

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: python3-uno 4:24.2.3-0ubuntu0.24.04.2
  ProcVersionSignature: Ubuntu 6.5.0-35.35-generic 6.5.13
  Uname: Linux 6.5.0-35-generic x86_64
  NonfreeKernelModules: zfs nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Fri May 31 10:53:15 2024
  DuplicateSignature:
   package:python3-uno:4:24.2.3-0ubuntu0.24.04.2
   Removing obsolete configuration file /etc/libreoffice/registry/pyuno.xcd ...
   awk: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
   dpkg: error processing archive /tmp/apt-dpkg-install-g7RPpP/01-python3-uno_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb (--unpack):
    new python3-uno package pre-installation script subprocess returned error exit status 127
  ErrorMessage: new python3-uno package pre-installation script subprocess returned error exit status 127
  InstallationDate: Installed on 2023-12-15 (168 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.18, unpackaged
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6
   apt  2.7.14build2
  SourcePackage: libreoffice
  Title: package python3-uno 4:24.2.3-0ubuntu0.24.04.2 failed to install/upgrade: new python3-uno package pre-installation script subprocess returned error exit status 127
  UpgradeStatus: Upgraded to noble on 2024-05-31 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2067762/+subscriptions




More information about the foundations-bugs mailing list