Thread: Need missed libpq 9.4.5 and libpq-dev version 9.4.5 package on http://apt.postgresql.org/ for resolve broken dependency

i was compile posgtresql 9.4 extension over pgxn on ubuntu 14.04 LTS
when postgresql 9.5 was releases
my standart workflow was broken

wget -q -O- https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >
/etc/apt/source.list.d/pgsql.list
apt-get update
apt-get install python-pip libedit-dev libpq-dev postgresql-9.4
postgresql-server-dev-9.4
pip install --upgrade pgxnclient
pgxn install pg_repack

see https://github.com/reorg/pg_repack/issues/63

i try fix this

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


libpq-dev in 9.4 section apt.postgresql.org
depends on
libpq5 (= 9.4~rc1-1.pgdg14.04+1)

but
postgresql-9.4 package
depends on postgresql-client-9.4
which depends libpq5=9.4.5

apt.postgresql.org contains only versions
9.5.0-1.pgdg14.04+2 0
9.4~rc1-1.pgdg14.04+1 0

could anybody update 9.4 section on
https://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/9.4/
for libpq5 - 9.4.5 and lippq-dev - 9.4.5 ???


i was compile posgtresql 9.4 extension over pgxn on ubuntu 14.04 LTS
when postgresql 9.5 was releases
my standart workflow was broken

wget -q -O- https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >
/etc/apt/source.list.d/pgsql.list
apt-get update
apt-get install python-pip libedit-dev libpq-dev postgresql-9.4
postgresql-server-dev-9.4
pip install --upgrade pgxnclient
pgxn install pg_repack

see https://github.com/reorg/pg_repack/issues/63

i try fix this

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


libpq-dev in 9.4 section apt.postgresql.org
depends on
libpq5 (= 9.4~rc1-1.pgdg14.04+1)

but
postgresql-9.4 package
depends on postgresql-client-9.4
which depends libpq5=9.4.5

apt.postgresql.org contains only versions
9.5.0-1.pgdg14.04+2 0
9.4~rc1-1.pgdg14.04+1 0

could anybody update 9.4 section on
https://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/9.4/
for libpq5 - 9.4.5 and lippq-dev - 9.4.5 ???


Re: Eugene Klimov 2016-01-14 <CALEv0Pi5bikZqw-+pBUg7pnCrOtm3T46cYFyRf6FZr8LJo-GhQ@mail.gmail.com>
> apt-get install libedit-dev libpq5=9.4* libpq-dev=9.4*

Oh interesting, I wasn't aware that patterns could be used for version
numbers.

> 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

> could anybody update 9.4 section on
> https://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/9.4/
> for libpq5 - 9.4.5 and lippq-dev - 9.4.5 ???

Fixed, thanks for spotting! (I should have done this right after the
9.5 release...)

Christoph
--
cb@df7cb.de | http://www.df7cb.de/