[Bug 1255073] Re: dpkg --foreign-architecture does not work
Adam Conrad
adconrad at 0c3.net
Sat Apr 11 04:20:51 UTC 2015
This is fixed in newer versions of dpkg. It's not worth an upload just
to fix the manpage in precise, but if someone wants to tack it on to
another dpkg SRU, more power to them.
** Also affects: dpkg (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: dpkg (Ubuntu)
Status: Triaged => Fix Released
--
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/1255073
Title:
dpkg --foreign-architecture does not work
Status in dpkg package in Ubuntu:
Fix Released
Status in dpkg source package in Precise:
New
Bug description:
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 at 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1255073/+subscriptions
More information about the foundations-bugs
mailing list