Skip to content

Fix German mirror for ARM: also update sources.list.d#9

Closed
furkansahin wants to merge 3 commits into
mainfrom
fix-arm-mirror-sources-list-d
Closed

Fix German mirror for ARM: also update sources.list.d#9
furkansahin wants to merge 3 commits into
mainfrom
fix-arm-mirror-sources-list-d

Conversation

@furkansahin

Copy link
Copy Markdown
Member

Summary

  • Extends the German mirror configuration to also update files in /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., .list or .sources files) that reference ports.ubuntu.com. This caused ARM builds to still download most packages from the slow ports.ubuntu.com mirror.

Solution

Added a find command to also process any .list or .sources files in the sources.list.d directory, replacing ports.ubuntu.com with de.ports.ubuntu.com.

🤖 Generated with Claude Code

furkansahin and others added 2 commits January 27, 2026 16:24
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>
@furkansahin furkansahin force-pushed the fix-arm-mirror-sources-list-d branch from f0c6674 to a7677cd Compare January 27, 2026 16:30
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
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

Successfully merging this pull request may close these issues.

1 participant