Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose build fails on Ubuntu Docker 18.06.1~ce~3 on 18.04 #44

Closed
yanokwa opened this issue Jan 16, 2019 · 1 comment
Closed

Comments

@yanokwa
Copy link
Member

yanokwa commented Jan 16, 2019

root@test:~/central# docker-compose build
postgres uses an image, skipping
Building mail
Step 1/2 : FROM namshi/smtp
 ---> 524b2f546192
Step 2/2 : RUN apt-get update && apt-get dist-upgrade -y
 ---> Using cache
 ---> 4b374ea2d639
Successfully built 4b374ea2d639
Successfully tagged central_mail:latest
Building service
Step 1/11 : FROM node:carbon
 ---> 55b43107a63d
Step 2/11 : WORKDIR /usr/odk
 ---> Using cache
 ---> dd4ac806ee2f
Step 3/11 : RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list;   wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |   apt-key add -;   apt-get update; apt-get install -y cron gettext postgresql-client-9.6
 ---> Running in 8462e003ed6c
Warning: apt-key output should not be parsed (stdout is not a terminal)
key 7FCC7D46ACCC4CF8:
2 signatures not checked due to missing keys
OK
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt jessie-pgdg InRelease [56.5 kB]
Ign:3 http://deb.debian.org/debian stretch InRelease
Get:4 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://deb.debian.org/debian stretch Release [118 kB]
Get:6 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [467 kB]
Get:8 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 Packages [109 kB]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages [5152 B]
Get:10 http://deb.debian.org/debian stretch/main amd64 Packages [7089 kB]
Fetched 8034 kB in 2s (3030 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-client-9.6 : Depends: libpq5 (>= 9.6.11) but 9.6.10-0+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Service 'service' failed to build: The command '/bin/sh -c echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list;   wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |   apt-key add -;   apt-get update; apt-get install -y cron gettext postgresql-client-9.6' returned a non-zero code: 100
root@test:~/central# uname -a
Linux test 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@test:~/central#

Related?

@issa-tseng
Copy link
Member

seems like some sort of weird configuration problem with the latest carbon base image.

when i pin the version to 8.11.3 it works perfectly. so i'm just going to do that for now because tbh these sorts of apt problems are far, far beyond me.

issa-tseng added a commit that referenced this issue Jan 17, 2019
issa-tseng added a commit that referenced this issue Jan 17, 2019
bug #44: latest node:carbon has some sort of apt pinning problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants