Skip to content

failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*" #3672

Open
@qinfeng0214

Description

@qinfeng0214

Self-Hosted Version

22.10.0

CPU Architecture

aarch64

Docker Version

Docker version 28.0.4, build b8034c0

Docker Compose Version

Docker Compose version v2.34.0-desktop.1

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

base install.sh

Expected Result

success

Actual Result

#82 [sentry-cleanup 5/5] COPY entrypoint.sh /entrypoint.sh
#82 DONE 0.0s

#83 [sentry-cleanup] exporting to image
#83 exporting layers 0.0s done
#83 writing image sha256:8a5d4a33110196b4b90ed446a0e92f749124e927000c619246a3002dc0134d51 done
#83 naming to docker.io/library/sentry-cleanup-self-hosted-local done
#83 DONE 0.0s

#84 [sentry-cleanup] resolving provenance for metadata file
#84 DONE 0.0s

#81 [snuba-transactions-cleanup 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
#81 5.271 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [362 kB]
#81 5.749 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
#81 5.806 Fetched 8634 kB in 5s (1587 kB/s)
#81 5.806 Reading package lists...
#81 6.274 Reading package lists...
#81 6.662 Building dependency tree...
#81 6.751 Reading state information...
#81 6.830 The following additional packages will be installed:
#81 6.830 sensible-utils
#81 6.831 Suggested packages:
#81 6.831 anacron logrotate checksecurity
#81 6.831 Recommended packages:
#81 6.831 default-mta | mail-transport-agent
#81 6.886 The following NEW packages will be installed:
#81 6.886 cron sensible-utils
#81 ...

#12 [symbolicator-cleanup 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
#12 78.39 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#12 78.44 Reading package lists...
#12 78.49 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
#12 78.49 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
#12 78.49 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
#12 78.49 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.2.132 80]
#12 78.49 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found
#12 78.49 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found
#12 78.49 E: Some index files failed to download. They have been ignored, or old ones used instead.
#12 ERROR: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*" did not complete successfully: exit code: 100

#81 [snuba-transactions-cleanup 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
#81 8.353 0 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
#81 8.353 Need to get 114 kB of archives.
#81 8.353 After this operation, 314 kB of additional disk space will be used.
#81 8.353 Get:1 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB]
#81 CANCELED

[symbolicator-cleanup 4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*:
76.96 404 Not Found [IP: 151.101.2.132 80]
78.39 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
78.44 Reading package lists...
78.49 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
78.49 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
78.49 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
78.49 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.2.132 80]
78.49 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found
78.49 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found
78.49 E: Some index files failed to download. They have been ignored, or old ones used instead.


failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*" did not complete successfully: exit code: 100
Error in build-docker-images.sh:7.
'$dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm' exited with status 1
-> install.sh:main:29
--> build-docker-images.sh:source:7

Event ID

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions