Ubuntu – Ubuntu 18.04 Installer Crashing on XPS 15 9570/9575

18.04ubiquityxps

The Ubiquity installer crashes a few seconds after the partition stage.

Best Answer

If you have this problem, then you are experiencing Bug #1751252. I know the issue is meant to happen on XPS 9560 and the errors aren't the same but I fixed it using the same patch.

Before you begin, make sure you do all the partitioning BEFORE opening the installer.

Then I used the patch from the answer below, copied from this question.

====

...there is a patch you can use as a workaround...

  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