Bug 330453

Summary: qapt-deb-installer should offer to enable support for foreign architecture if needed
Product: [Applications] muon Reporter: Francois Gouget <fgouget>
Component: qapt-deb-installerAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: aleixpol, sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Francois Gouget 2014-01-27 00:24:03 UTC
On a default 64-bit Debian installation support for 32-bit packages is not enabled, that is 'dpkg --print-foreign-architectures' returns nothing.
So when a user gets a 32-bit package and opens it in qapt-deb-installer the only result is:

   Error: Wrong architecture 'i386'

This then leaves it up to the user to search the web and struggle with the command line to figure out how to enable support for 32-bit packages.

So it would be much better if qapt-deb-installer provided a simple way to do so. This would likely end up running something like 'sudo dpkg --add-architecture i386 ; sudo apt-get update' behind the scenes (note that the 'apt-get update' is necessary to get that architecture's list of packages so dependencies can then be resolved).

Reproducible: Always
Comment 1 Harald Sitter 2014-12-28 20:42:45 UTC
Out of scope unfortunately.

Also, at least one debian developer doesn't fancy having this option either. If it made sense to multiarch then that would be made the default anyway.