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

Chris Peterson 2070320 at bugs.launchpad.net
Thu Aug 15 23:27:53 UTC 2024


** Project changed: subiquity => subiquity (Ubuntu)

** Changed in: subiquity (Ubuntu)
   Importance: Medium => High

** Changed in: subiquity (Ubuntu)
     Assignee: (unassigned) => Chris Peterson (cpete)

** Tags added: foundations-todo

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2070320

Title:
  Autoinstall with apt deb822 source on noble does not override
  '/etc/apt/sources.list.d/ubuntu.sources' despite
  'preserve_sources_list: false'

Status in subiquity package in Ubuntu:
  Triaged

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2070320/+subscriptions




More information about the foundations-bugs mailing list