Skip to content

Alpine issue with v0.7.0 #33

@Xeboc

Description

@Xeboc

In v0.6.0:

root@932f4596e53e:/# apk update
fetch http://apt-proxy:3142/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
fetch http://apt-proxy:3142/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
v3.22.2-174-g7d15a0a9663 [http://apt-proxy:3142/alpine/v3.22/main]
v3.22.2-173-ge9ba506b82f [http://apt-proxy:3142/alpine/v3.22/community]
OK: 26320 distinct packages available

With logs:

apt-proxy  | 2025/11/11 14:31:49 using specified [Alpine] mirror [http://dl-cdn.alpinelinux.org]
apt-proxy  | 2025/11/11 14:31:49 starting apt-proxy
apt-proxy  | 2025/11/11 14:31:49 listening on 0.0.0.0:3142
apt-proxy  | 2025/11/11 14:31:49 server started successfully 🚀
apt-proxy  | 2025/11/11 14:32:05 Rewrote "/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" to "http://dl-cdn.alpinelinux.org/v3.22/main/x86_64/APKINDEX.tar.gz"
apt-proxy  | 2025/11/11 14:32:06 172.31.1.1 "GET http://dl-cdn.alpinelinux.org/v3.22/main/x86_64/APKINDEX.tar.gz HTTP/1.1" (OK) 499999 MISS 310.623552ms
apt-proxy  | 2025/11/11 14:32:06 Rewrote "/alpine/v3.22/community/x86_64/APKINDEX.tar.gz" to "http://dl-cdn.alpinelinux.org/v3.22/community/x86_64/APKINDEX.tar.gz"
apt-proxy  | 2025/11/11 14:32:06 172.31.1.1 "GET http://dl-cdn.alpinelinux.org/v3.22/community/x86_64/APKINDEX.tar.gz HTTP/1.1" (OK) 2093570 MISS 357.224052ms

In v0.7.0:

root@cb13d5013cd3:/# apk update
fetch http://apt-proxy:3142/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
WARNING: updating and opening http://apt-proxy:3142/alpine/v3.22/main: remote server returned error (try 'apk update')
fetch http://apt-proxy:3142/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
WARNING: updating and opening http://apt-proxy:3142/alpine/v3.22/community: remote server returned error (try 'apk update')
4 unavailable, 0 stale; 60 distinct packages available

With logs:

apt-proxy  | 2025/11/11 14:33:56 using specified [Alpine] mirror [http://dl-cdn.alpinelinux.org]
apt-proxy  | 2025/11/11 14:33:56 starting apt-proxy
apt-proxy  | 2025/11/11 14:33:56 listening on 0.0.0.0:3142
apt-proxy  | 2025/11/11 14:33:56 server started successfully 🚀
apt-proxy  | 2025/11/11 14:34:22 http: proxy error: unsupported protocol scheme ""
apt-proxy  | 2025/11/11 14:34:22 172.31.1.1 "GET /alpine/v3.22/main/x86_64/APKINDEX.tar.gz HTTP/1.1" (Bad Gateway) 0 SKIP 101.528µs
apt-proxy  | 2025/11/11 14:34:22 http: proxy error: unsupported protocol scheme ""
apt-proxy  | 2025/11/11 14:34:22 172.31.1.1 "GET /alpine/v3.22/community/x86_64/APKINDEX.tar.gz HTTP/1.1" (Bad Gateway) 0 SKIP 74.713µs
apt-proxy  | 2025/11/11 14:34:23 http: proxy error: unsupported protocol scheme ""

Running with this command:

entrypoint: "/usr/bin/apt-proxy -mode alpine --alpine=http://dl-cdn.alpinelinux.org"

I flushed the cache between testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions