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 Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2067762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs