[ubuntu-dev] Bug#717861: gdebi-core: gdebi mishandles the architecture-specific dependency qualifiers

Francois Gouget fgouget at free.fr
Thu Jul 25 18:20:50 UTC 2013


Package: gdebi-core
Version: 0.9
Severity: normal

Dear Maintainer,

Here is how to reproduce this bug:
 * Download http://fgouget.free.fr/bugs/testdep.tar.bz2
   This is a small archive that contains a set of test, empty, Debian 
   package files along with their source.
   (run ./build to rebuild them)

 * Install the testdep-same_1.0-1_amd64.deb package.

 * Then run: gdebi testdep-same-arch_1.0-1_i386.deb

# gdebi testdep-same-arch_1.0-1_i386.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
This package is uninstallable
Dependency is not satisfiable: testdep-same

Yet testdep-same-arch has 'testdep-same:amd64' as its sole dependency
so the installed amd64 testdep-same package should satisfy it. Running
dpkg confirms this:

# dpkg -i testdep-same-arch_1.0-1_i386.deb 
Selecting previously unselected package testdep-same-arch.
(Reading database ... 214863 files and directories currently installed.)
Unpacking testdep-same-arch (from testdep-same-arch_1.0-1_i386.deb) ...
Setting up testdep-same-arch (1.0-1) ...


gdebi-gtk and gdebi-kde exhibit the same problem.

Finally, note that support for this type of dependency qualifier has been
added in dpkg 1.16.5 (so before the Debian 7 release). For more details
see:

* Bug #676232: dpkg: Please add support for specific arch qualifiers (cross-dependencies)
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676232

* dpkg commit 7acf7afa581457bc2e9bd6cd1f442e6f45c1db29
  Author: Thibaut Girka <thib at sitedethib.com>
  Date:   Thu Jun 28 01:11:11 2012 +0200

  Add support for specific arch-qualified dependencies
    
  This allows to use dependencies with arch-qualified package names. For
  example:

    Depends: libc6:amd64 (>= 2.14), libgcc1

  Closes: #676232

  Signed-off-by: Guillem Jover <guillem at debian.org>



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdebi-core depends on:
ii  file           1:5.14-2
ii  python         2.7.5-2
ii  python-apt     0.8.9
ii  python-debian  0.1.21+nmu2

gdebi-core recommends no packages.

Versions of packages gdebi-core suggests:
ii  xz-utils  5.1.1alpha+20120614-2

-- no debconf information



More information about the ubuntu-dev-team mailing list