Ubiquity not skipping certain steps, based on preseeding

Bug #220131 reported by Artem Popov
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Despite the following spec is marked as implemented, Ubiquity does not allow skipping certain steps, predefined by preseeding (esp. boot parameters):
https://blueprints.edge.launchpad.net/ubuntu/+spec/ubiquity-automation

It would be great, if Ubiquity could skip certain steps (language/keyboard selection), for localized Ubuntu derivatives, etc.

Revision history for this message
Evan (ev) wrote :

It's working in my tests and for the Wubi project. Can you post logs of an install attempt where all of the questions on a page are preseeded, yet the page is still shown?

Thanks!

Changed in ubiquity:
status: New → Incomplete
Revision history for this message
Artem Popov (artfwo) wrote :

Reopening, here's the log for the first page of the installer (Language):
Apr 22 05:52:21 ubuntu ubiquity[8181]: Ubiquity 1.8.5
Apr 22 05:52:30 ubuntu ubiquity[8181]: log-output -t ubiquity laptop-detect
Apr 22 05:52:32 ubuntu ubiquity[8181]: log-output -t ubiquity fontconfig-voodoo --auto --force --quiet
Apr 22 05:52:44 ubuntu ubiquity[8181]: switched to page stepLanguage
Apr 22 05:52:45 ubuntu localechooser: info: Locale has been preseeded to ru_RU.UTF-8
Apr 22 05:52:45 ubuntu localechooser: info: Set languagechooser/language-name = 'Russian'
Apr 22 05:52:46 ubuntu localechooser: info: Set countrychooser/shortlist-ru = 'RU'
Apr 22 05:52:46 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 05:52:46 ubuntu ubiquity[8181]: switched to page stepLanguage
Apr 22 05:53:35 ubuntu localechooser: info: LANGNAME=Russian
Apr 22 05:53:35 ubuntu localechooser: info: line=Russian;2;ru;RU;ru_RU.UTF-8;UTF-8;;console-setup
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/language = 'ru'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/fallbacklocale = 'ru_RU.UTF-8'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/consoledisplay = 'console-setup'
Apr 22 05:53:35 ubuntu localechooser: info: Set debconf/language = 'ru'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Apr 22 05:53:35 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 05:53:36 ubuntu ubiquity[8181]: debconffilter_done: Language (current: Language)
Apr 22 05:53:36 ubuntu ubiquity[8181]: Step_before = stepLanguage
Apr 22 05:53:38 ubuntu ubiquity[8181]: switched to page stepLocation

And here's my ubuntu.seed:
# Install the Ubuntu desktop.
tasksel tasksel/first multiselect ubuntu-desktop
d-i pkgsel/language-packs string ru

#d-i languagechooser/language-name string Russian
#d-i countrychooser/shortlist-ru string RU

d-i debian-installer/language string ru
d-i debian-installer/locale string ru_RU.UTF-8
d-i debian-installer/fallbacklocale string ru_RU.UTF-8
d-i debian-installer/country string RU
d-i debian-installer/consoledisplay string console-setup

Changed in ubiquity:
status: Incomplete → New
Revision history for this message
Colin Watson (cjwatson) wrote :

You need to run ubiquity with the --automatic option. Booting with the 'automatic-ubiquity' parameter on the kernel command line has the same effect.

Revision history for this message
Artem Popov (artfwo) wrote :
Download full text (4.1 KiB)

Ubiquity with --automatic gives the following error (attached screenshot).

Clicking "Try again" immediately switches Ubiquity to username/password entry page.

Here's the revelant syslog entry:

Apr 22 11:59:23 ubuntu ubiquity[8182]: switched to page stepLanguage
Apr 22 11:59:24 ubuntu localechooser: info: Locale has been preseeded to ru_RU.UTF-8
Apr 22 11:59:24 ubuntu localechooser: info: Set languagechooser/language-name = 'Russian'
Apr 22 11:59:24 ubuntu localechooser: info: Set countrychooser/shortlist-ru = 'RU'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 11:59:24 ubuntu localechooser: info: LANGNAME=Russian
Apr 22 11:59:24 ubuntu localechooser: info: line=Russian;2;ru;RU;ru_RU.UTF-8;UTF-8;;console-setup
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/language = 'ru'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/fallbacklocale = 'ru_RU.UTF-8'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/consoledisplay = 'console-setup'
Apr 22 11:59:24 ubuntu localechooser: info: Set debconf/language = 'ru'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Apr 22 11:59:24 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 11:59:25 ubuntu ubiquity[8182]: debconffilter_done: Language (current: Language)
Apr 22 11:59:25 ubuntu ubiquity[8182]: Step_before = stepLanguage
Apr 22 11:59:29 ubuntu ubiquity[8182]: switched to page stepLocation
Apr 22 11:59:49 ubuntu localechooser: info: Locale has been preseeded to ru_RU.UTF-8
Apr 22 11:59:49 ubuntu localechooser: info: Set languagechooser/language-name-fb = 'Russian'
Apr 22 11:59:49 ubuntu localechooser: info: Set countrychooser/shortlist-ru = 'RU'
Apr 22 11:59:49 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 11:59:49 ubuntu localechooser: info: Set debconf/language = ''
Apr 22 11:59:49 ubuntu localechooser: info: Set countrychooser/country-name = 'Russian Federation'
Apr 22 11:59:49 ubuntu localechooser: info: Set debian-installer/country = 'RU'
Apr 22 11:59:49 ubuntu localechooser: info: Set debian-installer/locale = 'ru_RU.UTF-8'
Apr 22 11:59:49 ubuntu ubiquity[8182]: debconffilter_done: Timezone (current: Timezone)
Apr 22 11:59:49 ubuntu ubiquity[8182]: Step_before = stepLocation
Apr 22 11:59:52 ubuntu ubiquity: Your console font configuration will be updated the next time your system
Apr 22 11:59:52 ubuntu ubiquity: boots. If you want to update it now, run 'setupcon' from a virtual console.
Apr 22 11:59:52 ubuntu ubiquity[8182]: log-output -t ubiquity setxkbmap -model pc105 -layout us -option
Apr 22 11:59:52 ubuntu ubiquity[8182]: debconffilter_done: ConsoleSetup (current: ConsoleSetup)
Apr 22 11:59:52 ubuntu ubiquity[8182]: Step_before = stepLocation
Apr 22 11:59:54 ubuntu kernel: [ 213.548406] JFS: nTxBlock = 8192, nTxLock = 65536
Apr 22 11:59:55 ubuntu kernel: [ 214.054044] SGI XFS with ACLs, security attributes, realtime, large block numbers, ...

Read more...

Revision history for this message
Artem Popov (artfwo) wrote :

Forgot to mention, that the issue occurs with Ubiquity 1.8.5, I'll try it with 1.8.7 when the ISO is available...

Revision history for this message
Colin Watson (cjwatson) wrote :

Please add --debug (or debug-ubiquity on the kernel command line) and post /var/log/installer/debug.

Evan (ev)
Changed in ubiquity:
status: New → Incomplete
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ubiquity:
status: Incomplete → Invalid
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.