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

Lars Kollstedt lk at man-da.de
Mon May 2 13:09:04 UTC 2016


Hi all,

I also stumbled into this Bug in Ubuntu 16.4 LTS (xenial).

I can't really confirm this for ubuntu 14.4 (trusty) so far. I can
confirm the the line causing this to be already in 1.144ubuntu1 but it
doe'snt seem to have effect (at least for me and our pxe install
environment).

My last 14.4 installation ist about 3 weeks ago, now. But I added the
workarrounds, when starting our tests for Xenial-Deploment. From the
dates I've seen, this should be already in use on 14.4 (even with a
netboot initrd, created in march 2015) but perhaps the file created here
is never used in some cases, because it is already overwritten or
overridden by another udeb (e.g. apt-setup(-udeb) itself).

The appended patch should fix this, but keep the workarrounds working.
;-)

All lines above in library.sh function configure_apt are containing the
leading deb and since apt-setup ignores and adds the deb here this
should IMHO be also done here. ;-) The way to do this was borrowed from
apt-setup generators/60-local.

Kind regards,
    Lars

** Patch added: "MissingDeb-2016-05-02.patch"
   https://bugs.launchpad.net/ubuntu/+source/base-installer/+bug/1512347/+attachment/4653600/+files/MissingDeb-2016-05-02.patch

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

Title:
  invalid sources.list generated from reading apt-
  setup/local0/repository

Status in base-installer package in Ubuntu:
  Confirmed

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



More information about the foundations-bugs mailing list