[Pkg-ime-devel] Bug#889053: [gir1.2-ibus-1.0] Fails to install Multi-Arch

Peje Nilsson peje at irf.se
Thu Feb 1 13:17:26 UTC 2018


Package: gir1.2-ibus-1.0
Version: 1.5.17-3
Severity: normal

--- Please enter the report below this line. ---

I have gir1.2-ibus-1.0:amd64 installed and tried to install
gir1.2-ibus-1.0:i386 i got the following:

Setting up gir1.2-ibus-1.0:i386 (1.5.17-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/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 processing package gir1.2-ibus-1.0:i386 (--configure):
 installed gir1.2-ibus-1.0:i386 package post-installation script
subprocess returned error exit status 1

I managed to install by adding :i386 to the following line in
gir1.2-ibus-1.0:i386.postinst:
--- /var/lib/dpkg/info/gir1.2-ibus-1.0:i386.postinst.bak    2018-02-01
14:14:09.765218252 +0100
+++ /var/lib/dpkg/info/gir1.2-ibus-1.0:i386.postinst  2018-02-01
14:13:24.205715785 +0100
@@ -3,7 +3,7 @@
 
 # Automatically added by dh_python3:
 if which py3compile >/dev/null 2>&1; then
-       py3compile -p gir1.2-ibus-1.0
+       py3compile -p gir1.2-ibus-1.0:i386
 fi
 
 # End automatically added section



--- System information. ---
Architecture:
Kernel: Linux 4.14.0-3-amd64

Debian Release: buster/sid
500 unstable repo.skype.com
500 unstable ftp.se.debian.org
500 unstable deb-multimedia.org
500 testing ftp.se.debian.org
500 testing deb-multimedia.org
500 stable silk.apana.org.au
500 stable security.debian.org
500 stable repository.spotify.com
500 stable packages.microsoft.com
500 stable ftp.se.debian.org
500 stable dl.google.com
500 stable deb.obspy.org
500 sid linux.dropbox.com
500 precise ppa.launchpad.net
500 oldstable packages.x2go.org
1 experimental ftp.se.debian.org

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.

-- 
Peje Nilsson
=======================================================================
Swedish Institute of Space Physics, Teknikhuset, SE-901 87 Umeå, SWEDEN
Web: www.umea.irf.se,   Phone: +46-(0)980-79018,    E-mail: peje at irf.se



More information about the Pkg-ime-devel mailing list