Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAD SIGNATURE when installing on Alpine Linux #1149

Open
gnd opened this issue Apr 10, 2024 · 6 comments
Open

BAD SIGNATURE when installing on Alpine Linux #1149

gnd opened this issue Apr 10, 2024 · 6 comments
Assignees
Labels
agent-php bug Something isn't working priority: high

Comments

@gnd
Copy link

gnd commented Apr 10, 2024

Hello,

recently our Docker builds started to fail when trying to install APM agent from the APK package. The reason they fail is:

ERROR: apm-agent-php-1.13.0: BAD signature

This is the case with Alpine 3.17, Alpine 3.18 and Alpine 3.19 and with APM agent versions 1.12 and 1.13.

You can reproduce this by trying to build this Dockerfile:

FROM docker.io/alpine:3.19 as base

RUN apk update && apk upgrade 
RUN apk add ca-certificates wget && wget -q https://github.com/elastic/apm-agent-php/releases/download/v1.13.0/apm-agent-php_1.13.0_x86_64.apk
RUN apk add --allow-untrusted apm-agent-php_1.13.0_x86_64.apk

Thanks for checking this out !

@gnd gnd added the bug Something isn't working label Apr 10, 2024
@apetrov1-godaddy
Copy link

I have the same situation

@intuibase intuibase self-assigned this Apr 11, 2024
@intuibase
Copy link
Contributor

Hey @gnd @apetrov1-godaddy

Thank you for bug report and Dockerfile, it fails for me as well.

@zyv4yk
Copy link

zyv4yk commented Apr 11, 2024

same issue with agent version 1.10.0

@zyv4yk
Copy link

zyv4yk commented Apr 16, 2024

maybe similar to this issue: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11000#note_394799

@gnd
Copy link
Author

gnd commented Apr 17, 2024

The issue with the BAD SIGNATURE seems to be solved by reverting some changes in apk (see in the aforementioned Alpine Gitlab).

@zyv4yk
Copy link

zyv4yk commented Apr 18, 2024

yep, recheck with agent 1.10, this issue was solved in apk but still needs to be fixed before the release of apk-tools v3 as said in the apk-tool warning

Support for packages without datahash will be dropped in apk-tools 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-php bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

4 participants