Closed neargle closed 4 years ago
I'll work on it shortly. In the meantime, can you update both your docker engine, docker-compose and try again?
I update to docker v19.03.8 and docker-compose version 1.25.5, and get the same error.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgnutls-dane0 : Depends: libgnutls30 (= 3.6.7-4+deb10u2) but 3.6.7-4+deb10u3 is to be installed
libgnutls-openssl27 : Depends: libgnutls30 (= 3.6.7-4+deb10u2) but 3.6.7-4+deb10u3 is to be installed
libgnutls28-dev : Depends: libgnutls30 (= 3.6.7-4+deb10u2) but 3.6.7-4+deb10u3 is to be installed
libgnutlsxx28 : Depends: libgnutls30 (= 3.6.7-4+deb10u2) but 3.6.7-4+deb10u3 is to be installed
libssl-dev : Depends: libssl1.1 (= 1.1.1d-0+deb10u2) but 1.1.1d-0+deb10u3 is to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y libcurl4=7.64.0-4+deb10u1 libpython3.7-minimal=3.7.3-2+deb10u1 libcurl4-openssl-dev=7.64.0-4+deb10u1 python3.7-minimal=3.7.3-2+deb10u1 python3-minimal=3.7.3-1 mime-support=3.62 libmpdec2=2.4.2-2 libpython3.7-stdlib=3.7.3-2+deb10u1 python3.7=3.7.3-2+deb10u1 libpython3-stdlib=3.7.3-1 python3=3.7.3-1 less=487-0.1+b1 sensible-utils=0.0.12 bzip2=1.0.6-9.2~deb10u1 libmagic-mgc=1:5.35-4+deb10u1 libmagic1=1:5.35-4+deb10u1 file=1:5.35-4+deb10u1 krb5-locales=1.17-3 manpages=4.16-2 netcat-traditional=1.10-41.1 ucf=3.0038+nmu1 xz-utils=5.2.4-1 libapr1=1.6.5-1+b1 libaprutil1=1.6.1-4 apache2-utils=2.4.38-3+deb10u3 binutils-common=2.31.1-16 libbinutils=2.31.1-16 binutils-x86-64-linux-gnu=2.31.1-16 binutils=2.31.1-16 libisl19=0.20-2 libmpfr6=4.0.2-1 libmpc3=1.1.0-1 cpp-8=8.3.0-6 cpp=4:8.3.0-1 python3-lib2to3=3.7.3-1 python3-distutils=3.7.3-1 dh-python=3.20190308 fonts-dejavu-core=2.37-1 fontconfig-config=2.13.1-2 libcc1-0=8.3.0-6 libgomp1=8.3.0-6 libitm1=8.3.0-6 libatomic1=8.3.0-6 libasan5=8.3.0-6 liblsan0=8.3.0-6 libtsan0=8.3.0-6 libubsan1=8.3.0-6 libmpx2=8.3.0-6 libquadmath0=8.3.0-6 libgcc-8-dev=8.3.0-6 gcc-8=8.3.0-6 gcc=4:8.3.0-1 geoip-database=20181108-1 libbsd0=0.9.1-2 libc-dev-bin=2.28-10 linux-libc-dev=4.19.98-1 libc6-dev=2.28-10 libkeyutils1=1.6-6 libkrb5support0=1.17-3 libk5crypto3=1.17-3 libkrb5-3=1.17-3 libgssapi-krb5-2=1.17-3 libsasl2-modules-db=2.1.27+dfsg-1+deb10u1 libsasl2-2=2.1.27+dfsg-1+deb10u1 libldap-common=2.4.47+dfsg-3+deb10u1 libldap-2.4-2=2.4.47+dfsg-3+deb10u1 libnghttp2-14=1.36.0-2+deb10u1 libpsl5=0.20.2-2 librtmp1=2.4+20151223.gitfa8646d.1-2 libssh2-1=1.8.0-2.1 libevent-2.1-6=2.1.8-stable-4 libexpat1-dev=2.2.6-2+deb10u1 libpng16-16=1.6.36-6 libfreetype6=2.9.1-3+deb10u1 libfontconfig1=2.13.1-2 libjpeg62-turbo=1:1.5.2-2+b1 libjbig0=2.1-3.1+b2 libwebp6=0.6.1-2 libtiff5=4.1.0+git191117-2~deb10u1 libxau6=1:1.0.8-1+b2 libxdmcp6=1:1.1.2-3 libxcb1=1.13.1-2 libx11-data=2:1.6.7-1 libx11-6=2:1.6.7-1 libxpm4=1:3.5.12-1 libgd3=2.2.5-5.2 libgeoip1=1.6.12-1 libgmpxx4ldbl=2:6.1.2+dfsg-4 libgmp-dev=2:6.1.2+dfsg-4 libunbound8=1.9.0-2+deb10u1 libgnutls-dane0=3.6.7-4+deb10u2 libgnutls-openssl27=3.6.7-4+deb10u2 libgnutlsxx28=3.6.7-4+deb10u2 libidn2-dev=2.0.5-1+deb10u1 libp11-kit-dev=0.23.15-2 libtasn1-6-dev=4.13-3 nettle-dev=3.4.1-1 libgnutls28-dev=3.6.7-4+deb10u2 libicu63=63.1-6 mysql-common=5.8+1.0.5 mariadb-common=1:10.3.22-0+deb10u1 libmariadb3=1:10.3.22-0+deb10u1 zlib1g-dev=1:1.2.11.dfsg-1 libmariadb-dev=1:10.3.22-0+deb10u1 lsb-base=10.2019051400 nginx-common=1.14.2-2+deb10u1 libnginx-mod-http-auth-pam=1.14.2-2+deb10u1 libxml2=2.9.4+dfsg1-7+b3 libxslt1.1=1.1.32-2.2~deb10u1 libnginx-mod-http-dav-ext=1.14.2-2+deb10u1 libnginx-mod-http-echo=1.14.2-2+deb10u1 libnginx-mod-http-geoip=1.14.2-2+deb10u1 libnginx-mod-http-image-filter=1.14.2-2+deb10u1 libnginx-mod-http-subs-filter=1.14.2-2+deb10u1 libnginx-mod-http-upstream-fair=1.14.2-2+deb10u1 libnginx-mod-http-xslt-filter=1.14.2-2+deb10u1 libnginx-mod-mail=1.14.2-2+deb10u1 libnginx-mod-stream=1.14.2-2+deb10u1 libpython3.7=3.7.3-2+deb10u1 libpython3.7-dev=3.7.3-2+deb10u1 libpython3-dev=3.7.3-1 libsasl2-modules=2.1.27+dfsg-1+deb10u1 libssl-dev=1.1.1d-0+deb10u2 libtasn1-doc=4.13-3 libutempter0=1.1.6-3 manpages-dev=4.16-2 netcat=1.10-41.1 nginx-full=1.14.2-2+deb10u1 nginx=1.14.2-2+deb10u1 publicsuffix=20190415.1030-1 python3.7-dev=3.7.3-2+deb10u1 python3-dev=3.7.3-1 screen=4.6.2-3 openssh-client=1:7.9p1-10+deb10u2 procps' returned a non-zero code: 100
I was not able to recreate the issue with the following:
Docker version 19.03.5
docker-compose version 1.25.3
At this point I'm not sure what can be causing this or how we can debug it. Docker images should be exact same, and so distribution and repository packages. Maybe your geolocation picks the different debian repository with broken packages? No idea.
In a blind attempt I tried to force libgnutls30==3.6.7-4+deb10u2
version.
Patch have been pushed to the dev branch.
Try git clone -b dev https://github.com/FooBallZ/pulsar
, install it and see if that works.
Thx for reply, i worked on it:
git clone -b dev https://github.com/FooBallZ/pulsar pular_dev
cd pular_dev
git log
bash install.sh
And get error:
Step 3/17 : COPY secrets_storage/sandbox_key /etc/ssh/sandbox_key
---> f83f434c4a5f
Step 4/17 : RUN chmod 0600 /etc/ssh/sandbox_key
---> Running in 6c7c32fea3c1
Removing intermediate container 6c7c32fea3c1
---> 143233b04883
Step 5/17 : RUN apt-mark hold libgnutls30=3.6.7-4+deb10u2 # compability fix for #29
---> Running in b0b20cd4a363
E: Version '3.6.7-4+deb10u2' for 'libgnutls30' was not found
E: No packages found
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-mark hold libgnutls30=3.6.7-4+deb10u2 # compability fix for #29' returned a non-zero code: 100
Failed to build docker containers.
I also debugged myself, I removed the version option after the dependency installation with the same error, for example: apt-get install -y libcurl4 = 7.64.0-4 + deb10u1 to apt-get install -y libcurl4, but get the same error.
Maybe your geolocation picks the different debian repository with broken packages?
I try this install action in a CVM on hongkong.
Hi, I get the error too when installing.
My docker engine, docker-compose version:
I retry in Docker version 18.09.0/{docker-compose version 1.23.2/Ubuntu 16.04.5 LTS and get the same error:
ok
I was able to recreate the issue with fresh python:2.8.2-buster
image.
I have resolved it in dev branch, please clone it again and try with docker-compose build --no-cache web
Thanks for your help.
@neargle can you confirm as well?
Hi, After docker-compose build --no-cache web , what command should i use to run the image?
# docker-compose up --force-recreate
The best way is to start from scratch, so in case of problems make a fresh clone and run install.sh
Great, https://github.com/FooBallZ/pulsar/commit/223d06aac8aac099e537f3ab3cddd2b509613e62 the fix is work!!! All containers is up~ Thx and best wishes~ I think we can close this issue, and do you know what is the main problem here?
when I open https://ipv4-ip:8443/
Your connection is not private
Attackers might be trying to steal your information from ipv4-ip (for example, passwords, messages or credit cards). Learn more
NET::ERR_CERT_INVALID
How can i deal with it.
Great, 223d06a the fix is work!!! All containers is up~ Thx and best wishes~ I think we can close this issue, and do you know what is the main problem here?
No idea, it seems that either docker image or debian repository have changed. One thing is certain, docker is not as portable as I thought.
when I open https://ipv4-ip:8443/
Your connection is not private Attackers might be trying to steal your information from ipv4-ip (for example, passwords, messages or credit cards). Learn more NET::ERR_CERT_INVALID
How can i deal with it.
Self signed certificate.
Closing the issue. I will merge dev into master shortly.
Describe the bug error message when install:
To Reproduce Steps to reproduce the behavior:
Expected behavior docker build or docker-compose build will run normal and succeed.
Screenshots
Version (please complete the following information):
CentOS Linux release 7.6.1810 (Core)
Linux 10-8-161-27 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Additional details