package gir1.2-ibus-1.0 1.5.17-3ubuntu5.3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1872016 reported by Darren Dower
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned
ibus (Ubuntu)
New
Undecided
Unassigned

Bug Description

Following an upgrade from 16.4 to 18.4 this error occured
I can also not see any desktop

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: gir1.2-ibus-1.0 1.5.17-3ubuntu5.3
ProcVersionSignature: Ubuntu 4.15.0-96.97-generic 4.15.18
Uname: Linux 4.15.0-96-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: amd64
Date: Fri Apr 10 15:37:48 2020
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2017-04-12 (1093 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.6
 apt 1.6.12
SourcePackage: ibus
Title: package gir1.2-ibus-1.0 1.5.17-3ubuntu5.3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2020-04-10 (0 days ago)

Revision history for this message
Darren Dower (dazza69) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, the error is a libexpact/glibc missing symbol, reassigning

affects: ibus (Ubuntu) → glibc (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

There is no bug in the glibc/expat dependencies here. The libexpat1 in bionic Depends: libc6 (>= 2.25), which is the version that provides this symbol. The problem is that new libexpat1 has been unpacked (but not configured) before the new libc6, so anything which depends on libexpat1 does not have its dependencies satisfied, and the xenial version of gir1.2-ibus-1.0 appears to invoke python3 in its prerm script, which fails.

I'm not sure if it's possible for apt to fix this, or if it would need to be fixed in the gir1.2-ibus-1.0 maintainer script to handle the case where py3clean is executable but fails.

Of course this maintainer script is also generated by dh_python3, so fixing it might take a bit of effort.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.