Ubuntu – Ubuntu 18.04 Installer crashes on Dell XPS 15 9560

18.04dellsystem-installationubiquityxps

I have a problem with installing Ubuntu 18.04 LTS on my DELL XPS 15 9560 (though I haven't tried installing it on different hardware and thus am not sure if the bug is hardware or version specific).

After finishing all the steps in the installer the window just closes after a short pause, displaying the "waiting" cursor. Few moments after I get a crash report from plugininstall.py:

1 2 3

Shortly after that, ubiquity itself crashes. Can anybody suggest a workaround for this error?

1 2 3 4 5

Best Answer

You are experiencing Bug #1751252.

There are two options to remedy this:

Option 1: Install a newer fixed version of ubiquity

  1. Boot your 18.04 Live ISO
  2. Select Try Ubuntu
  3. Before you start the Ubiquity installer, open a Terminal window (CTRL-ALT-T)
  4. Execute the following command in the Terminal to see which version of ubiquity you have

    dpkg -l ubiquity
    
    ||/ Name           Version      Architecture Description
    +++-==============-============-============-=================================
    ii  ubiquity       18.04.14     amd64        Ubuntu live CD installer
    
  5. If the version is 18.04.14, execute the following to update ubiquity

    sudo apt update
    sudo apt install ubiquity
    
  6. Verify that ubiquity has been upgraded to version 18.04.14.1 (note the .1 at the end)

    dpkg -l ubiquity
    
    ||/ Name           Version      Architecture Description
    +++-==============-============-============-=================================
    ii  ubiquity       18.04.14.1   amd64        Ubuntu live CD installer
    
  7. Start the installer by clicking on the Ubiquity icon, and it should now allow you to proceed through the installation

Option 2: Apply a patch to ubiquity

  1. Boot your 18.04 Live ISO
  2. Select Try Ubuntu
  3. Before you start the Ubiquity installer, open a Terminal window (CTRL-ALT-T)
  4. Execute the following commands in the Terminal to download and apply the patch

    cd ~/Downloads
    
    wget https://code.launchpad.net/~azzar1/ubiquity/+git/ubiquity/+merge/345056/+preview-diff/831305/+files/preview.diff --output-document ubiquity.patch
    
    sudo cp /usr/lib/ubiquity/ubiquity/misc.py /usr/lib/ubiquity/ubiquity/misc.py.original
    
    sudo patch /usr/lib/ubiquity/ubiquity/misc.py ubiquity.patch
    
  5. Start the installer by clicking on the Ubiquity icon, and it should now allow you to proceed through the installation

Related Question