Package: liblensfun-data
Version: 0.2.8-2
Severity: important

Dear Maintainer,

   * What led up to the situation?

     I asked aptitude to install liblensfun0:amd64 on a newly upgraded
     jessie multiarch system.  Dpkg reports as follows:

         : nr@homedog 10074 ; dpkg --print-architecture
         : nr@homedog 10075 ; dpkg --print-foreign-architectures

   * What exactly did you do (or not do) that was effective (or
   * What was the outcome of this action?

         Marking the package with the plus sign resulted in an error
         messages that a dependency of liblensfun0:amd64 was not
         satisfied.  It is


         This package, without the :amd64 suffix, is installed on
         my system, and dpkg -s reports

              Architecture: all

         I suspect that something may be wrong with the dependencies.

   * What outcome did you expect instead?

         I expected the liblensfun0:amd64 package to be installed.

I reported a very similar problem against darktable as bug 785163, but
the darktable maintainers suggest that the problem actually lies in
the dependencies.  In searching documentation online, I found the
following statement about Architecture: all packages

  Pre-multiarch, architecture-dependent packages may depend on
  Architecture: all packages and assume that the transitive dependencies
  will be resolved using packages of the same architecture or other
  packages that are Architecture: all. To avoid breaking this
  assumption, Architecture: all packages will, at least initially, be
  treated as equivalent to packages of the native architecture for all
  dependency resolution.1 This means that for an Architecture: all
  package to satisfy the dependencies of a foreign-architecture package,
  it must be marked Multi-Arch: foreign or Multi-Arch: allowed.

According to the documentation I can find,

Multi-Arch: foreign

might be suitable for your package.

I have confirmed that if this line is added to your debian/control
file (for the liblensfun-data package), and I rebuild the .deb file,
the package installs, and (when other dependencies are similarly
updated), aptitude installs liblensfun0:amd64 and darktable:amd64
without complaint.

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

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

-- no debconf information

pkg-kde-extras mailing list

Reply via email to