Skip to content

error installing postgresql-dev with python:3.8.2-alpine #478

@domdinicola

Description

@domdinicola

using python:3.8.2-alpine I get unsatisfiable constraints when installing postgresql-dev
any advice?

Step 1/30 : FROM python:3.8.2-alpine as builder
 ---> d5e5ad4a4fc0
Step 2/30 : RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
 ---> Using cache
 ---> f7e2e8d8c33a
Step 3/30 : RUN apk update
 ---> Using cache
 ---> 7893a9176908
Step 4/30 : RUN apk add --upgrade apk-tools
 ---> Using cache
 ---> 43554075b7c2
Step 5/30 : RUN apk add     --update alpine-sdk
 ---> Using cache
 ---> b193f988b3ce
Step 6/30 : RUN apk add postgresql-dev
 ---> Running in 530e765e6143
ERROR: unsatisfiable constraints:
  libffi-3.2.1-r6:
    conflicts: libffi-3.3-r2
    satisfies: llvm9-libs-9.0.0-r1[so:libffi.so.6]
               .python-rundeps-20200324.025755[so:libffi.so.6]
  libffi-3.3-r2:
    conflicts: libffi-3.2.1-r6
    satisfies: llvm10-libs-10.0.0-r2[so:libffi.so.7]
The command '/bin/sh -c apk add postgresql-dev' returned a non-zero code: 9
Makefile:11: recipe for target 'release' failed
make: *** [release] Error 9
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions