Trying to install postgresql:i386 on 12.04 amd64
- by tim jackson
Due to some legacy 32 bit libraries being used in postgresql functions I need to get a 32 bit install of Postgresql on a 64 bit native system. But it seems like there is a problem with the multiarch not seeing all.debs as satisfying dependencies.
uname -a:
3.8.0-29-generic #42-precise-Ubuntu SMP x86_64
dpkg --print-architecture:
amd64
dpkg --print-foreign-architecture:
i386
apt-get install postgresql-9.1:
returns
postgresql : Depends: postgresql-9.1 but it is nto going to be installed
postgresql-9.1:i386 : Depends: postgresql-common:i386 but it is not installable
Depends: ssl-cert:i386 but it is not installable
Depends: locales:i386 but it is not installable
etc ..
But I have installed ssl-cert_1.0.28ubuntu0.1_all.deb and locales_..._all.deb
andpostgresql-common is an all.deb
Does anyone have experience installing 32 bit packages on 64 bit systems that depend on packages that are all.debs.
Or has anyone installed 32 bit postgres on 64 bit?
Any help appreciated.