[Bug 1123034] [NEW] "dpkg --add-architecture" not implemented in Ubuntu 12.04.1 LTS

NikTh 1123034 at bugs.launchpad.net
Tue Feb 12 12:53:43 UTC 2013


Public bug reported:

According to "Multiarch/Implementation" on Debian Wiki
http://wiki.debian.org/Multiarch/Implementation

Ubuntu 12.04 LTS should use the command

sudo dpkg --add-architecture

to add foreign architectures .. if some user wants..

sudo dpkg --add-architecture i386

returns

dpkg: error: unknown option --add-architecture

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' !


So why this command not exist in dpkg in Ubuntu 12.04.1 LTS ?
I know that I can add a foreign architecture via /etc/dpkg/dpkg.cfg.d/multiarch
but just asking about the command..

Same question exist in Launcphad Answers Tracker :
https://answers.launchpad.net/ubuntu/+source/dpkg/+question/221647

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dpkg 1.16.1.2ubuntu7.1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Tue Feb 12 14:47:53 2013
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug dpkg precise running-unity

** Tags added: dpkg

** Description changed:

  According to "Multiarch/Implementation" on Debian Wiki
  http://wiki.debian.org/Multiarch/Implementation
  
  Ubuntu 12.04 LTS should use the command
  
  sudo dpkg --add-architecture
  
  to add foreign architectures .. if some user wants..
- ============================
+ 
  sudo dpkg --add-architecture i386
  
- "dpkg: error: unknown option --add-architecture"
- ========================================
+ returns
  
- Dpkg version in Ubuntu 12.04.1 LTS 
- =========================================================
- dpkg --version
+ dpkg: error: unknown option --add-architecture
  
- Debian `dpkg' package management program version 1.16.1.2 (amd64)
- =========================================================
+ 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' !
+ 
+ 
  
  So why this command not exist in dpkg in Ubuntu 12.04.1 LTS ?
  I know that I can add a foreign architecture via /etc/dpkg/dpkg.cfg.d/multiarch
  but just asking about the command..
  
- ============================
- lsb_release -rcd ; uname -rm
- 
- Description:	Ubuntu 12.04.2 LTS
- Release:	12.04
- Codename:	precise
- 3.5.0-23-generic x86_64
- ===========================
- Same question exist in Launcphad Answers Tracker : 
+ Same question exist in Launcphad Answers Tracker :
  https://answers.launchpad.net/ubuntu/+source/dpkg/+question/221647
  
  Thanks
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: dpkg 1.16.1.2ubuntu7.1
  ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
  Uname: Linux 3.5.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Date: Tue Feb 12 14:47:53 2013
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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/1123034

Title:
  "dpkg --add-architecture" not implemented in Ubuntu 12.04.1 LTS

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  According to "Multiarch/Implementation" on Debian Wiki
  http://wiki.debian.org/Multiarch/Implementation

  Ubuntu 12.04 LTS should use the command

  sudo dpkg --add-architecture

  to add foreign architectures .. if some user wants..

  sudo dpkg --add-architecture i386

  returns

  dpkg: error: unknown option --add-architecture

  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' !


  
  So why this command not exist in dpkg in Ubuntu 12.04.1 LTS ?
  I know that I can add a foreign architecture via /etc/dpkg/dpkg.cfg.d/multiarch
  but just asking about the command..

  Same question exist in Launcphad Answers Tracker :
  https://answers.launchpad.net/ubuntu/+source/dpkg/+question/221647

  Thanks

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: dpkg 1.16.1.2ubuntu7.1
  ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
  Uname: Linux 3.5.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Date: Tue Feb 12 14:47:53 2013
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list