lambdajack / sequentially-generate-planet-mbtiles

Generate vector tiles for the entire planet on relatively low spec hardware.
https://wiki.openstreetmap.org/wiki/Sequentially-generate-planet-mbtiles
MIT License
100 stars 15 forks source link

Error building osmium in Debian Bullseye #11

Open lincomatic opened 2 years ago

lincomatic commented 2 years ago

Hi, I'm getting the following error:

Step 2/10 : RUN apt-get update
 ---> Running in c76f22718bd5
Get:1 http://deb.debian.org/debian bookworm InRelease [157 kB]
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [49.6 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8470 kB]
Fetched 8724 kB in 7s (1287 kB/s)
Reading package lists...
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt-get update' returned a non-zero code: 100
2022/08/30 15:16:45 containers.go:48: failed to build osmium container: exit status 100

When I run "apt-get update" outside of the container, it exits w/o error.

lincomatic commented 2 years ago

Which linux distro version did you do your testing on? I can try that first, instead of you trying to figure out what's wrong on my system. Thanks!