Skip to content

packages.adb index references filenames that don't match actual GitHub release assets (apk upgrade fails with 404) #126

@MarkBeharrell

Description

@MarkBeharrell

Environment:

  • OpenWrt 25.12 (apk-based)
  • Architecture: x86_64
  • Tailscale: 1.96.1-r1 → 1.96.2-r1

Problem:

apk upgrade tailscale silently does nothing. The packages.adb feed index
references:

  tailscale-1.96.2-r1.apk

But the actual GitHub release asset is named:

  tailscale_1.96.2_x86_64.apk

The naming mismatch (dashes vs underscores, -r1 suffix vs _x86_64 suffix)
causes apk to get a 404 when it tries to download the package. No error is shown
— the upgrade just silently skips.

Additionally, apk policy tailscale shows no repository association after
installing via --allow-untrusted, so future apk upgrade runs won't pick it
up anyway.

Workaround:

Fetch the correct URL from the GitHub releases API and install directly:

  DOWNLOAD_URL=$(wget -qO- https://api.github.com/repos/GuNanOvO/openwrt-tailscale/releases/latest \
    | grep -o '"browser_download_url":"[^"]*x86_64[^"]*\.apk"' | head -n1 | cut -d'"' -f4)
  wget -O /tmp/tailscale.apk "${DOWNLOAD_URL}"
  apk add --allow-untrusted /tmp/tailscale.apk

Request:

Please ensure the filenames listed in packages.adb match the actual release
asset names on GitHub, so apk upgrade tailscale works correctly.

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