This bug was fixed in the package base-installer - 1.158ubuntu2.1
---------------
base-installer (1.158ubuntu2.1) xenial; urgency=medium
* Tolerate omission of leading "deb " in apt-setup/local0/repository
(based on patch by Lars Kollstedt; LP: #1512347).
-- Mathieu Trudel-Lapierre <[email protected]> Wed, 04 May 2016
09:14:44 -0500
** Changed in: base-installer (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1512347
Title:
invalid sources.list generated from reading apt-
setup/local0/repository
Status in base-installer package in Ubuntu:
Fix Released
Status in base-installer source package in Xenial:
Fix Released
Bug description:
[Impact]
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.
---
hi,
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:
https://bugs.launchpad.net/ubuntu/+source/base-installer/+bug/1512347/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : [email protected]
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help : https://help.launchpad.net/ListHelp