fix: install glab from official release .deb (wakemeops pool 404s, breaks every fresh install)#1
Open
gkastanis wants to merge 1 commit into
Open
Conversation
The wakemeops apt repo's index lists glab_1.108.0-1~ops2deb_amd64.deb but the pool object is missing (S3 NoSuchKey), so 'apt install -y glab' fails and every web-image build - and therefore every fresh install - breaks. Fetch the latest official release .deb from gitlab.com instead, with the architecture detected via dpkg so the existing ARM64 support is kept. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
web-build/Dockerfile.canvasinstalls glab from the wakemeops apt repo. That repo is currently internally inconsistent: its package index listspool/dev/g/glab/glab_1.108.0-1~ops2deb_amd64.deb, but the pool object is gone (S3 returns 404/NoSuchKey for exactly that key, while other packages in the same pool download fine). As a resultapt install -y glabfails, the web-image build fails, and every fresh install of the add-on currently dies mid-install.Reproducible outside docker:
Fix
Install the latest official release .deb from gitlab.com (
gitlab-org/clireleases) instead, detecting the architecture withdpkg --print-architectureto keep the existing ARM64 support (the releases ship bothlinux_amd64andlinux_arm64debs).This also removes the third-party apt repo from the image entirely, so a future wakemeops outage can't break installs again.
Testing
Applied to a real install today (2026-07-15, linux/amd64): the web image builds,
glab versionreports 1.108.0 (the same version wakemeops indexed). The arm64 path is constructed identically but was not run on arm64 hardware.Found while standing up an eval environment for the Canvas migration tooling.
🤖 Generated with Claude Code