Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my x86_64 12.10 system, when I try to

apt-get install libssl-dev:i386

apt wants to remove a bunch of things:

The following packages will be REMOVED:
  build-essential dkms g++ g++-multilib gcc gcc-multilib hardening-wrapper nvidia-current
The following NEW packages will be installed:
  libc6-dev:i386 libssl-dev:i386 linux-libc-dev:i386 zlib1g-dev:i386

Why does this happen? How can I install libssl-dev:i386 without losing gcc?

I noticed that libssl-dev and libssl-dev:i386 have no "Multiarch" field reported by apt-cache show, which I think means they cannot coexist. ( )

share|improve this question
up vote 4 down vote accepted

libssl is not multiarch compatible at the moment.


share|improve this answer
For future readers: This seems to have been fixed in Ubuntu 15.04. apt-get install libssl-dev:i386 works fine now. – Brendan Long Jul 31 '15 at 21:36
For readers from even further future: apt-get install libssl-dev:i386 throws E: Unable to locate package libssl-dev, so better make time machine and run back in past. – Tomáš Zato Sep 29 '15 at 13:51
If you add the i386 architecture, then the libssl-dev:i386 package becomes available. I'm using Ubuntu 14.04 64bit. sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install libssl1.0.0:i386. – Nitrodist Apr 27 at 19:19

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.