Public bug reported:

The `before_bootloader_context.conf` needs to update the live system's
sources from the cdrom repo and the cdrom repo **only** in order to
install grub-efi and shim-signed during the installation process. The
file attempts to make sure only the cdrom repo is sync'd from by
removing all lines that start with `deb http` from /etc/apt/sources.list
first, but this fails on OEM images and remix ISOs that add third-party
repos under /etc/apt/sources.list.d. These repos will still be sync'd
from, which can result in an installation crash if one of the repos in
/etc/apt/sources.list.d is not accessible at installation time.

One easy fix is to simply add `-o Dir::Etc::sourceparts=-` to the `apt-
get update` line. That is unlikely to work when the ISO itself switches
to using deb822 sources files though, so a better long-term solution is
necessary.

** Affects: calamares-settings-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Third-party repositories may be synced with when running
  before_bootloader_context.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2138456/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to