Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Ubuntu 12.04 LTS x64, we'd like to remove the i386 foreign architecture it comes with, but I don't see a "dpkg" command to do this cleanly.

In Stuck with foreign-architecture=i386 when using apt-get, the user is advised to just remove the line from /etc/dpkg/dpkg.cfg.d/multiarch, I can do that (or even remove that file altogether), but I was wondering whether there is a more "appropriate" way to do that.

The reason we want to do that is that we maintain a large number of continuous integration agents using Puppet and want to stick to "pure 64". We install our own debian packages from our own maintained reposiroty and this fails unless we provide an i386 version of the package. I'm aware that it's possible to override the architecture in the specific repository configuration but it'll be cleaner to just disable the none-64 architecture altogether.

share|improve this question
    
I don't understand why you have to provide i386 versions of your packages. On an amd64 machine, the installability of any i386 packages shouldn't be matter, unless you specifically install i386 packages. –  tumbleweed Mar 24 '13 at 19:48
    
What we found is that "apt-get update" fails when our internal repo is configured since it looks for i386 packages which don't exist. –  Amos Shapira Mar 25 '13 at 22:14
    
You could add an empty i386 architecture to the repo. Or you could put deb [arch=amd64] ... in the sources.list –  tumbleweed Mar 26 '13 at 9:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.