[Bug 1512347] Re: invalid sources.list generated from reading apt-setup/local0/repository

Adam Conrad adconrad at 0c3.net
Wed May 11 16:42:12 UTC 2016

Hello Filippo, or anyone else affected,

Accepted base-installer into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/base-
installer/1.158ubuntu2.1 in a few hours, and then in the -proposed

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in

** Changed in: base-installer (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-installer in Ubuntu.

  invalid sources.list generated from reading apt-

Status in base-installer package in Ubuntu:
  Fix Released
Status in base-installer source package in Xenial:
  Fix Committed

Bug description:
  Server users installing with a preseeded local repository.

  [Test case]
  Preseed "apt-setup/local0/repository" for a server install.
  The installation process should complete normally, and the local repository should be enabled on the installed system.

  [Regression Potential]
  This adds support for handling local repositories and configuring them in preseed without adding the "deb" prefix to specify the type of source entry. There is no likely regression type except that of enabling local repositories on installs where the preseed is present and currently seen as invalid by base-installer where the issue was not noticed by systems administrators.


  it looks like configure_apt from library.sh will add the contents of apt-setup/local0/repository verbatim to the sources file. This works only if the repository is prefixed with "deb ", which for apt-setup is optional. Not using a repository prefixed with "deb" will result in an invalid sources.list file. See also https://phabricator.wikimedia.org/T94177 and https://gerrit.wikimedia.org/r/250380

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list