Fix German mirror for ARM: also update sources.list.d#9
Closed
furkansahin wants to merge 3 commits into
Closed
Conversation
The previous fix only updated /etc/apt/sources.list but Ubuntu cloud images may also have source files in /etc/apt/sources.list.d/ that reference ports.ubuntu.com. This updates the mirror configuration to also process any .list or .sources files in that directory. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatically add byucesoy and shikharbhardwaj as reviewers when creating PRs against ubicloud/ubicloud repository. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
f0c6674 to
a7677cd
Compare
The previous fix only updated the mirror inside the image chroot, but the host runner machine also uses ports.ubuntu.com for installing build dependencies (qemu-utils, kpartx, etc). This adds the same mirror fix for the host machine. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
serprex
pushed a commit
to serprex/postgres-vm-images
that referenced
this pull request
Mar 20, 2026
* swap from dpkg to apt for custom extensions * add comment to please the LLM
iamKunalGupta
pushed a commit
to iamKunalGupta/postgres-vm-images
that referenced
this pull request
May 5, 2026
* swap from dpkg to apt for custom extensions * add comment to please the LLM
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.
Summary
/etc/apt/sources.list.d/Problem
The previous fix only updated
/etc/apt/sources.list, but Ubuntu cloud images may also have source files in/etc/apt/sources.list.d/(e.g.,.listor.sourcesfiles) that referenceports.ubuntu.com. This caused ARM builds to still download most packages from the slowports.ubuntu.commirror.Solution
Added a
findcommand to also process any.listor.sourcesfiles in thesources.list.ddirectory, replacingports.ubuntu.comwithde.ports.ubuntu.com.🤖 Generated with Claude Code