[Pkg-mc-devel] Bug#582078: mc: postin runs dpkg-architecture from dpkg-dev but not depend on dpkg-dev

Hilmar Preusse hille42 at web.de
Tue May 18 07:35:30 UTC 2010


Package: mc
Version: 3:4.7.0.5-1
Severity: normal

Hi,

when setting up the latest mc package I noticed the following error message:

Setting up mc (3:4.7.0.5-1) ...
<snip>
/var/lib/dpkg/info/mc.postinst: line 4: dpkg-architecture: command not found
root at sidamd64:~# 

Indeed the postin script calls dpkg-architecture from dpkg-dev, which is not
installed on that box.  Interestingly the script does not fail, but reports
the package to be fully set up -> Severity normal.

I guess simply putting dpkg-dev to the depends is not the best solution.
Plase use another method to determine the arch or check if dpkg-architecture
is available before calling it.

H.
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mc depends on:
ii  libc6                         2.10.2-8   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgpm2                       1.20.4-3.3 General Purpose Mouse - shared lib
ii  libslang2                     2.2.2-4    The S-Lang programming library - r

Versions of packages mc recommends:
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap

Versions of packages mc suggests:
pn  arj                          <none>      (no description available)
ii  bzip2                        1.0.5-4     high-quality block-sorting file co
pn  catdvi                       <none>      (no description available)
pn  dbview                       <none>      (no description available)
pn  djvulibre-bin                <none>      (no description available)
ii  file                         5.04-2      Determines file type using "magic"
ii  gv [pdf-viewer]              1:3.6.9-1   PostScript and PDF viewer for X
ii  imagemagick                  7:6.6.0.4-2 image manipulation programs
pn  odt2txt                      <none>      (no description available)
ii  perl                         5.10.1-12   Larry Wall's Practical Extraction 
ii  python                       2.5.4-9     An interactive high-level object-o
pn  python-boto                  <none>      (no description available)
pn  python-tz                    <none>      (no description available)
ii  unzip                        6.0-4       De-archiver for .zip files
ii  w3m                          0.5.2-4     WWW browsable pager with excellent
ii  xpdf-reader [pdf-viewer]     3.02-2      Portable Document Format (PDF) sui
ii  zip                          3.0-3       Archiver for .zip files

-- no debconf information





More information about the Pkg-mc-devel mailing list