VariantEffect / mavedb-api

MaveDB API
GNU Affero General Public License v3.0
8 stars 2 forks source link

apt-get install stage of build fails with At least one invalid signature was encountered. #142

Closed ashsny closed 3 weeks ago

ashsny commented 7 months ago

the internet seems to think this is most often caused by running out of disk space, but I have plenty and docker image prune -f and docker container prune -f do not solve.

another possible solution is adding apt-get clean before install, which does seem to fix.

full error:

0.141 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.158 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
0.168 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.177 Err:1 http://deb.debian.org/debian bookworm InRelease
0.177   At least one invalid signature was encountered.
0.193 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
0.193   At least one invalid signature was encountered.
0.210 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
0.210   At least one invalid signature was encountered.
0.211 Reading package lists...
0.218 W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
0.218 E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
0.218 W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
0.218 E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
0.218 W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
0.218 E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
------
Dockerfile:6
--------------------
   5 |     # Install tools necessary used to install samtools and htslib so we can configure fasta files for genomic assembly.
   6 | >>> RUN apt-get update && apt-get install -y \
   7 | >>>  build-essential \
   8 | >>>  curl \
   9 | >>>  git \
  10 | >>>  libbz2-dev \
  11 | >>>  libcurl4-openssl-dev \
  12 | >>>  libgsl0-dev \
  13 | >>>  liblzma-dev \
  14 | >>>  libncurses5-dev \
  15 | >>>  libperl-dev \
  16 | >>>  libssl-dev \
  17 | >>>  zlib1g-dev \
  18 | >>>     && rm -rf /var/lib/apt/lists/*
  19 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y \tbuild-essential \tcurl \tgit \tlibbz2-dev \tlibcurl4-openssl-dev \tlibgsl0-dev \tliblzma-dev \tlibncurses5-dev \tlibperl-dev \tlibssl-dev \tzlib1g-dev     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
bencap commented 3 weeks ago

Closing as completed via #143.