0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M1 mac Sonoma14でdocker buildに失敗する

Posted at

環境

  • M1 macbook Air (Sonoma 14.5)
  • Docker Desktop 4.31.0
  • Docker 25.0.5

エラー内容

terminal
RUN     apt-get update &&     buildDeps="make gcc g++ libc-dev python3-dev default-libmysqlclient-dev build-essential fonts-ipaexfont-gothic wget supervisor poppler-utils libzbar0 pandoc" &&     apt-get install -y --no-install-recommends $buildDeps libxml2-dev libxmlsec1-dev libxmlsec1-openssl:
0.200 Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0.222 Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
0.242 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
0.273 Get:4 http://security.debian.org/debian-security buster/updates/main arm64 Packages [589 kB]
0.326 Get:5 http://deb.debian.org/debian buster/main arm64 Packages [7737 kB]
0.400 Get:6 http://deb.debian.org/debian buster-updates/main arm64 Packages [8780 B]
1.102 Fetched 8548 kB in 1s (9113 kB/s)
1.102 Reading package lists...
1.450 Reading package lists...
1.773 Building dependency tree...
1.838 Reading state information...
1.917 The following additional packages will be installed:
1.917   binutils binutils-aarch64-linux-gnu binutils-common bzip2 cpp cpp-8
1.917   dh-python dpkg-dev fontconfig-config fonts-dejavu-core g++-8 gcc-8
1.917   icu-devtools libasan5 libatomic1 libbinutils libbsd0 libbz2-1.0 libc-dev-bin
1.917   libc6 libcairo2 libcc1-0 libdbus-1-3 libdpkg-perl libevent-2.1-6 libexpat1
1.917   libexpat1-dev libfontconfig1 libfreetype6 libgcc-8-dev libgcrypt20
1.917   libgcrypt20-dev libgdbm-compat4 libglib2.0-0 libgmp-dev libgmp10
1.917   libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev
1.917   libgnutls30 libgnutlsxx28 libgomp1 libgpg-error-dev libhogweed4 libice6
1.917   libicu-dev libicu63 libidn2-dev libisl19 libitm1 libjbig0 libjpeg62-turbo
1.917   liblcms2-2 liblsan0 liblua5.1-0 libmariadb-dev libmariadb-dev-compat
1.917   libmariadb3 libmpc3 libmpdec2 libmpfr6 libnettle6 libnspr4 libnspr4-dev
1.917   libnss3 libnss3-dev libopenjp2-7 libp11-kit-dev libp11-kit0 libpcre2-8-0
1.917   libperl5.28 libpixman-1-0 libpng16-16 libpoppler82 libpsl5 libpython-stdlib
1.917   libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-dev
1.917   libpython3-stdlib libpython3.7 libpython3.7-dev libpython3.7-minimal
1.918   libpython3.7-stdlib libsm6 libssl-dev libssl1.1 libstdc++-8-dev libtasn1-6
1.918   libtasn1-6-dev libtiff5 libtsan0 libubsan1 libunbound8 libv4l-0
1.918   libv4lconvert0 libwebp6 libx11-6 libx11-data libxau6 libxcb-render0
1.918   libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxmlsec1 libxmlsec1-gcrypt
1.918   libxmlsec1-gnutls libxmlsec1-nss libxrender1 libxslt1-dev libxslt1.1
1.918   libyaml-0-2 linux-libc-dev lsb-base mariadb-common mime-support mysql-common
1.918   nettle-dev pandoc-data patch perl perl-modules-5.28 pkg-config python
1.918   python-meld3 python-minimal python-pkg-resources python2 python2-minimal
1.918   python2.7 python2.7-minimal python3 python3-distutils python3-lib2to3
1.918   python3-minimal python3.7 python3.7-dev python3.7-minimal sensible-utils ucf
1.918   x11-common xz-utils zlib1g zlib1g-dev
1.918 Suggested packages:
1.918   binutils-doc bzip2-doc cpp-doc gcc-8-locales debian-keyring
1.918   fonts-ipaexfont-mincho gcc-8-doc libstdc++6-8-dbg gcc-multilib manpages-dev
1.918   autoconf automake libtool flex bison gdb gcc-doc libgcc1-dbg libgomp1-dbg
1.918   libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg
1.918   libubsan1-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libc-l10n locales gnupg
1.918   | gnupg2 git bzr rng-tools libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev
1.918   dns-root-data gnutls-bin gnutls-doc icu-doc liblcms2-utils libssl-doc
1.918   libstdc++-8-doc make-doc texlive-latex-recommended texlive-xetex
1.918   texlive-luatex pandoc-citeproc texlive-latex-extra context wkhtmltopdf
1.918   librsvg2-bin groff ghc nodejs php ruby r-base-core libjs-mathjax node-katex
1.918   ed diffutils-doc perl-doc libterm-readline-gnu-perl
1.918   | libterm-readline-perl-perl libb-debug-perl liblocale-codes-perl python-doc
1.918   python-tk python-setuptools python2-doc python2.7-doc binfmt-support
1.918   python3-doc python3-tk python3-venv python3.7-venv python3.7-doc
1.918   supervisor-doc
1.918 Recommended packages:
1.918   fakeroot gnupg | gnupg2 libalgorithm-merge-perl manpages manpages-dev dbus
1.918   libfile-fcntllock-perl liblocale-gettext-perl libglib2.0-data
1.918   shared-mime-info xdg-user-dirs poppler-data publicsuffix libtasn1-doc file
2.361 The following NEW packages will be installed:
2.361   binutils binutils-aarch64-linux-gnu binutils-common build-essential bzip2
2.361   cpp cpp-8 default-libmysqlclient-dev dh-python dpkg-dev fontconfig-config
2.361   fonts-dejavu-core fonts-ipaexfont-gothic g++ g++-8 gcc gcc-8 icu-devtools
2.361   libasan5 libatomic1 libbinutils libbsd0 libc-dev-bin libc6-dev libcairo2
2.361   libcc1-0 libdbus-1-3 libdpkg-perl libevent-2.1-6 libexpat1-dev
2.361   libfontconfig1 libfreetype6 libgcc-8-dev libgcrypt20-dev libgdbm-compat4
2.361   libglib2.0-0 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27
2.361   libgnutls28-dev libgnutlsxx28 libgomp1 libgpg-error-dev libice6 libicu-dev
2.361   libicu63 libidn2-dev libisl19 libitm1 libjbig0 libjpeg62-turbo liblcms2-2
2.361   liblsan0 liblua5.1-0 libmariadb-dev libmariadb-dev-compat libmariadb3
2.361   libmpc3 libmpdec2 libmpfr6 libnspr4 libnspr4-dev libnss3 libnss3-dev
2.362   libopenjp2-7 libp11-kit-dev libpcre2-8-0 libperl5.28 libpixman-1-0
2.362   libpng16-16 libpoppler82 libpsl5 libpython-stdlib libpython2-stdlib
2.362   libpython2.7-minimal libpython2.7-stdlib libpython3-dev libpython3-stdlib
2.362   libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
2.362   libsm6 libssl-dev libstdc++-8-dev libtasn1-6-dev libtiff5 libtsan0 libubsan1
2.362   libunbound8 libv4l-0 libv4lconvert0 libwebp6 libx11-6 libx11-data libxau6
2.362   libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxml2-dev
2.362   libxmlsec1 libxmlsec1-dev libxmlsec1-gcrypt libxmlsec1-gnutls libxmlsec1-nss
2.362   libxmlsec1-openssl libxrender1 libxslt1-dev libxslt1.1 libyaml-0-2 libzbar0
2.362   linux-libc-dev lsb-base make mariadb-common mime-support mysql-common
2.362   nettle-dev pandoc pandoc-data patch perl perl-modules-5.28 pkg-config
2.362   poppler-utils python python-meld3 python-minimal python-pkg-resources
2.362   python2 python2-minimal python2.7 python2.7-minimal python3 python3-dev
2.362   python3-distutils python3-lib2to3 python3-minimal python3.7 python3.7-dev
2.362   python3.7-minimal sensible-utils supervisor ucf wget x11-common xz-utils
2.362   zlib1g-dev
2.362 The following packages will be upgraded:
2.362   libbz2-1.0 libc6 libexpat1 libgcrypt20 libgmp10 libgnutls30 libhogweed4
2.362   libnettle6 libp11-kit0 libssl1.1 libtasn1-6 zlib1g
2.390 12 upgraded, 152 newly installed, 0 to remove and 32 not upgraded.
2.390 Need to get 131 MB of archives.
2.390 After this operation, 573 MB of additional disk space will be used.
2.390 Get:1 http://deb.debian.org/debian buster/main arm64 perl-modules-5.28 all 5.28.1-6+deb10u1 [2873 kB]
2.393 Get:2 http://security.debian.org/debian-security buster/updates/main arm64 libc6 arm64 2.28-10+deb10u3 [2524 kB]
2.467 Get:3 http://security.debian.org/debian-security buster/updates/main arm64 libbz2-1.0 arm64 1.0.6-9.2~deb10u2 [45.7 kB]
2.468 Get:4 http://security.debian.org/debian-security buster/updates/main arm64 zlib1g arm64 1:1.2.11.dfsg-1+deb10u2 [88.4 kB]
2.477 Get:5 http://deb.debian.org/debian buster/main arm64 libgdbm-compat4 arm64 1.18.1-4 [44.0 kB]
2.479 Get:6 http://deb.debian.org/debian buster/main arm64 libperl5.28 arm64 5.28.1-6+deb10u1 [3727 kB]
2.482 Get:7 http://security.debian.org/debian-security buster/updates/main arm64 libpython2.7-minimal arm64 2.7.16-2+deb10u4 [397 kB]
2.486 Get:8 http://security.debian.org/debian-security buster/updates/main arm64 python2.7-minimal arm64 2.7.16-2+deb10u4 [1304 kB]
2.508 Err:8 http://security.debian.org/debian-security buster/updates/main arm64 python2.7-minimal arm64 2.7.16-2+deb10u4
2.508   Hash Sum mismatch
2.508   Hashes of expected file:
2.508    - SHA256:549eb0d6f71a1d9854e47b1d455bce2abdc25f3f566cb3bad63842829a9d4e3e
2.508    - MD5Sum:a649364371d2528eb3e44838064a3254 [weak]
2.508    - Filesize:1304216 [weak]
2.508   Hashes of received file:
2.508    - SHA256:df6193a99ebded3a3afccb8411f59be4ee52bce61177a9fa88d2d3c52b696a83
2.508    - MD5Sum:a7bdcf635cb9939ccc3b8f92c25daf3e [weak]
2.508    - Filesize:1304216 [weak]
2.508   Last modification reported: Sun, 24 Mar 2024 20:13:53 +0000
2.508 Err:9 http://security.debian.org/debian-security buster/updates/main arm64 libssl1.1 arm64 1.1.1n-0+deb10u6
2.508   Bad header line Bad header data [IP: 146.75.114.132 80]
2.547 Get:10 http://security.debian.org/debian-security buster/updates/main arm64 libexpat1 arm64 2.2.6-2+deb10u7 [87.5 kB]
2.548 Get:11 http://deb.debian.org/debian buster/main arm64 perl arm64 5.28.1-6+deb10u1 [204 kB]
2.550 Get:12 http://deb.debian.org/debian buster/main arm64 python2-minimal arm64 2.7.16-1 [41.4 kB]
2.559 Err:12 http://deb.debian.org/debian buster/main arm64 python2-minimal arm64 2.7.16-1
2.559   Hash Sum mismatch
2.559   Hashes of expected file:
2.559    - SHA256:fd0f0859ebcf172cceefedeaca215e5617a8e2619bb4af6cc76341679d37ca2b
2.559    - MD5Sum:b6daed8bb1d7c0fa29242d8772738098 [weak]
2.559    - Filesize:41352 [weak]
2.559   Hashes of received file:
2.559    - SHA256:d1fe0a62f8598a20b3962ec0770f08a183ad2d8a26fff1eead078b12272b47da
2.559    - MD5Sum:6cc28d29f22061867590cc5f15e0b226 [weak]
2.559    - Filesize:41352 [weak]
2.559   Last modification reported: Mon, 04 Mar 2019 21:12:38 +0000
2.559 Err:13 http://deb.debian.org/debian buster/main arm64 python-minimal arm64 2.7.16-1
2.559   Bad header line Bad header data [IP: 146.75.114.132 80]
2.562 Get:14 http://security.debian.org/debian-security buster/updates/main arm64 libpython2.7-stdlib arm64 2.7.16-2+deb10u4 [1893 kB]
2.584 Get:15 http://deb.debian.org/debian buster/main arm64 mime-support all 3.62 [37.2 kB]
2.589 Get:16 http://deb.debian.org/debian buster/main arm64 libpython2-stdlib arm64 2.7.16-1 [20.8 kB]
2.605 Get:17 http://deb.debian.org/debian buster/main arm64 libpython-stdlib arm64 2.7.16-1 [20.8 kB]
2.606 Get:18 http://deb.debian.org/debian buster/main arm64 python2 arm64 2.7.16-1 [41.6 kB]
2.607 Get:19 http://deb.debian.org/debian buster/main arm64 python arm64 2.7.16-1 [22.8 kB]
2.607 Get:20 http://deb.debian.org/debian buster/main arm64 fonts-ipaexfont-gothic all 00401-1 [3341 kB]
2.610 Get:21 http://security.debian.org/debian-security buster/updates/main arm64 python2.7 arm64 2.7.16-2+deb10u4 [306 kB]
2.618 Get:22 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-minimal arm64 3.7.3-2+deb10u7 [589 kB]
2.623 Get:23 http://security.debian.org/debian-security buster/updates/main arm64 python3.7-minimal arm64 3.7.3-2+deb10u7 [1406 kB]
2.638 Get:24 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-stdlib arm64 3.7.3-2+deb10u7 [1642 kB]
2.665 Get:25 http://security.debian.org/debian-security buster/updates/main arm64 python3.7 arm64 3.7.3-2+deb10u7 [331 kB]
2.667 Get:26 http://security.debian.org/debian-security buster/updates/main arm64 libtasn1-6 arm64 4.13-3+deb10u1 [50.6 kB]
2.667 Get:27 http://security.debian.org/debian-security buster/updates/main arm64 libgnutls30 arm64 3.6.7-4+deb10u12 [1063 kB]
2.675 Get:28 http://security.debian.org/debian-security buster/updates/main arm64 bzip2 arm64 1.0.6-9.2~deb10u2 [47.8 kB]
2.675 Get:29 http://security.debian.org/debian-security buster/updates/main arm64 libgnutls-openssl27 arm64 3.6.7-4+deb10u12 [317 kB]
2.677 Get:30 http://security.debian.org/debian-security buster/updates/main arm64 libxml2 arm64 2.9.4+dfsg1-7+deb10u6 [625 kB]
2.683 Err:30 http://security.debian.org/debian-security buster/updates/main arm64 libxml2 arm64 2.9.4+dfsg1-7+deb10u6
2.683   Hash Sum mismatch
2.683   Hashes of expected file:
2.683    - SHA256:6d8984fa41d35e7a502304a3d714b9c3e51a19413d592f264040975af4f56041
2.683    - MD5Sum:e5e05219f236c3dc824948e258507cc6 [weak]
2.683    - Filesize:624980 [weak]
2.683   Hashes of received file:
2.683    - SHA256:d47c30820dbd0db2c79d0e36e9cd3008761142fa294a55d81f74e43dcbf1ff33
2.683    - MD5Sum:7a02e94cb7b6db95735fc90a782e95db [weak]
2.683    - Filesize:624980 [weak]
2.683   Last modification reported: Sun, 30 Apr 2023 09:44:59 +0000
2.683 Err:31 http://security.debian.org/debian-security buster/updates/main arm64 libpcre2-8-0 arm64 10.32-5+deb10u1
2.683   Bad header line Bad header data [IP: 146.75.114.132 80]
2.734 Get:32 http://security.debian.org/debian-security buster/updates/main arm64 libc-dev-bin arm64 2.28-10+deb10u3 [271 kB]
2.755 Err:20 http://deb.debian.org/debian buster/main arm64 fonts-ipaexfont-gothic all 00401-1
2.755   Hash Sum mismatch
2.755   Hashes of expected file:
2.755    - SHA256:98bb0dd6580208dba8b3bbc97b7feb39088ad0d81ba0c974e63aa2dd89dcb945
2.755    - MD5Sum:e24f57e27134587c6725143906861d74 [weak]
2.755    - Filesize:3340580 [weak]
2.755   Hashes of received file:
2.755    - SHA256:96a57dd2e8e37c7b0925754d3df75907097a6797556f3ff25b759f6afa2aaac4
2.755    - MD5Sum:30d62e9fb8f6310626dadc20a98f20c1 [weak]
2.755    - Filesize:3340580 [weak]
2.755   Last modification reported: Tue, 30 Apr 2019 06:08:21 +0000
2.761 Get:33 http://security.debian.org/debian-security buster/updates/main arm64 linux-libc-dev arm64 4.19.304-1 [1584 kB]
2.762 Err:34 http://deb.debian.org/debian buster/main arm64 python3-minimal arm64 3.7.3-1
2.762   Bad header line Bad header data [IP: 146.75.114.132 80]
2.790 Get:35 http://deb.debian.org/debian buster/main arm64 libmpdec2 arm64 2.4.2-2 [77.7 kB]
2.800 Get:36 http://deb.debian.org/debian buster/main arm64 libpython3-stdlib arm64 3.7.3-1 [20.0 kB]
2.802 Get:37 http://security.debian.org/debian-security buster/updates/main arm64 libc6-dev arm64 2.28-10+deb10u3 [2327 kB]
2.811 Get:38 http://deb.debian.org/debian buster/main arm64 python3 arm64 3.7.3-1 [61.5 kB]
2.811 Get:39 http://deb.debian.org/debian buster/main arm64 libgmp10 arm64 2:6.1.2+dfsg-4+deb10u1 [226 kB]
2.821 Err:39 http://deb.debian.org/debian buster/main arm64 libgmp10 arm64 2:6.1.2+dfsg-4+deb10u1
2.821   Hash Sum mismatch
2.821   Hashes of expected file:
2.821    - SHA256:5ec3bd481106d1ce7d757f58f29dde5257056fdaa415b7ced01b7ff0bfafab0c
2.821    - MD5Sum:a2c2e6ca65902dcc0756466edfa5c41e [weak]
2.821    - Filesize:226168 [weak]
2.821   Hashes of received file:
2.821    - SHA256:2a1eede4472408b4e888174ff3fc3150c3d5036b4ed00dd1fbd7c1dbf4e961d7
2.821    - MD5Sum:8a5aa594f210eb36ec111882f93f756b [weak]
2.821    - Filesize:226168 [weak]
2.821   Last modification reported: Wed, 01 Dec 2021 02:59:22 +0000
2.853 Get:40 http://security.debian.org/debian-security buster/updates/main arm64 mariadb-common all 1:10.3.39-0+deb10u2 [33.6 kB]
2.853 Get:41 http://security.debian.org/debian-security buster/updates/main arm64 libmariadb3 arm64 1:10.3.39-0+deb10u2 [163 kB]
2.878 Get:42 http://security.debian.org/debian-security buster/updates/main arm64 libunbound8 arm64 1.9.0-2+deb10u4 [435 kB]
2.890 Get:43 http://security.debian.org/debian-security buster/updates/main arm64 libgnutls-dane0 arm64 3.6.7-4+deb10u12 [317 kB]
2.919 Get:44 http://security.debian.org/debian-security buster/updates/main arm64 libgnutlsxx28 arm64 3.6.7-4+deb10u12 [12.9 kB]
2.919 Get:45 http://security.debian.org/debian-security buster/updates/main arm64 libtasn1-6-dev arm64 4.13-3+deb10u1 [103 kB]
2.920 Get:46 http://security.debian.org/debian-security buster/updates/main arm64 libgnutls28-dev arm64 3.6.7-4+deb10u12 [1124 kB]
32.86 Err:46 http://security.debian.org/debian-security buster/updates/main arm64 libgnutls28-dev arm64 3.6.7-4+deb10u12
32.86   Hash Sum mismatch
32.86   Hashes of expected file:
32.86    - SHA256:4d446cee52efa3fced668a0eafc52539ea2caa1d2ee82d63dc762b6a00e1748d
32.86    - MD5Sum:6adc03c1c9d2c6f8095df17d1046f6af [weak]
32.86    - Filesize:1123780 [weak]
32.86   Hashes of received file:
32.86    - SHA256:d639fca8b8bc40e81fe417d41911561e7a17667abaa9822fe7b969c66c167a0d
32.86    - MD5Sum:a7af15e3ebb253cf5c9850640987eb01 [weak]
32.86    - Filesize:1123780 [weak]
32.86   Last modification reported: Mon, 26 Feb 2024 02:00:27 +0000
32.86 Err:47 http://security.debian.org/debian-security buster/updates/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-1+deb10u2
32.86   Bad header line Bad header data [IP: 146.75.114.132 80]
32.87 Get:48 http://deb.debian.org/debian buster/main arm64 libnettle6 arm64 3.4.1-1+deb10u1 [225 kB]
32.88 Get:49 http://security.debian.org/debian-security buster/updates/main arm64 libmariadb-dev arm64 1:10.3.39-0+deb10u2 [1021 kB]
32.89 Get:50 http://deb.debian.org/debian buster/main arm64 libhogweed4 arm64 3.4.1-1+deb10u1 [138 kB]
32.91 Get:51 http://deb.debian.org/debian buster/main arm64 libp11-kit0 arm64 0.23.15-2+deb10u1 [303 kB]
32.91 Get:52 http://security.debian.org/debian-security buster/updates/main arm64 libmariadb-dev-compat arm64 1:10.3.39-0+deb10u2 [32.8 kB]
32.91 Get:53 http://security.debian.org/debian-security buster/updates/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u6 [1190 kB]
32.94 Get:54 http://security.debian.org/debian-security buster/updates/main arm64 libpixman-1-0 arm64 0.36.0-1+deb10u1 [134 kB]
32.94 Get:55 http://security.debian.org/debian-security buster/updates/main arm64 libx11-data all 2:1.6.7-1+deb10u4 [299 kB]
32.94 Get:56 http://security.debian.org/debian-security buster/updates/main arm64 libx11-6 arm64 2:1.6.7-1+deb10u4 [735 kB]
32.95 Get:57 http://deb.debian.org/debian buster/main arm64 libgcrypt20 arm64 1.8.4-5+deb10u1 [488 kB]
32.95 Get:58 http://security.debian.org/debian-security buster/updates/main arm64 libdbus-1-3 arm64 1.12.28-0+deb10u1 [210 kB]
32.95 Get:59 http://security.debian.org/debian-security buster/updates/main arm64 libexpat1-dev arm64 2.2.6-2+deb10u7 [130 kB]
32.95 Get:60 http://security.debian.org/debian-security buster/updates/main arm64 libnss3 arm64 2:3.42.1-1+deb10u8 [1168 kB]
32.97 Get:61 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB]
32.98 Err:60 http://security.debian.org/debian-security buster/updates/main arm64 libnss3 arm64 2:3.42.1-1+deb10u8
32.98   Hash Sum mismatch
32.98   Hashes of expected file:
32.98    - SHA256:233eeb77dad337180ae0efc9097cf3018fa1fa11238504b441fd3a9d0e3c81ba
32.98    - MD5Sum:2c35a1668cf6b7df79f9c2913cc80a93 [weak]
32.98    - Filesize:1168000 [weak]
32.98   Hashes of received file:
32.98    - SHA256:29c7a0a29a56d35c0fa45bc0305c89ee526a852b2fed35b4437396132bd09c44
32.98    - MD5Sum:4fbc828fece715831d7596ae40c80098 [weak]
32.98    - Filesize:1168000 [weak]
32.98   Last modification reported: Sun, 10 Mar 2024 17:27:03 +0000
32.98 Err:62 http://security.debian.org/debian-security buster/updates/main arm64 libnss3-dev arm64 2:3.42.1-1+deb10u8
32.98   Bad header line Bad header data [IP: 146.75.114.132 80]
33.01 Get:63 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u3 [8154 kB]
33.02 Get:64 http://security.debian.org/debian-security buster/updates/main arm64 libwebp6 arm64 0.6.1-2+deb10u3 [246 kB]
33.05 Get:65 http://security.debian.org/debian-security buster/updates/main arm64 libtiff5 arm64 4.1.0+git191117-2~deb10u9 [261 kB]
33.07 Get:66 http://security.debian.org/debian-security buster/updates/main arm64 libpoppler82 arm64 0.71.0-5+deb10u3 [1431 kB]
33.13 Get:67 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7 arm64 3.7.3-2+deb10u7 [1373 kB]
33.14 Get:68 http://deb.debian.org/debian buster/main arm64 ucf all 3.0038+nmu1 [69.0 kB]
33.14 Get:69 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-dev arm64 3.7.3-2+deb10u7 [2383 kB]
33.15 Get:70 http://deb.debian.org/debian buster/main arm64 libpsl5 arm64 0.20.2-2 [53.6 kB]
33.16 Get:71 http://deb.debian.org/debian buster/main arm64 wget arm64 1.20.1-1.1 [888 kB]
33.18 Get:72 http://deb.debian.org/debian buster/main arm64 xz-utils arm64 5.2.4-1+deb10u1 [182 kB]
33.18 Get:73 http://security.debian.org/debian-security buster/updates/main arm64 libssl-dev arm64 1.1.1n-0+deb10u6 [1699 kB]
33.19 Get:74 http://deb.debian.org/debian buster/main arm64 binutils-common arm64 2.31.1-16 [2073 kB]
33.22 Get:75 http://security.debian.org/debian-security buster/updates/main arm64 libxml2-dev arm64 2.9.4+dfsg1-7+deb10u6 [749 kB]
33.23 Get:76 http://security.debian.org/debian-security buster/updates/main arm64 libxslt1.1 arm64 1.1.32-2.2~deb10u2 [225 kB]
33.23 Get:77 http://security.debian.org/debian-security buster/updates/main arm64 libxslt1-dev arm64 1.1.32-2.2~deb10u2 [518 kB]
33.24 Get:78 http://security.debian.org/debian-security buster/updates/main arm64 libzbar0 arm64 0.22-1+deb10u1 [124 kB]
33.24 Get:79 http://security.debian.org/debian-security buster/updates/main arm64 pandoc-data all 2.2.1-3+deb10u1 [329 kB]
33.24 Get:80 http://deb.debian.org/debian buster/main arm64 libbinutils arm64 2.31.1-16 [455 kB]
33.24 Get:81 http://security.debian.org/debian-security buster/updates/main arm64 pandoc arm64 2.2.1-3+deb10u1 [18.3 MB]
33.25 Get:82 http://deb.debian.org/debian buster/main arm64 binutils-aarch64-linux-gnu arm64 2.31.1-16 [2129 kB]
33.31 Get:83 http://deb.debian.org/debian buster/main arm64 binutils arm64 2.31.1-16 [56.7 kB]
33.32 Get:84 http://deb.debian.org/debian buster/main arm64 libisl19 arm64 0.20-2 [535 kB]
33.34 Get:85 http://deb.debian.org/debian buster/main arm64 libmpfr6 arm64 4.0.2-1 [746 kB]
33.36 Get:86 http://deb.debian.org/debian buster/main arm64 libmpc3 arm64 1.1.0-1 [38.0 kB]
33.37 Get:87 http://deb.debian.org/debian buster/main arm64 cpp-8 arm64 8.3.0-6 [7400 kB]
33.51 Get:88 http://deb.debian.org/debian buster/main arm64 cpp arm64 4:8.3.0-1 [19.4 kB]
33.52 Get:89 http://deb.debian.org/debian buster/main arm64 libcc1-0 arm64 8.3.0-6 [45.0 kB]
33.53 Get:90 http://deb.debian.org/debian buster/main arm64 libgomp1 arm64 8.3.0-6 [67.8 kB]
33.54 Get:91 http://deb.debian.org/debian buster/main arm64 libitm1 arm64 8.3.0-6 [24.0 kB]
33.55 Get:92 http://deb.debian.org/debian buster/main arm64 libatomic1 arm64 8.3.0-6 [8820 B]
33.56 Get:93 http://deb.debian.org/debian buster/main arm64 libasan5 arm64 8.3.0-6 [327 kB]
33.56 Get:94 http://security.debian.org/debian-security buster/updates/main arm64 poppler-utils arm64 0.71.0-5+deb10u3 [173 kB]
33.57 Get:95 http://security.debian.org/debian-security buster/updates/main arm64 python3.7-dev arm64 3.7.3-2+deb10u7 [514 kB]
33.57 Get:96 http://deb.debian.org/debian buster/main arm64 liblsan0 arm64 8.3.0-6 [118 kB]
33.59 Get:97 http://deb.debian.org/debian buster/main arm64 libtsan0 arm64 8.3.0-6 [262 kB]
33.60 Get:98 http://deb.debian.org/debian buster/main arm64 libubsan1 arm64 8.3.0-6 [111 kB]
33.61 Get:99 http://deb.debian.org/debian buster/main arm64 libgcc-8-dev arm64 8.3.0-6 [835 kB]
33.63 Get:100 http://deb.debian.org/debian buster/main arm64 gcc-8 arm64 8.3.0-6 [7879 kB]
33.74 Get:101 http://deb.debian.org/debian buster/main arm64 gcc arm64 4:8.3.0-1 [5212 B]
33.75 Get:102 http://deb.debian.org/debian buster/main arm64 libstdc++-8-dev arm64 8.3.0-6 [1502 kB]
33.77 Get:103 http://deb.debian.org/debian buster/main arm64 g++-8 arm64 8.3.0-6 [8176 kB]
33.88 Get:104 http://deb.debian.org/debian buster/main arm64 g++ arm64 4:8.3.0-1 [1624 B]
33.89 Get:105 http://deb.debian.org/debian buster/main arm64 make arm64 4.2.1-1.2 [333 kB]
33.90 Get:106 http://deb.debian.org/debian buster/main arm64 libdpkg-perl all 1.19.8 [1415 kB]
33.93 Get:107 http://deb.debian.org/debian buster/main arm64 patch arm64 2.7.6-3+deb10u1 [122 kB]
33.94 Get:108 http://deb.debian.org/debian buster/main arm64 dpkg-dev all 1.19.8 [1776 kB]
33.97 Get:109 http://deb.debian.org/debian buster/main arm64 build-essential arm64 12.6 [7576 B]
33.98 Get:110 http://deb.debian.org/debian buster/main arm64 mysql-common all 5.8+1.0.5 [7324 B]
33.99 Get:111 http://deb.debian.org/debian buster/main arm64 libevent-2.1-6 arm64 2.1.8-stable-4 [150 kB]
34.00 Get:112 http://deb.debian.org/debian buster/main arm64 libidn2-dev arm64 2.0.5-1+deb10u1 [79.0 kB]
34.01 Get:113 http://deb.debian.org/debian buster/main arm64 libp11-kit-dev arm64 0.23.15-2+deb10u1 [196 kB]
34.02 Get:114 http://deb.debian.org/debian buster/main arm64 libgmpxx4ldbl arm64 2:6.1.2+dfsg-4+deb10u1 [22.7 kB]
34.03 Get:115 http://deb.debian.org/debian buster/main arm64 libgmp-dev arm64 2:6.1.2+dfsg-4+deb10u1 [609 kB]
34.05 Get:116 http://deb.debian.org/debian buster/main arm64 nettle-dev arm64 3.4.1-1+deb10u1 [1091 kB]
34.07 Get:117 http://deb.debian.org/debian buster/main arm64 default-libmysqlclient-dev arm64 1.0.5 [3764 B]
34.08 Get:118 http://deb.debian.org/debian buster/main arm64 python3-lib2to3 all 3.7.3-1 [76.7 kB]
34.09 Get:119 http://deb.debian.org/debian buster/main arm64 python3-distutils all 3.7.3-1 [142 kB]
34.10 Get:120 http://deb.debian.org/debian buster/main arm64 dh-python all 3.20190308 [99.3 kB]
34.11 Get:121 http://deb.debian.org/debian buster/main arm64 fonts-dejavu-core all 2.37-1 [1068 kB]
34.13 Get:122 http://deb.debian.org/debian buster/main arm64 fontconfig-config all 2.13.1-2 [280 kB]
34.14 Get:123 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB]
34.16 Get:124 http://deb.debian.org/debian buster/main arm64 icu-devtools arm64 63.1-6+deb10u3 [179 kB]
34.17 Get:125 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2+deb10u1 [97.6 kB]
34.18 Get:126 http://deb.debian.org/debian buster/main arm64 libpng16-16 arm64 1.6.36-6 [287 kB]
34.19 Get:127 http://deb.debian.org/debian buster/main arm64 libfreetype6 arm64 2.9.1-3+deb10u3 [356 kB]
34.20 Get:128 http://deb.debian.org/debian buster/main arm64 libfontconfig1 arm64 2.13.1-2 [343 kB]
34.23 Get:129 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB]
34.24 Get:130 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB]
34.25 Get:131 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB]
34.26 Get:132 http://deb.debian.org/debian buster/main arm64 libxcb-render0 arm64 1.13.1-2 [108 kB]
34.27 Get:133 http://deb.debian.org/debian buster/main arm64 libxcb-shm0 arm64 1.13.1-2 [99.3 kB]
34.28 Get:134 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB]
34.29 Get:135 http://deb.debian.org/debian buster/main arm64 libxrender1 arm64 1:0.9.10-1 [30.4 kB]
34.30 Get:136 http://deb.debian.org/debian buster/main arm64 libcairo2 arm64 1.16.0-4+deb10u1 [644 kB]
34.31 Get:137 http://deb.debian.org/debian buster/main arm64 libgpg-error-dev arm64 1.35-1 [124 kB]
34.32 Get:138 http://deb.debian.org/debian buster/main arm64 libgcrypt20-dev arm64 1.8.4-5+deb10u1 [545 kB]
34.34 Get:139 http://deb.debian.org/debian buster/main arm64 lsb-base all 10.2019051400 [28.4 kB]
34.35 Get:140 http://deb.debian.org/debian buster/main arm64 x11-common all 1:7.7+19 [251 kB]
34.36 Get:141 http://deb.debian.org/debian buster/main arm64 libice6 arm64 2:1.0.9-2 [52.0 kB]
34.37 Get:142 http://deb.debian.org/debian buster/main arm64 libicu-dev arm64 63.1-6+deb10u3 [9064 kB]
34.49 Get:143 http://deb.debian.org/debian buster/main arm64 libjbig0 arm64 2.1-3.1+b2 [27.8 kB]
34.50 Get:144 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo arm64 1:1.5.2-2+deb10u1 [123 kB]
34.51 Get:145 http://deb.debian.org/debian buster/main arm64 liblcms2-2 arm64 2.9-3 [137 kB]
34.52 Get:146 http://deb.debian.org/debian buster/main arm64 liblua5.1-0 arm64 5.1.5-8.1+b2 [97.2 kB]
34.53 Get:147 http://deb.debian.org/debian buster/main arm64 libnspr4 arm64 2:4.20-1 [105 kB]
34.54 Get:148 http://deb.debian.org/debian buster/main arm64 libnspr4-dev arm64 2:4.20-1 [209 kB]
34.55 Get:149 http://deb.debian.org/debian buster/main arm64 libopenjp2-7 arm64 2.3.0-2+deb10u2 [148 kB]
34.56 Get:150 http://deb.debian.org/debian buster/main arm64 libpython3-dev arm64 3.7.3-1 [20.1 kB]
34.57 Get:151 http://deb.debian.org/debian buster/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB]
34.58 Get:152 http://deb.debian.org/debian buster/main arm64 libv4lconvert0 arm64 1.16.3-3 [126 kB]
34.59 Get:153 http://deb.debian.org/debian buster/main arm64 libv4l-0 arm64 1.16.3-3 [93.8 kB]
34.60 Get:154 http://deb.debian.org/debian buster/main arm64 libxmlsec1 arm64 1.2.27-2 [132 kB]
34.61 Get:155 http://deb.debian.org/debian buster/main arm64 libxmlsec1-gcrypt arm64 1.2.27-2 [60.0 kB]
34.61 Get:156 http://deb.debian.org/debian buster/main arm64 libxmlsec1-gnutls arm64 1.2.27-2 [52.2 kB]
34.62 Get:157 http://deb.debian.org/debian buster/main arm64 libxmlsec1-nss arm64 1.2.27-2 [76.4 kB]
34.64 Get:158 http://deb.debian.org/debian buster/main arm64 libxmlsec1-openssl arm64 1.2.27-2 [88.9 kB]
34.65 Get:159 http://deb.debian.org/debian buster/main arm64 libxmlsec1-dev arm64 1.2.27-2 [437 kB]
34.67 Get:160 http://deb.debian.org/debian buster/main arm64 libyaml-0-2 arm64 0.2.1-1 [41.4 kB]
34.68 Get:161 http://deb.debian.org/debian buster/main arm64 python-meld3 all 1.0.2-2 [37.3 kB]
34.69 Get:162 http://deb.debian.org/debian buster/main arm64 python-pkg-resources all 40.8.0-1 [182 kB]
34.70 Get:163 http://deb.debian.org/debian buster/main arm64 python3-dev arm64 3.7.3-1 [1264 B]
34.71 Get:164 http://deb.debian.org/debian buster/main arm64 supervisor all 3.3.5-1 [284 kB]
34.73 Fetched 129 MB in 32s (3987 kB/s)
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python2.7/python2.7-minimal_2.7.16-2+deb10u4_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:549eb0d6f71a1d9854e47b1d455bce2abdc25f3f566cb3bad63842829a9d4e3e
34.73     - MD5Sum:a649364371d2528eb3e44838064a3254 [weak]
34.73     - Filesize:1304216 [weak]
34.73    Hashes of received file:
34.73     - SHA256:df6193a99ebded3a3afccb8411f59be4ee52bce61177a9fa88d2d3c52b696a83
34.73     - MD5Sum:a7bdcf635cb9939ccc3b8f92c25daf3e [weak]
34.73     - Filesize:1304216 [weak]
34.73    Last modification reported: Sun, 24 Mar 2024 20:13:53 +0000
34.73 E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python-defaults/python2-minimal_2.7.16-1_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:fd0f0859ebcf172cceefedeaca215e5617a8e2619bb4af6cc76341679d37ca2b
34.73     - MD5Sum:b6daed8bb1d7c0fa29242d8772738098 [weak]
34.73     - Filesize:41352 [weak]
34.73    Hashes of received file:
34.73     - SHA256:d1fe0a62f8598a20b3962ec0770f08a183ad2d8a26fff1eead078b12272b47da
34.73     - MD5Sum:6cc28d29f22061867590cc5f15e0b226 [weak]
34.73     - Filesize:41352 [weak]
34.73    Last modification reported: Mon, 04 Mar 2019 21:12:38 +0000
34.73 E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python-defaults/python-minimal_2.7.16-1_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Failed to fetch http://deb.debian.org/debian/pool/main/f/fonts-ipaexfont/fonts-ipaexfont-gothic_00401-1_all.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:98bb0dd6580208dba8b3bbc97b7feb39088ad0d81ba0c974e63aa2dd89dcb945
34.73     - MD5Sum:e24f57e27134587c6725143906861d74 [weak]
34.73     - Filesize:3340580 [weak]
34.73    Hashes of received file:
34.73     - SHA256:96a57dd2e8e37c7b0925754d3df75907097a6797556f3ff25b759f6afa2aaac4
34.73     - MD5Sum:30d62e9fb8f6310626dadc20a98f20c1 [weak]
34.73     - Filesize:3340580 [weak]
34.73    Last modification reported: Tue, 30 Apr 2019 06:08:21 +0000
34.73 E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python3-defaults/python3-minimal_3.7.3-1_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gmp/libgmp10_6.1.2+dfsg-4+deb10u1_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:5ec3bd481106d1ce7d757f58f29dde5257056fdaa415b7ced01b7ff0bfafab0c
34.73     - MD5Sum:a2c2e6ca65902dcc0756466edfa5c41e [weak]
34.73     - Filesize:226168 [weak]
34.73    Hashes of received file:
34.73     - SHA256:2a1eede4472408b4e888174ff3fc3150c3d5036b4ed00dd1fbd7c1dbf4e961d7
34.73     - MD5Sum:8a5aa594f210eb36ec111882f93f756b [weak]
34.73     - Filesize:226168 [weak]
34.73    Last modification reported: Wed, 01 Dec 2021 02:59:22 +0000
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libx/libxml2/libxml2_2.9.4+dfsg1-7+deb10u6_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:6d8984fa41d35e7a502304a3d714b9c3e51a19413d592f264040975af4f56041
34.73     - MD5Sum:e5e05219f236c3dc824948e258507cc6 [weak]
34.73     - Filesize:624980 [weak]
34.73    Hashes of received file:
34.73     - SHA256:d47c30820dbd0db2c79d0e36e9cd3008761142fa294a55d81f74e43dcbf1ff33
34.73     - MD5Sum:7a02e94cb7b6db95735fc90a782e95db [weak]
34.73     - Filesize:624980 [weak]
34.73    Last modification reported: Sun, 30 Apr 2023 09:44:59 +0000
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/pcre2/libpcre2-8-0_10.32-5+deb10u1_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/g/gnutls28/libgnutls28-dev_3.6.7-4+deb10u12_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:4d446cee52efa3fced668a0eafc52539ea2caa1d2ee82d63dc762b6a00e1748d
34.73     - MD5Sum:6adc03c1c9d2c6f8095df17d1046f6af [weak]
34.73     - Filesize:1123780 [weak]
34.73    Hashes of received file:
34.73     - SHA256:d639fca8b8bc40e81fe417d41911561e7a17667abaa9822fe7b969c66c167a0d
34.73     - MD5Sum:a7af15e3ebb253cf5c9850640987eb01 [weak]
34.73     - Filesize:1123780 [weak]
34.73    Last modification reported: Mon, 26 Feb 2024 02:00:27 +0000
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/z/zlib/zlib1g-dev_1.2.11.dfsg-1+deb10u2_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/n/nss/libnss3_3.42.1-1+deb10u8_arm64.deb  Hash Sum mismatch
34.73    Hashes of expected file:
34.73     - SHA256:233eeb77dad337180ae0efc9097cf3018fa1fa11238504b441fd3a9d0e3c81ba
34.73     - MD5Sum:2c35a1668cf6b7df79f9c2913cc80a93 [weak]
34.73     - Filesize:1168000 [weak]
34.73    Hashes of received file:
34.73     - SHA256:29c7a0a29a56d35c0fa45bc0305c89ee526a852b2fed35b4437396132bd09c44
34.73     - MD5Sum:4fbc828fece715831d7596ae40c80098 [weak]
34.73     - Filesize:1168000 [weak]
34.73    Last modification reported: Sun, 10 Mar 2024 17:27:03 +0000
34.73 E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/n/nss/libnss3-dev_3.42.1-1+deb10u8_arm64.deb  Bad header line Bad header data [IP: 146.75.114.132 80]
34.73 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
failed to solve: process "/bin/sh -c apt-get update &&     buildDeps=\"make gcc g++ libc-dev python3-dev default-libmysqlclient-dev build-essential fonts-ipaexfont-gothic wget supervisor poppler-utils libzbar0 pandoc\" &&     apt-get install -y --no-install-recommends $buildDeps libxml2-dev libxmlsec1-dev libxmlsec1-openssl" did not complete successfully: exit code: 100

Hash Sum mismatchやらFailed to fetch、などいっぱいエラーが。

調べてみるとSonomaとDokerの相性が悪いらしく、いろんな人が同じエラーに。

上記のコメントを参考に
RUN apt-get updateの前にRUN echo 'Acquire::http::Pipeline-Depth 0;\nAcquire::http::No-Cache true;\nAcquire::BrokenProxy true;\n' > /etc/apt/apt.conf.d/99fixbadproxyを書き込むとエラーが解消されるらしい

Dockerfile内のプロキシキャッシュを無効にする修正らしいです

Dockerfile
RUN echo 'Acquire::http::Pipeline-Depth 0;\nAcquire::http::No-Cache true;\nAcquire::BrokenProxy true;\n' > /etc/apt/apt.conf.d/99fixbadproxy
RUN apt-get update

これで自分の環境は動くようになりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?