Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4023 closed defect (fixed)

gitlab failing caouse can't find postgresql 9.4

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 2.5.0
Component: QA/buildbots Version: master
Keywords: Cc:

Description

I was looking at why gitlab is failing on recent tests. It's showing this.

This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'postgresql-9.4' has no installation candidate
E: Unable to locate package postgresql-server-dev-9.4
E: Couldn't find any package by glob 'postgresql-server-dev-9.4'
E: Couldn't find any package by regex 'postgresql-server-dev-9.4'
E: Unable to locate package libjson0-dev
ERROR: Job failed: exit code 1

Change History (7)

comment:1 by robe, 7 years ago

Owner: changed from robe to strk

comment:2 by strk, 7 years ago

I created a "gitlab-ci" branch on gitlab to try at fixing this: https://gitlab.com/postgis/postgis/merge_requests/8

comment:3 by strk, 7 years ago

Ok this is scary:

$ apt-cache search postgresql
libpq-dev - header files for libpq5 (PostgreSQL library)
libpq5 - PostgreSQL C client library

Comes from https://gitlab.com/postgis/postgis/-/jobs/53520863

Time to switch gitlab-ci to Docker too ?

comment:4 by strk, 7 years ago

After an apt-get update I see PostgreSQL-9.6 is available. More packages changed names though, so that branch needs more love.

comment:5 by strk, 7 years ago

Resolution: fixed
Status: newclosed

In 16394:

Switch to PostgreSQL 9.6 and libjson-c-dev

Fixes gitlab-ci build, closes #4023

comment:6 by strk, 7 years ago

In 16401:

[gitlab-ci] Switch to PostgreSQL 9.6 and libjson-c-dev

Fixes gitlab-ci build for 2.4, references #4023

comment:7 by strk, 7 years ago

In 16408:

[gitlab-ci] Switch to PostgreSQL 9.6 and libjson-c-dev

Fixes gitlab-ci build for 2.3, references #4023

Note: See TracTickets for help on using tickets.