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

Colin Watson cjwatson at canonical.com
Tue May 3 23:45:23 UTC 2016

** Changed in: base-installer (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

** Changed in: base-installer (Ubuntu)
   Importance: Undecided => High

** Changed in: base-installer (Ubuntu)
       Status: Confirmed => Fix Committed

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 Committed

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