Xenial fails to install with Preseed d-i apt-setup/local0/repository set

Bug #1584685 reported by catsem
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Critical
Unassigned
apt-setup (Ubuntu)
Fix Released
High
Unassigned
Declined for Xenial by Mathieu Trudel-Lapierre
console-setup (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Xenial by Mathieu Trudel-Lapierre

Bug Description

Preseed install of Ubuntu Xenial fails with d-i apt-setup/localX/repository option set. The problem is that debian installer does not concat the last string in sources.list correctly. The prefix "deb" is missing. So apt fails to update and the installer cannot continue because there are no valid package sources.

catsem (csc03)
Changed in debian-installer (Ubuntu):
status: New → Confirmed
Changed in debian-installer (Ubuntu):
importance: Undecided → Critical
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Critical
Changed in debian-installer (Ubuntu):
status: Confirmed → Triaged
Changed in hundredpapercuts:
status: Confirmed → Triaged
catsem (csc03)
Changed in console-setup (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please:

1. Report to (https://debian.org/Bugs).
2. Paste the new report link here.
3. Set status back to "confirmed".

Thank you.

Changed in debian-installer (Ubuntu):
status: Triaged → Invalid
Changed in hundredpapercuts:
status: Triaged → Incomplete
Changed in console-setup (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → Critical
affects: debian-installer → console-setup
Revision history for this message
catsem (csc03) wrote :

Dear Alberto,
well I don't think this is a debian bug and I tell you why.
I've made a quick check and made preseed installations of both, the latest debian release (Jessie 8.6) and the latest Ubuntu LTS (16.04.1). Debian finished just fine and the repository was properly installed during installation... Ubuntu failed during installation -> no package sources (the bug described in this ticket happened). So instead of pushing away... I think it should be fixed asap.
This is one of the papercuts that disqualifies Ubuntu 16.04 for professional use at the moment (just my humble opinion).

catsem (csc03)
Changed in debian-installer (Ubuntu):
status: Invalid → Confirmed
Changed in console-setup (Ubuntu):
status: Incomplete → Confirmed
Changed in hundredpapercuts:
status: Incomplete → Confirmed
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I can't reproduce this issue here; trying to install ubuntu-server and preseeding apt-setup/local0/repository="http://ppa.launchpad.net/cyphermox/ppa/ubuntu zesty main".

The preseeded repository is indeed showing in sources.list and is written correctly.

If you can still reproduce this bug, please include both the exact preseed used, along with the full contents of /etc/apt/sources.list at the end of the install so we can see what happens.

no longer affects: console-setup
Changed in console-setup (Ubuntu):
status: Confirmed → Invalid
affects: debian-installer (Ubuntu) → apt-setup (Ubuntu)
Changed in apt-setup (Ubuntu):
importance: Critical → High
status: Confirmed → Incomplete
Changed in console-setup (Ubuntu):
importance: Critical → Undecided
Changed in hundredpapercuts:
status: Confirmed → Incomplete
Revision history for this message
catsem (csc03) wrote :

Checked it again and it looks good now for this bug.

But there is still a big issue preventing the preseed installation to success on xenial...
https://bugs.launchpad.net/ubuntu/+source/base-installer/+bug/1553121

But who cares...

I'm still hoping to be able to preseed install xenial before the next long term release arrives...

Changed in apt-setup (Ubuntu):
status: Incomplete → Fix Released
Changed in hundredpapercuts:
status: Incomplete → Fix Released
Changed in console-setup (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.