Public bug reported:

Description of the problem:
Trying to use dpkg --foreign-architecture results in an error message.

Steps to reproduce:
1. Run
sudo dpkg --foreign-architecture i386

Expected result:
Foreign architecture i386 to be added to dpkg.

Actual result:
The following error message is printed:
# dpkg --foreign-architecture i386
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
root@ubuntu:~# 

How reproducible is the problem?
It is reproducible every time.

Additional information:
Here is what the man page says for --foreign-architecture:
ACTIONS
[...]
       --foreign-architecture architecture
              Add  architecture  to the list of architectures for which
              packages can be installed without using --force-architecā€
              ture,  in  addition to the architecture dpkg is built for
              (i.e.: the output of --print-architecture).

So because it is in the ACTIONS section it is itself an action option
(like --print-foreign-architectures).

Version information:
Ubuntu 12.04.3 LTS
dpkg 1.16.1.2ubuntu

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  dpkg --foreign-architecture does not work

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to