preseed fails to add custom repos with apt-setup/local0/repository in xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer |
New
|
Undecided
|
Unassigned | ||
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The sources file is being written incorrectly during the preseed process. Its failing to prefix the last line in the sources.list file with "deb ".
This is what we have in our preseed for xenial
# Aptly Mirror / Custom Packages
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
# Aptly Mirror / puppetlabs repos
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
affects: | nsd (Ubuntu) → debian-installer (Ubuntu) |
I can confirm this bug. Happens to me if I try to preseed install Ubuntu Xenial (with Foreman). The bad news is, that the install fails because apt is unable update (with the error in sources.list) and so no packages for kernel etc. can be found. For me that means I cannot use Xenial at the moment (if I cannot use preseed install it makes no sense on an LTS release).