The initial issue was not being able to build a 32-bit version of wine from source on a 64-bit computer because wine needed both libfreetype-dev package for i386 and amd64 flavour.
But if I try to install libfreetype6-dev:i386, I still have to uninstall libfreetype6-dev (:amd64) among other packages :
alex@leon:~$ sudo apt-get install libfreetype6-dev:i386
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcc-4.9-base:i386 libc6:i386 libc6-dev:i386 libfreetype6:i386 libgcc1:i386
libpng12-0:i386 libpng12-dev:i386 linux-libc-dev:i386 zlib1g:i386
zlib1g-dev:i386
Suggested packages:
glibc-doc:i386 locales:i386 manpages-dev:i386
Recommended packages:
gcc:i386 c-compiler:i386
The following packages will be REMOVED:
build-essential dkms g++ gcc libfontconfig1-dev libfreetype6-dev
libpng12-dev virtualbox-dkms
The following NEW packages will be installed:
gcc-4.9-base:i386 libc6:i386 libc6-dev:i386 libfreetype6:i386
libfreetype6-dev:i386 libgcc1:i386 libpng12-0:i386 libpng12-dev:i386
linux-libc-dev:i386 zlib1g:i386 zlib1g-dev:i386
0 upgraded, 11 newly installed, 8 to remove and 0 not upgraded.
Need to get 7,882 kB of archives.
After this operation, 17.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
I just read https://wiki.ubuntu.com/MultiarchSpec and in the "Unresolved issues" section, there is a "Co-installable -dev packages " entry which means this bugs is normal since no one agreed on what to do in this case.
Maybe renaming this bug into "[Mutiarch] Find a way to co-install -dev packages" would better describe it.
The initial issue was not being able to build a 32-bit version of wine from source on a 64-bit computer because wine needed both libfreetype-dev package for i386 and amd64 flavour.
I followed http:// wiki.winehq. org/BuildingBia rchWineOnUbuntu guide and it fully works, neither errors nor headaches ;)
But if I try to install libfreetype6- dev:i386, I still have to uninstall libfreetype6-dev (:amd64) among other packages : dev:i386 dev:i386 libgcc1:i386 libpng12-0:i386 libpng12-dev:i386 libc-dev: i386 zlib1g:i386 zlib1g-dev:i386
alex@leon:~$ sudo apt-get install libfreetype6-
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcc-4.9-base:i386 libc6:i386 libc6-dev:i386 libfreetype6:i386 libgcc1:i386
libpng12-0:i386 libpng12-dev:i386 linux-libc-dev:i386 zlib1g:i386
zlib1g-dev:i386
Suggested packages:
glibc-doc:i386 locales:i386 manpages-dev:i386
Recommended packages:
gcc:i386 c-compiler:i386
The following packages will be REMOVED:
build-essential dkms g++ gcc libfontconfig1-dev libfreetype6-dev
libpng12-dev virtualbox-dkms
The following NEW packages will be installed:
gcc-4.9-base:i386 libc6:i386 libc6-dev:i386 libfreetype6:i386
libfreetype6-
linux-
0 upgraded, 11 newly installed, 8 to remove and 0 not upgraded.
Need to get 7,882 kB of archives.
After this operation, 17.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
I just read https:/ /wiki.ubuntu. com/MultiarchSp ec and in the "Unresolved issues" section, there is a "Co-installable -dev packages " entry which means this bugs is normal since no one agreed on what to do in this case.
Maybe renaming this bug into "[Mutiarch] Find a way to co-install -dev packages" would better describe it.