Bug#770265: gir1.2-ibus-1.0: fails to install in multiarch setting: dpkg-query --listfiles called with ambiguous package name (fwd)

2018-04-24 Thread Francois Gouget

severity #770265 critical

And the reason why it should really really be fixed in Debian 9.4 is 
because it's a critical bug: anyone running into it will end up with a 
totally broken packaging system, that is one where no package can be 
added or removed.

1 criticalmakes unrelated software on the system (or the 
  whole system) break, [...] on systems where you 
  install the package.


-- 
Francois Gouget   http://fgouget.free.fr/
In theory, theory and practice are the same, but in practice they're different.



Bug#770265: gir1.2-ibus-1.0: fails to install in multiarch setting: dpkg-query --listfiles called with ambiguous package name

2018-04-11 Thread Francois Gouget

reopen #770265

This bug is still present in Debian 9.4 which is the official stable 
release of Debian, the one that people are supposed to use.

This despite the bug being known 4 years before the Debian 9.4 release!
This despite the bug breaking package management!
This despite a fix being known and implemented!

So until this bug is fixed in the Debian release everyone uses I don't 
think it should be closed.


-- 
Francois Gouget   http://fgouget.free.fr/
In theory, theory and practice are the same, but in practice they're different.



Bug#770265: gir1.2-ibus-1.0: fails to install in multiarch setting: dpkg-query --listfiles called with ambiguous package name

2017-07-14 Thread Jose M Calhariz
On 14/07/17 22:41, Jose M Calhariz wrote:
> Package: dh-python
> Version: 2.20170125
> Followup-For: Bug #770265
>
>
> This problem prevents a full cross-grade of gnome from i386 to amd64,
> leaving a broken gnome.  The list of packages pending configure
> because of this problem are:
>
> gir1.2-ibus-1.0:amd64
> gnome-shell
> gnome-shell-extensions
> gnome-core
> chrome-gnome-shell
> gnome-session
> gnome
> network-manager-gnome
> gdm3
>
> A workaround is to hack the postinst by hand.

Just found about DPKG_MAINTSCRIPT_ARCH environment .  So the generated
code should be:

# Automatically added by dh_python3:
if which py3compile >/dev/null 2>&1; then
py3compile -p gir1.2-ibus-1.0:$DPKG_MAINTSCRIPT_ARCH
fi

Kind regards

Jose M Calhariz





signature.asc
Description: OpenPGP digital signature


Bug#770265: gir1.2-ibus-1.0: fails to install in multiarch setting: dpkg-query --listfiles called with ambiguous package name

2017-07-14 Thread Jose M Calhariz
Package: dh-python
Version: 2.20170125
Followup-For: Bug #770265


This problem prevents a full cross-grade of gnome from i386 to amd64,
leaving a broken gnome.  The list of packages pending configure
because of this problem are:

gir1.2-ibus-1.0:amd64
gnome-shell
gnome-shell-extensions
gnome-core
chrome-gnome-shell
gnome-session
gnome
network-manager-gnome
gdm3
 
A workaround is to hack the postinst by hand.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-python depends on:
ii  python3  3.5.3-1

dh-python recommends no packages.

Versions of packages dh-python suggests:
pn  libdpkg-perl  

-- no debconf information



Bug#770265: gir1.2-ibus-1.0: fails to install in multiarch setting: dpkg-query --listfiles called with ambiguous package name

2014-11-19 Thread Andreas Beckmann
Package: gir1.2-ibus-1.0
Version: 1.5.9-1
Severity: important
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch

Hi,

during a test with piuparts I noticed your package failed to install in
a multiarch setting.

From the attached log (scroll to the bottom...):

  Setting up gir1.2-ibus-1.0:i386 (1.5.9-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/pycompile, line 289, in module
  main()
File /usr/bin/pycompile, line 262, in main
  options.force, options.optimize, e_patterns)
File /usr/bin/pycompile, line 154, in compile
  for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File /usr/bin/pycompile, line 109, in filter_files
  for fn in files:
File /usr/share/python/debpython/files.py, line 77, in filter_out_ext
  for fn in files:
File /usr/share/python/debpython/namespace.py, line 77, in 
add_namespace_files
  for fn in files:
File /usr/share/python/debpython/files.py, line 69, in filter_public
  for fn in files:
File /usr/share/python/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):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin (2.19-12) ...
  Errors were encountered while processing:
   gir1.2-ibus-1.0:i386


Cheers,

Andreas


gir1.2-ibus-1.0=1.5.9-1.log.gz
Description: application/gzip