[Bug 732221] Re: Automatic-ubiquity installation of Lucid desktop with preseed ignores/clobbers preseeded values when creating /etc/apt/sources.list
Launchpad Bug Tracker
732221 at bugs.launchpad.net
Thu Feb 7 09:55:17 UTC 2013
This bug was fixed in the package ubiquity - 2.13.10
---------------
ubiquity (2.13.10) raring; urgency=low
[ Colin Watson ]
* Only force mirror/country to the value of debian-installer/country if it
is empty or has not been preseeded (LP: #732221).
* For automatic installs, set debian-installer/country to a country
matching time/zone when starting up the timezone plugin, since its
ok_handler will typically never be called (LP: #1098577).
* Save a random seed to the installed system so that it has better entropy
on first boot (LP: #1098299).
* Update translations from Launchpad (LP: #1096923).
* Refactor handling of automatic mode to make it easier to override checks
for it in plugins.
[ Iain Lane ]
* Port the webcam support to GStreamer 1.0.
[ Jonathan Riddell ]
* Fix widget layout and logic (LP: #1066225)
[ Dmitrijs Ledkovs ]
* Automatic update of included source packages: partman-
basicfilesystems 76ubuntu4, partman-efi 25ubuntu4, partman-
partitioning 89ubuntu2, partman-target 81ubuntu1.
-- Colin Watson <cjwatson at ubuntu.com> Wed, 06 Feb 2013 20:01:25 +0000
** Changed in: ubiquity (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/732221
Title:
Automatic-ubiquity installation of Lucid desktop with preseed
ignores/clobbers preseeded values when creating /etc/apt/sources.list
Status in “ubiquity” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: ubiquity
I realize these are "older" versions of the software, this problem
doesn't seem to affect either Maverick or Natty, however I am
reporting this as we are still conducting tests with Lucid and this
issue gives us some problems when trying to install openssh-server,
due to the incorrect sources.list.
Steps to reproduce:
1- Remaster a CD image with ubuntu-10.04.2-desktop-i386.iso, using the attached ubuntu.seed file instead of the one provided in the CD (the relevant part are all the d-i mirror/* settings, the rest is just for completeness).
2- Boot with the CD, press a key, move to "install ubuntu" and press F6
3- replace "only-ubiquity" with "automatic-ubiquity" and press enter install using the preseed file's data.
Expected result:
/etc/apt/sources.list pointing to our local mirror, and containing lines of the form:
deb
http://10.153.104.60//rsync.releases.ubuntu.com/releases/lucid/ubuntu-10.04.2-server-i386
lucid main restricted
as per the preseed file's configuration:
d-i mirror/country string manual
d-i mirror/http/hostname string 10.153.104.60
d-i mirror/http/directory string //rsync.releases.ubuntu.com/releases/lucid/ubuntu-10.04.2-desktop-i386
d-i mirror/http/proxy string
d-i mirror/http/mirror string 10.153.104.60
Actual result:
mirror/http/mirror gets replaced with a mirror according to the
country as specified by debian-installer/locale. For instance, if
locale is es_ES, we get lines of the form:
deb
http://es.archive.ubuntu.com//rsync.releases.ubuntu.com/releases/lucid/ubuntu-10.04.2-desktop-i386
lucid main restricted
I tested setting
d-i mirror/http/mirror string ch.archive.ubuntu.com
and it still gets overwritten with es.archive.ubuntu.com.
This does not happen with either the alternate or server editions,
both using plain debian-installer; it only happens under Ubiquity.
I'm attaching the test preseed file, as well as ubiquity's debug file,
obtained using debug-ubiquity on an actual test system.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ubiquity 2.2.25
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic i686
Architecture: i386
Date: Wed Mar 9 19:52:47 2011
LiveMediaBuild: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/732221/+subscriptions
More information about the foundations-bugs
mailing list