UsergeTeam / Userge

Userge, Durable as a Serge
https://userge.tech
GNU General Public License v3.0
677 stars 2.02k forks source link

Docker won´t build #377

Closed sarah278 closed 3 years ago

sarah278 commented 3 years ago

Userge won´t build from Dockerfile

First Part: Package 'libgconf2-4' has no installation candidate --> change libgconf2-4 to libgconf-2-4 Package 'libnss3-1d' has no installation candidate --> change libnss3-1d to libnss3

Second Part: ... Unpacking libc6:amd64 (2.31-17) over (2.28-10) ... Setting up libc6:amd64 (2.31-17) ... /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: libc6:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) The command '/bin/sh -c apt -qq install -y --no-install-recommends curl git gcc g++ build-essential gnupg2 unzip wget ffmpeg libgconf-2-4 libnss3 libxss1 jq' returned a non-zero code: 100

For part 2 i haven´t a solution, but i´m looking in it...

justTheKai commented 3 years ago

Issue come from debian repo

tomyprs commented 3 years ago

Userge won´t build from Dockerfile

First Part: Package 'libgconf2-4' has no installation candidate --> change libgconf2-4 to libgconf-2-4 Package 'libnss3-1d' has no installation candidate --> change libnss3-1d to libnss3

Second Part: ... Unpacking libc6:amd64 (2.31-17) over (2.28-10) ... Setting up libc6:amd64 (2.31-17) ... /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: libc6:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) The command '/bin/sh -c apt -qq install -y --no-install-recommends curl git gcc g++ build-essential gnupg2 unzip wget ffmpeg libgconf-2-4 libnss3 libxss1 jq' returned a non-zero code: 100

For part 2 i haven´t a solution, but i´m looking in it... Thanks for reporting issue

rking32 commented 3 years ago

@justTheKai do you know how to fix ?

sarah278 commented 3 years ago

@justTheKai this was the right hint... thank you

change baseimage from python:3.9-buster-slim to python:3.9-bullseye later i try small baseimage

build is now in progress without errors a this point

sarah278 commented 3 years ago

Build complete...

Changes i made: