← Back to issue list

Allow modifying existing default repositories

View original Github issue

Metadata

Project
craft-archives
Number
#176
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
2025-07-03 21:49:40+00:00
Updated
2025-07-04 00:46:18+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done We need something similar to `install_in_root` that can instead rewrite the existing `sources.list` or `ubuntu.sources` file to modify the default repositories. At minimum, it needs to be able to change the repository URL so we can change from, for example, `archive.ubuntu.com` to `old-releases.ubuntu.com`. We need to be able to do this for overlay roots etc., which is why this does not duplicate https://github.com/canonical/craft-providers/issues/771. This can then also be used for doing this to apps in destructive mode. ### Why it needs to get done In order to be able to change the sources for EOL Ubuntu releases.

Evaluation history

No evaluation history available.