[Bug 1566757] Re: preseed fails to add custom repos with apt-setup/local0/repository in xenial

catsem schmitt at semvox.de
Fri Oct 28 13:05:24 UTC 2016


@Octavi
Well, you found a workaround.
We are using a template based preseed file with the installation managment tool foreman (theforeman.org).
And we have different debian/ubuntu versions in our environment... 
I don't wanna script a workaround for every new os version because of new nasty bugs...
A dev involved in this projekt would have fixed it in 10 mins. Maybe the one who broke it even faster ;-)

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

Title:
  preseed fails to add custom repos with apt-setup/local0/repository in
  xenial

Status in debian-installer:
  New
Status in debian-installer package in Ubuntu:
  Confirmed

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/local0/repository string deb http://aptly.internal/internal/company/ xenial main
  d-i apt-setup/local0/source boolean false
  d-i apt-setup/local0/key string http://aptly.internal/internal/company.gpg
  # Aptly Mirror / puppetlabs repos
  d-i apt-setup/local1/repository string deb http://aptly.internal/internal/puppetlabs-xenial/ xenial main dependencies
  d-i apt-setup/local1/source boolean false
  d-i apt-setup/local1/key string http://aptly.internal/internal/company.gpg

To manage notifications about this bug go to:
https://bugs.launchpad.net/debian-installer/+bug/1566757/+subscriptions



More information about the foundations-bugs mailing list