Hi Rob,
Thank you for your response:
cat /var/lib/dpkg/arch
gives:
amd64
i386
I did update after adding i386- I don't think it would have found
postgresql-9.3:i386 otherwise.
Further reading indicates that packages can explicitly support
multi-arch and permit (some) dependent packages to be from either
architecture. I would wager ssl-certs is one of these. I can't seem to
find the Debian packaging bits - they don't seem to be part of the
source tarball. If someone could point me at these I'd be happy to have
a stab at changing it to support multi-arch.
Thanks!
Damian
On 30/11/2014 16:38, rob stone wrote:
>
>
> On Sun, 2014-11-30 at 15:17 +0400, Damian Dimmich wrote:
>> Hi,
>>
>> I'm trying to set up a replica for a postgres 9.3 instance running on
>> an older i386 debian install, replicating to a 64 bit install.
>>
>> Having enabled multi-arch** support on the 64 bit debian by running:
>>
>> dpkg --add-architecture i386
>>
>> and trying to install:
>>
>> apt-get install postgresql-9.3:i386
>>
>> gives:
>>
>> "Depends: ssl-cert:i386 but it is not installable"
>>
>> Any way of getting postgres i386 to depend on an arch independet
>> ssl-cert ? The ssl cert's should be the same on both platforms I
>> think?
>>
>> Has anyone gotten this to work?
>>
>> Thank you in advance!
>>
>> Damian
>>
>>
>> ** as per:
>> http://www.howtoforge.com/multiarch-how-to-use-32bit-packages-on-a-64bit-system-debian-7-wheezy
>
>
>
> Firstly verify the contents of
>
> /var/lib/dpkg/arch
>
> This file usually contains
>
> amd64
> i386
>
> when multiarch support is enabled.
>
>
> You must run
>
> apt-get update
>
> to re-build your package lists AFTER enabling multiarch.
>
> However, I only use 64 bit PostgreSql.
>
> HTH.
>
> Rob
>