I have this problem too, but I also can't uninstall either arch of gir1.2-ibus-1.0. I am on Debian Stretch, upgraded to the latest updates, my gir.12-ibus-1.0 is 1.5.14-3. I have :amd64 and :i386 installed, but not configured, and unfortunately I can't uninstall them either:
$ sudo dpkg --remove --force-remove-reinstreq gir1.2-ibus-1.0:i386 (Reading database ... 594925 files and directories currently installed.) Removing gir1.2-ibus-1.0:i386 (1.5.14-3) ... dpkg-query: error: --listfiles needs a valid package name but 'gir1.2-ibus-1.0' is not: ambiguous package name 'gir1.2-ibus-1.0' with more than one installed instance Use --help for help about querying packages. Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in <module> main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of gir1.2-ibus-1.0 dpkg: error processing package gir1.2-ibus-1.0:i386 (--remove): subprocess installed pre-removal script returned error exit status 1 dpkg-query: error: --listfiles needs a valid package name but 'gir1.2-ibus-1.0' is not: ambiguous package name 'gir1.2-ibus-1.0' with more than one installed instance Use --help for help about querying packages. Traceback (most recent call last): File "/usr/bin/py3compile", line 290, in <module> main() File "/usr/bin/py3compile", line 270, in main options.force, options.optimize, e_patterns) File "/usr/bin/py3compile", line 154, in compile for fn, versions_to_compile in filter_files(files, e_patterns, versions): File "/usr/bin/py3compile", line 106, in filter_files for fn in files: File "/usr/share/python3/debpython/files.py", line 71, in filter_public for fn in files: File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of gir1.2-ibus-1.0 dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: gir1.2-ibus-1.0:i386
signature.asc
Description: PGP signature