Re: i386 postgres on i686 debian with multiarch

From: Damian Dimmich <damian(at)tauri-tec(dot)com>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: i386 postgres on i686 debian with multiarch
Date: 2014-11-30 18:46:12
Message-ID: 547B65F4.5040308@tauri-tec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Léa Massiot 2014-11-30 19:44:41 Remote PostgreSQL database - C/C++ program / Unix / Required Libraries
Previous Message Adrian Klaver 2014-11-30 15:03:52 Re: When was ANALYZE run in the past?