[Bug 2070320] [NEW] Autoinstall with apt deb822 source on noble does not override '/etc/apt/sources.list.d/ubuntu.sources' despite 'preserve_sources_list: false'

Launchpad Bug Tracker 2070320 at bugs.launchpad.net
Thu Aug 15 23:27:55 UTC 2024


You have been subscribed to a public bug:

When using the following apt section on autoinstall, it does not replace
the existing ubuntu sources despite the preserve_sources_list variable
being set to false. It does appear to replace /etc/apt/sources.list, but
this file is no longer used in Ubuntu 24.04.

======
apt:
  preserve_sources_list: false
  fallback: abort
  geoip: false
  sources:
    landscape.sources:
      source: |
        Types: deb
        URIs: http://landscape.home/repository/standalone/ubuntu/
        Suites: noble noble-updates noble-security
        Components: main universe restricted multiverse
        Signed-By: 16234E77E46C9DE644E1F4F4DA787C193976C85B
        Architectures: amd64
      key: |
        -----BEGIN PGP PUBLIC KEY BLOCK-----
        ...
        -----END PGP PUBLIC KEY BLOCK-----
======

What ends up happening is the system will install from the Landscape
mirror, but the other sources are not removed.

** Affects: subiquity (Ubuntu)
     Importance: High
     Assignee: Chris Peterson (cpete)
         Status: Triaged


** Tags: 24.04 apt autoinstall curtin noble sources.list
-- 
Autoinstall with apt deb822 source on noble does not override '/etc/apt/sources.list.d/ubuntu.sources' despite 'preserve_sources_list: false'
https://bugs.launchpad.net/bugs/2070320
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to subiquity in Ubuntu.



More information about the foundations-bugs mailing list