dpkg --foreign-architecture does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Description of the problem:
Trying to use dpkg --foreign-
Steps to reproduce:
1. Run
sudo dpkg --foreign-
Expected result:
Foreign architecture i386 to be added to dpkg.
Actual result:
The following error message is printed:
# dpkg --foreign-
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-
ACTIONS
[...]
Add architecture to the list of architectures for which
ture, in addition to the architecture dpkg is built for
So because it is in the ACTIONS section it is itself an action option (like --print-
Version information:
Ubuntu 12.04.3 LTS
dpkg 1.16.1.2ubuntu
Changed in dpkg (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report.
Please read an (invalid) similar bug report (bug #1123034).
Also read the linked question and the answer here: /answers. launchpad. net/ubuntu/ +source/ dpkg/+question/ 221647
https:/
Best Regards
NikTh