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

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

1 Answer 1

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 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 at 13:51

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.