oem-config with debconf frontent goes into endless loop

Bug #519398 reported by Oliver Grawert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: oem-config

using oem-config in a rootstock bootstrapped rootfs the questions come up fine but after the tasksel setp it restarts without writing anything to disk or restarting the system.

on suggestion of evan i removed /usr/lib/ubiquity/plugins/ubi-network.py and /usr/lib/ubiquity/plugins/ubi-tasks.py since both of these steps are handled by rootstock during rootfs creation. wich this change i end up in an earlier stage but the behavior stays the same.

the traceback in the log is the following:

grep: /target/etc/apt/sources.list: No such file or directory
Traceback (most recent call last):
  File "/usr/sbin/oem-config", line 454, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 441, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 243, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/debconf_ui.py", line 144, in run
    (ret, realtb))
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
  File "/usr/share/ubiquity/install.py", line 2417, in <module>
    install.run()
  File "/usr/share/ubiquity/install.py", line 359, in run
    self.db.progress('REGION', count, count+1)
  File "/usr/lib/python2.6/dist-packages/debconf.py", line 65, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.6/dist-packages/debconf.py", line 101, in command
    raise DebconfError(status, data)
DebconfError: (20, 'Unknown subcommand')

full log will be attached separately.

Revision history for this message
Oliver Grawert (ogra) wrote :
Colin Watson (cjwatson)
affects: oem-config (Ubuntu) → ubiquity (Ubuntu)
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
status: New → Fix Committed
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.1.17

---------------
ubiquity (2.1.17) lucid; urgency=low

  [ Mario Limonciello ]
  * debian/oem-config.postinst:
    - Source debconf to ensure templates are populated in debconf.
  * Drop update-rc.d calls from oem-config scripts as it's only supported
    via upstart now.
  * misc: return True/False from execute_root rather than None.

  [ Evan Dandrea ]
  * Use a GtkSpinner instead of a separate progress window when on the
    manual partitioning page.

  [ Colin Watson ]
  * In cdebconf mode, initialise the templates database if necessary as a
    workaround for cdebconf's packaging not doing this itself.
  * Don't issue PROGRESS REGION command under debconf_ui (LP: #519398).
  * KDE frontend:
    - Don't add partition bar frames for devices we can't find for whatever
      reason (LP: #485450).
  * Pass model, layout, variant, and options to rewrite_xorg_conf
    (LP: #514646).
  * Install zh-hans language packs for zh_CN, and zh-hant language packs for
    zh_TW (LP: #517621).
  * Fix crash on keyboard variant selection (LP: #512953).
  * Enable cancellation of NTP syncing.
  * Correct tuple syntax in copy_debconf, thereby fixing copying of
    console-setup's debconf questions.
  * Fix unmount of /target/dev harder; second and subsequent arguments to
    os.path.join need to not start with a slash.
  * Automatically fall back to vesa if normal X startup fails. This is a
    reduced emulation of bullet-proof-X; using the standard implementation
    is currently tricky.
  * Add a couple of lintian overrides.
  * Explicitly build-depend on xkb-data-i18n. We normally skip
    console-setup's build-dependencies when generating our own, but we need
    this one to run kbdnames-maker.
  * Update translations from Launchpad (LP: #473554, #520905).
  * Automatic update of included source packages: base-installer
    1.103ubuntu3, console-setup 1.34ubuntu9, debian-installer-utils
    1.72ubuntu3, grub-installer 1.49ubuntu4, hw-detect 1.73ubuntu2,
    partman-auto 89ubuntu3, partman-basicfilesystems 63ubuntu3,
    partman-partitioning 72ubuntu3, tzsetup 1:0.26ubuntu5.
 -- Colin Watson <email address hidden> Fri, 12 Feb 2010 21:07:51 +0000

Changed in ubiquity (Ubuntu):
status: Fix Committed → 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.