I was evaluating space requirements for a minimum Debian installation when I noticed packages for
i386 architecture are often twice as large as for other architectures. The reason becomes clear when one looks at the list of files. Example:
/usr/lib/i386-linux-gnu/i586/libcrypto.so.1.0.0 /usr/lib/i386-linux-gnu/i586/libssl.so.1.0.0 /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0 /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0 /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/i386-linux-gnu/libssl.so.1.0.0
So basically, all the libraries are provided for 3 separate architectures:
i686. What is the reason for such a waste of space? Why doesn't Debian detect the right architecture upon installation and pulls only the right versions of libraries for it?