git-secret: Installation using apk package fails under Alpine
What are the steps to reproduce this issue?
- Start new Alpine instance (
docker run -it alpine:latest) - Follow installation guide at https://git-secret.io/installation#alpine-systems--apk-package
What happens?
apk add --update --no-cache git-secret fails with
WARNING: Ignoring https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main: package file format error
ERROR: unable to select packages:
git-secret (no such package):
required by: world[git-secret]
What were you expecting to happen?
git-secret should install
Any logs, error output, etc?
Complete shell output:
/ # sh -c "echo 'https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main'" >> /etc/apk/repositor
ies
/ # wget -O /etc/apk/keys/git-secret-apk.rsa.pub 'https://gitsecret.jfrog.io/artifactory/api/security/k
eypair/public/repositories/git-secret-apk'
Connecting to gitsecret.jfrog.io (20.101.176.184:443)
saving to '/etc/apk/keys/git-secret-apk.rsa.pub'
git-secret-apk.rsa.p 100% |*******************************************************| 450 0:00:00 ETA
'/etc/apk/keys/git-secret-apk.rsa.pub' saved
/ # apk add --update --no-cache git-secret
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
fetch https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main: package file format error
ERROR: unable to select packages:
git-secret (no such package):
required by: world[git-secret]
Any other comments?
The JFrog repo seems to be broken. https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main redirects to a login mask
What versions of software are you using?
Operating system: (uname -a) Linux 47766af9ef90 5.10.104-linuxkit #1 SMP Wed Mar 9 19:05:23 UTC 2022 x86_64 Linux
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 24 (14 by maintainers)
Yeap, support chat
we recommend you move to source-based installations for Alpine until this is resolved Edit: You can install 0.5.0 from source using:
They literally said: Alpine is bad, do not support it 😢 Imagine my face at that moment.
@joshrabinowitz I think we can try to release 0.5.0 on new alpine releaser. It might solve this problem 🤔
The only thing I can recommend for now: use source installation. I am trying to fix JFrog right now.
JFrog 🤦