← Back to issue list

Don't add armhf as a compatible architecture for 25.10 and newer

View original Github issue

Metadata

Project
craft-archives
Number
#230
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Bug in craft-archives where armhf is unconditionally added as a compatible architecture for arm64 hosts, breaking package repository setup on Ubuntu 25.10+. Currently triaged and awaiting implementation.

Suggested action: keep open

Reason: The issue is already triaged, authored by a maintainer, and clearly describes a version-specific bug requiring a straightforward code change. It is actively relevant to Ubuntu 25.10+ and should remain open for implementation.

Staleness: 10 Complexity: 20 Confidence: 90 Support Request: 5

Issue body

### What needs to get done If a host is 25.10 or newer, then craft-archives shouldn't add armhf as a compatible architecture to arm64. ### Why it needs to get done Today, craft-archives unconditionally adds [compatible architectures](https://github.com/canonical/craft-archives/blob/ddfadb5c37da74e4e9c82cf560bd83927c7f0d90/craft_archives/repo/apt_sources_manager.py#L44-L47) before adding a package repository. An arm64 host will add armhf to `ubuntu.sources`. This works great when the arm64 host's `ubuntu.sources` points https://ports.ubuntu.com, which hosts both architectures. For 25.10 and newer, this no longer works. Arm64 is now on https://archive.ubuntu.com but armhf isn't, so craft-archives breaks when it adds armhf to `ubuntu.sources`. Source: https://github.com/canonical/snapcraft/issues/6326

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Staleness: 10
Complexity: 20
Confidence: 90
Support Request: 5
keep open Bug in craft-archives where armhf is unconditionally added as a compatible architecture for arm64 hosts, breaking package repository setup on Ubuntu 25.10+. Currently triaged and awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 0
Complexity: 10
Confidence: 95
Support Request: 0
keep open craft-archives unconditionally adds armhf as a compatible architecture for arm64 hosts, breaking package repository configuration on Ubuntu 25.10+ where arm64 and armhf use different mirrors. Issue is triaged and awaiting implementation.

Update history

Date Change
closed

Related issues

Issue Project State Summary Similarity
#255 fix: don't add armhf as a compatible arch for 25.10 and higher craft-archives merged Merged fix for #230. Stops auto-adding armhf as a compatible architecture for arm64 on Ubuntu 25.10+. Users must manually configure ports.ubuntu.com via package-repositories. Includes a regression test and passed all CI checks.
82%