oem-config hangs when removing ubquity

Bug #1161943 reported by Jason Gerard DeRose
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
System76
Fix Released
Undecided
Jason Gerard DeRose
aptdaemon (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:

1) Install in OEM mode
2) Boot system, click "Prep for shipment", shutdown
3) At first customer boot, oem-config will hang trying to remove Ubiquity (see attached screenshot)

Related branches

Revision history for this message
Jason Gerard DeRose (jderose) wrote :
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Also incuding a tarball of /var/log at the point of falure. Not sure if anything useful is in here, but might help.

summary: - oem-config fails trying to remove ubquity
+ oem-config hangs when removing ubquity
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Might be a super easy fix. In Raring, it seems `ubiquity-frontend-gtk` is one of the package present after an OEM mode install. But `ubiquity-frontend-gtk` is not one of the packages in the remove list in bin/oem-config-remove-gtk:

def main():
    purge = []
    for pkg in ('ubiquity', 'ubiquity-casper',
                'ubiquity-ubuntu-artwork', 'ubiquity-slideshow-ubuntu',
                'oem-config-slideshow-ubuntu'):
        if glob.glob('/var/lib/dpkg/info/%s.list' % pkg):
            purge.append(pkg)

    if not using_cryptsetup():
        purge.append("cryptsetup")

    ac = client.AptClient()
    ac.commit_packages(
        install=[], reinstall=[], remove=[], purge=purge, upgrade=[],
        downgrade=[], error_handler=_on_failure, reply_handler=_on_transaction)
    loop.run()

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.14.1

---------------
ubiquity (2.14.1) raring; urgency=low

  * Pass --identifier-prefix=Ubiquity via
    UbiquityMockResolver_1_0_gir_SCANNERFLAGS rather than
    UbiquityMockResolver_1_0_gir_CFLAGS, fixing build failure with
    gobject-introspection >= 1.35.9.
 -- Colin Watson <email address hidden> Sat, 30 Mar 2013 23:15:26 +0000

Changed in ubiquity (Ubuntu):
status: New → Fix Released
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Okay, I just tried 2.14.1, but unfortuanately it didn't fix the problem.

`ubiquity-frontend-gtk` now gets removed without any complaints, but things still hang at "Purging configuration files for Ubiquity..." (see new screenshot).

So I think the problem wasn't realted to `ubiquity-frontend-gtk` not being in the remove list. I'll dig into this more on Tuesday.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1161943

tags: added: iso-testing
Revision history for this message
Paul Larson (pwlars) wrote :

Reopening since the fix doesn't seem to have worked

Changed in ubiquity (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Para Siva (psivaa) wrote :

The issue of ubiquity hanging does not occur with the latest desktop images (20130402.1 amd64 and i386).

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Yeah, it doesn't occur for us either as of updates yesterday. We have a snapshot on which it does occur, so we're going through the package updates so we can track down what fixed it.

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

It's possible that aptdaemon 1.0-0ubuntu9 fixed this.

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Yes, I can confirrm that aptdaemon 1.0-0ubuntu9 fixes this.

On a sytem with aptdaemon 1.0-0ubuntu8 (and everything else updated), the problem is present. Upgrade to latest apdaemon, works fine.

Changed in system76:
status: New → Fix Released
assignee: nobody → Jason Gerard DeRose (jderose)
Paul Larson (pwlars)
affects: ubiquity (Ubuntu) → aptdaemon (Ubuntu)
Changed in aptdaemon (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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