Ubuntu 18.04 Installer crashes on Dell XPS 15 9560

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


Solution 1:

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

Solution 2:

I had very similar problems installing 18.04 on an XPS-8900 desktop with a GT1030 graphics card and a 4K display. I found that two log files, /var/log/syslog and /var/log/kern.log, were expanding at a rate of about 1GB per minute until the disk filled and the system crashed. The messages in those files all referenced PCIE errors, and the kernel (boot) option pcie_aspm=off solved it, at least until updates can fix it.

With the USB Live Installer, the option can be entered from the GRUB menu with 'e'.

After the system is installed the option can be made persistent with

$ sudo nano /etc/default/grub

then after adding the option after quiet splash type

$ sudo update-grub