Disable Multiarch in Ubuntu Oneiric 11.10

Since Ubuntu 11.10 multiarch support becomes set by default in new systems as well as in upgraded ones. This sounds like a nice feature, but it breaks one of my favorite tools: aptitude. As of now, aptitude can't handle multiple arches of the same package and therefore runs wild when told to do any task.

The solution to this is to disable multiarch for the time being. This is done by the following command:

mv /etc/dpkg/dpkg.cfg.d/multiarch /etc/dpkg/dpkg.cfg.d/multiarch.backup && apt-get update

In case aptitude learns how to handle multiarch some day, it can be re-enabled by running the command the other way round.

  1. True! APTITUDE went berserk when I first installed 11.10.
    Prompting me to uninstall so many packages that had nothing to do with what I was asking for!!! I cried blood before discovering it was due to multiarch feauture!
    I am still using Aptitude but very carefully but I am tired :( I don’t like apt-get !

Leave a Comment