It seems like I got the zlib installed for both architectures. I was told by http://developer.sonymobile.com/knowledge-base/open-source/open- devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for- unlocked-xperia-devices/ to install the 32-bit package as well.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/1537484 Title: package zlib1g-dev 1:1.2.8.dfsg-2ubuntu4 failed to install/upgrade: försöker skriva över "/usr/include/i386-linux-gnu/zconf.h" som också finns i paketet lib32z1-dev 1:1.2.8.dfsg-2ubuntu4 Status in zlib package in Ubuntu: New Bug description: I don't know how it happened as I left the computer running during the night. ProblemType: Package DistroRelease: Ubuntu 15.10 Package: zlib1g-dev 1:1.2.8.dfsg-2ubuntu4 ProcVersionSignature: Ubuntu 4.2.0-25.30-generic 4.2.6 Uname: Linux 4.2.0-25-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 Date: Sun Jan 24 04:08:47 2016 DuplicateSignature: package:zlib1g-dev:1:1.2.8.dfsg-2ubuntu4:försöker skriva över "/usr/include/i386-linux-gnu/zconf.h" som också finns i paketet lib32z1-dev 1:1.2.8.dfsg-2ubuntu4 ErrorMessage: försöker skriva över "/usr/include/i386-linux-gnu/zconf.h" som också finns i paketet lib32z1-dev 1:1.2.8.dfsg-2ubuntu4 InstallationDate: Installed on 2016-01-18 (5 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) RelatedPackageVersions: dpkg 1.18.2ubuntu5.1 apt 1.0.10.2ubuntu1 SourcePackage: zlib Title: package zlib1g-dev 1:1.2.8.dfsg-2ubuntu4 failed to install/upgrade: försöker skriva över "/usr/include/i386-linux-gnu/zconf.h" som också finns i paketet lib32z1-dev 1:1.2.8.dfsg-2ubuntu4 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1537484/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp