On a new desktop install apt complains about ubuntu.sources.curtin.old
Bug #2058741 reported by
Sebastien Bacher
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Olivier Gayot |
Bug Description
Installing Ubuntu Desktop Noble daily with the default options (no encryption, using the only available disk in the VM), on the installed system apt displays those warnings
> N: Ignoring file 'ubuntu.
Related branches
~ogayot/curtin:sources-displace
Merged
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- Dan Bungert: Approve
-
Diff: 22 lines (+2/-2)1 file modifiedcurtin/commands/apt_config.py (+2/-2)
Changed in curtin: | |
importance: | Undecided → High |
tags: | added: foundations-todo |
Changed in curtin: | |
importance: | Medium → High |
Changed in curtin: | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | Triaged → In Progress |
tags: | removed: foundations-todo |
Changed in curtin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Seb. Thank you for your bug report,
Indeed, during installation, curtin apt-config backs up the original ubuntu.sources file before making modifications:
https:/ /github. com/canonical/ curtin/ blob/master/ curtin/ commands/ apt_config. py#L650
I suggest we either remove it completely or use a different extension. By default on noble, the following extensions should be ignored without warning:
$ apt-config dump | grep -F Dir::Ignore- Files-Silently Files-Silently ""; Files-Silently: : "~$"; Files-Silently: : "\.disabled$"; Files-Silently: : "\.bak$"; Files-Silently: : "\.dpkg-[a-z]+$"; Files-Silently: : "\.ucf-[a-z]+$"; Files-Silently: : "\.save$"; Files-Silently: : "\.orig$"; Files-Silently: : "\.distUpgrade$";
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-
Dir::Ignore-