Closed Slach closed 8 years ago
I believe the versions of libpq-dev and postgresql-server-dev need to match for pg_repack to compile properly.
thanks do you know right bugtracker link for report issue for official apt.postgresql.org repository bugs?
It’s not a bug. You just need to specify 9.4
on the end of your sources.list entry and it will allow you to install the 9.4 version of libpq-dev instead of the default which is always the latest.
i try
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.4" > /etc/apt/source.list.d/pgsql.list apt-get update apt-get purge libpq5 apt-get install libedit-dev libpq5=9.4* libpq-dev=9.4* apt-mark hold libpq5 apt-get install postgresql-9.4 postgresql-server-dev-9.4
but have error
The following packages have unmet dependencies: postgresql-client-9.4 : Depends: libpq5 (>= 9.4.5) but 9.4~rc1-1.pgdg14.04+1 is to be installed
when i run apt-mark unhold libpq5 apt-get install postgresql-9.4 postgresql-server-dev-9.4 will install libpq5 9.5.x and libpq-dev 9.5.x this not compatible with postgresql-server-dev-9.4 headers
i will submit bug into http://www.postgresql.org/list/pgsql-pkg-debian/ maybe mantainers fix this
all fixed see this http://www.postgresql.org/message-id/20160114214044.GA26251@msg.df7cb.de
pg_repack not compatible with libpq5 9.5 ???
steps to reproduce
error output