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

Alpine APK reopository returns 404 #182

Open
fancsali opened this issue Aug 29, 2024 · 1 comment
Open

Alpine APK reopository returns 404 #182

fancsali opened this issue Aug 29, 2024 · 1 comment

Comments

@fancsali
Copy link

Going to the relevant page (https://bell-sw.com/pages/repositories/#alpine-linux-repository ) to set up the apk repository for my Alpine-based install and setting up the repository with base URL https://apk.bell-sw.com/main will emit a warning:

$ sudo apk update
[...]
WARNING: updating and opening https://apk.bell-sw.com/main: No such file or directory
[...]

Trying plain HTTP won't resolve the issue either, and checking the URL in the browser returns a 404 error. So I suspect, the repo URL is out of date.

NOTE: In fact the link on the main 'Downloads' page is pointing to https://bell-sw.com/pages/repositories/#apk for the repo settings, which seems to be out of date too...

@voitylov
Copy link
Collaborator

Hmm, I can't seem to be able to reproduce this. Following the instructions from the link you mentioned:

$ docker run -it alpine /bin/sh
/ # echo "https://apk.bell-sw.com/main" | tee -a /etc/apk/repositories
https://apk.bell-sw.com/main
/ # wget -P /etc/apk/keys/ https://apk.bell-sw.com/[email protected]
Connecting to [apk.bell-sw.com](http://apk.bell-sw.com/) (188.114.98.229:443)
saving to '/etc/apk/keys/[email protected]'
[[email protected]](mailto:[email protected])-5fe 100% |********************************************************************************|   451  0:00:00 ETA
'/etc/apk/keys/[email protected]' saved
/ #
/ # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
fetch https://apk.bell-sw.com/main/x86_64/APKINDEX.tar.gz
v3.20.2-181-gc105d1f586d [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
v3.20.2-184-g64eba4bc809 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
OK: 24467 distinct packages available
/ # apk add bellsoft-java11
(1/2) Installing java-common (0.5-r0)
(2/2) Installing bellsoft-java11 (11.0.24_p9-r0)
Executing busybox-1.36.1-r29.trigger
Executing java-common-0.5-r0.trigger
OK: 361 MiB in 16 packages
/ # java -version
openjdk version "11.0.24" 2024-07-16 LTS
OpenJDK Runtime Environment (build 11.0.24+9-LTS)
OpenJDK 64-Bit Server VM (build 11.0.24+9-LTS, mixed mode, sharing)
  1. Could you check the network/setup or try again and provide some network connectivity diagnosis?
  2. Could you elaborate where you believe the instruction is out of date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants