[Bug 950031] Re: does not allow whitespace on end of foreign-architecture config lines

Raphaël Hertzog hertzog at debian.org
Fri Mar 9 07:23:54 UTC 2012


** Changed in: dpkg (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/950031

Title:
  does not allow whitespace on end of foreign-architecture config lines

Status in “dpkg” package in Ubuntu:
  Won't Fix

Bug description:
  dpkg version 1.16.1.2
  If your dpkg config contain a line like:

  "foreign-architecture i386 "
  i.e with a space on the end of the line
  dpkg issues a warning:

  dpkg: warning: ignoring option --foreign-architecture=i386 : character
  ` ' not allowed

  it is reading the architecture as "i386 " which is perhaps a bit dim.

  To reproduce this my config in /etc/dpkg/dpkg.cfg.d/multiarch was:

  foreign-architecture i386
  foreign-architecture armel

  It does not happen if there is no newline after the "i386 " so you
  need either a second config line or a newline to produce the warning.

  And the warning comes in this part of the sequenmce when installing a
  new packge:

  # apt-get install grep-dctrl
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Note, selecting 'dctrl-tools' instead of 'grep-dctrl'
  Suggested packages:
    debtags
  The following NEW packages will be installed:
    dctrl-tools
  0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
  Need to get 83.5 kB of archives.
  After this operation, 299 kB of additional disk space will be used.
  Get:1 http://archive.ubuntu.com/ubuntu/ precise/main dctrl-tools amd64 2.18ubuntu1 [83.5 kB]
  Fetched 83.5 kB in 0s (202 kB/s)
  debconf: delaying package configuration, since apt-utils is not installed
  dpkg: warning: ignoring option --foreign-architecture=i386 : character ` ' not allowed (only letters, digits and characters `-')
  Selecting previously unselected package dctrl-tools.
  (Reading database ... 14964 files and directories currently installed.)
  Unpacking dctrl-tools (from .../dctrl-tools_2.18ubuntu1_amd64.deb) ...
  dpkg: warning: ignoring option --foreign-architecture=i386 : character ` ' not allowed (only letters, digits and characters `-')
  Setting up dctrl-tools (2.18ubuntu1) ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/950031/+subscriptions




More information about the foundations-bugs mailing list