Search Postgresql Archives

Re: apt.postgresql.org ubtuntu trusty missing libpq version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/29/2016 11:19 AM, Leonard B wrote:
Ccing list
On Fri, Jan 29, 2016 at 10:29 AM, Adrian Klaver
<adrian.klaver@xxxxxxxxxxx> wrote:
On 01/29/2016 06:17 AM, Leonard B wrote:

Hello,

Trying to get pg_repack built for Postgresql 9.4 and it appears there
are no 9.4 versions of libpq-dev and libpq5 available in the trusty
repo.

pg_repack will not build with the latest and greatest versions. I ran
into exactly the same issue with Debian Squeeze, but in that case the
9.4 versions are available in apt.postgresql.org

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

$ sudo apt-get install libpq-dev=9.4\* libpq5=9.4\*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '9.4*' for 'libpq-dev' was not found
E: Version '9.4*' for 'libpq5' was not found



https://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but_there_is_only_version_Y_in_the_repository

Thanks Adrian,

Seems after updating apt sources I could use "sudo apt-get install
libpq-dev=9.4\* libpq5=9.4\*"

I will note that even with "deb
http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.4" the
default versions are for 9.5 right now

Did you see this part:

"Note that the other libpq5 package will still be visible in the "main" component, so you will need to configure pinning or set that package on hold to prevent apt from trying to upgrade to the newer version. "

of the above link?

Also do you have more than one Postgres repo in your sources?

Worse comes to worse I could see downloading the source for 9.4.5 and building and installing into a 'dummy' location. And then build pg_repack against that install:

cd pg_repack
PATH=/path/to/src_installed94/bin:$PATH --To pull in correct pg_config
$ make
$ sudo make install


Leonard



Thanks,
Leonard




--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux