Log of problem from apt: sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra kernelstub libmozjs-38-0 libnss-myhostname libnss-resolve libpam-systemd libsystemd0 libudev1 snapd system76-driver system76-driver-nvidia systemd systemd-sysv thermald udev 17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 76.7 MB of archives. After this operation, 454 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libsystemd0 amd64 232-21ubuntu3 [211 kB] Get:2 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libnss-resolve amd64 232-21ubuntu3 [114 kB] Get:3 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libpam-systemd amd64 232-21ubuntu3 [116 kB] Get:4 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libnss-myhostname amd64 232-21ubuntu3 [36.8 kB] Get:5 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 systemd amd64 232-21ubuntu3 [2,362 kB] Get:6 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 udev amd64 232-21ubuntu3 [1,040 kB] Get:7 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libudev1 amd64 232-21ubuntu3 [56.4 kB] Get:8 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 systemd-sysv amd64 232-21ubuntu3 [13.0 kB] Get:9 http://ppa.launchpad.net/kernelstub/daily/ubuntu zesty/main amd64 kernelstub all 0.21 [6,906 B] Get:10 http://ppa.launchpad.net/system76-dev/daily/ubuntu zesty/main amd64 system76-driver all 17.04.2~bzr689~ubuntu17.04.1 [53.6 kB] Get:11 http://ppa.launchpad.net/system76-dev/daily/ubuntu zesty/main amd64 system76-driver-nvidia all 17.04.2~bzr689~ubuntu17.04.1 [11.6 kB] Get:12 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 chromium-browser-l10n all 58.0.3029.81-0ubuntu2.17.04.1350 [3,252 kB] Get:13 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 chromium-browser amd64 58.0.3029.81-0ubuntu2.17.04.1350 [59.4 MB] Get:14 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 chromium-codecs-ffmpeg-extra amd64 58.0.3029.81-0ubuntu2.17.04.1350 [1,034 kB] Get:15 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 libmozjs-38-0 amd64 38.2.1~rc0-0ubuntu6 [2,115 kB] Get:16 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 snapd amd64 2.24.1+17.04 [6,664 kB] Get:17 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 thermald amd64 1.5.4-4ubuntu1 [191 kB] Fetched 76.7 MB in 43s (1,769 kB/s) (Reading database ... 195115 files and directories currently installed.) Preparing to unpack .../libsystemd0_232-21ubuntu3_amd64.deb ... Unpacking libsystemd0:amd64 (232-21ubuntu3) over (232-21ubuntu2) ... Setting up libsystemd0:amd64 (232-21ubuntu3) ... (Reading database ... 195115 files and directories currently installed.) Preparing to unpack .../0-libnss-resolve_232-21ubuntu3_amd64.deb ... Unpacking libnss-resolve:amd64 (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../1-libpam-systemd_232-21ubuntu3_amd64.deb ... Unpacking libpam-systemd:amd64 (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../2-libnss-myhostname_232-21ubuntu3_amd64.deb ... Unpacking libnss-myhostname:amd64 (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../3-systemd_232-21ubuntu3_amd64.deb ... Unpacking systemd (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../4-udev_232-21ubuntu3_amd64.deb ... Unpacking udev (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../5-libudev1_232-21ubuntu3_amd64.deb ... Unpacking libudev1:amd64 (232-21ubuntu3) over (232-21ubuntu2) ... Setting up libudev1:amd64 (232-21ubuntu3) ... Setting up systemd (232-21ubuntu3) ... Installing new version of config file /etc/systemd/resolved.conf ... addgroup: The group `systemd-journal' already exists as a system group. Exiting. (Reading database ... 195116 files and directories currently installed.) Preparing to unpack .../0-systemd-sysv_232-21ubuntu3_amd64.deb ... Unpacking systemd-sysv (232-21ubuntu3) over (232-21ubuntu2) ... Preparing to unpack .../1-chromium-browser-l10n_58.0.3029.81-0ubuntu2.17.04.1350_all.deb ... Unpacking chromium-browser-l10n (58.0.3029.81-0ubuntu2.17.04.1350) over (57.0.2987.98-0ubuntu1.1348) ... Preparing to unpack .../2-chromium-browser_58.0.3029.81-0ubuntu2.17.04.1350_amd64.deb ... Unpacking chromium-browser (58.0.3029.81-0ubuntu2.17.04.1350) over (57.0.2987.98-0ubuntu1.1348) ... Preparing to unpack .../3-chromium-codecs-ffmpeg-extra_58.0.3029.81-0ubuntu2.17.04.1350_amd64.deb ... Unpacking chromium-codecs-ffmpeg-extra (58.0.3029.81-0ubuntu2.17.04.1350) over (57.0.2987.98-0ubuntu1.1348) ... Preparing to unpack .../4-kernelstub_0.21_all.deb ... Unpacking kernelstub (0.21) over (0.19) ... Preparing to unpack .../5-libmozjs-38-0_38.2.1~rc0-0ubuntu6_amd64.deb ... Unpacking libmozjs-38-0:amd64 (38.2.1~rc0-0ubuntu6) over (38.2.1~rc0-0ubuntu5) ... Preparing to unpack .../6-snapd_2.24.1+17.04_amd64.deb ... Warning: Stopping snapd.service, but it can still be activated by: snapd.socket Unpacking snapd (2.24.1+17.04) over (2.23.6+17.04.1) ... Preparing to unpack .../7-thermald_1.5.4-4ubuntu1_amd64.deb ... Unpacking thermald (1.5.4-4ubuntu1) over (1.5.4-4) ... Preparing to unpack .../8-system76-driver_17.04.2~bzr689~ubuntu17.04.1_all.deb ... Unpacking system76-driver (17.04.2~bzr689~ubuntu17.04.1) over (17.04.1~bzr685~ubuntu17.04.1) ... Preparing to unpack .../9-system76-driver-nvidia_17.04.2~bzr689~ubuntu17.04.1_all.deb ... Unpacking system76-driver-nvidia (17.04.2~bzr689~ubuntu17.04.1) over (17.04.1~bzr685~ubuntu17.04.1) ... Setting up system76-driver (17.04.2~bzr689~ubuntu17.04.1) ... INFO product_version: 'oryp3-ess' INFO backlight_vendor: Enable brightness hot keys INFO Skipping 'backlight_vendor' as it was already applied INFO dac_fixup: Enable high-quality audio DAC INFO Skipping 'dac_fixup' as it was already applied INFO pulseaudio_hp_spdif_desc: Fix Headphone/SPDIF description in Pulseaudio INFO Skipping 'pulseaudio_hp_spdif_desc' as it was already applied INFO hidpi_scaling: Set default HiDPI scaling factor. INFO Running 'hidpi_scaling' INFO * Set default HiDPI scaling factor. Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Setting up libnss-myhostname:amd64 (232-21ubuntu3) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Setting up thermald (1.5.4-4ubuntu1) ... Setting up kernelstub (0.21) ... Setting up systemd-sysv (232-21ubuntu3) ... Processing triggers for libglib2.0-0:amd64 (2.52.0-1) ... Setting up snapd (2.24.1+17.04) ... Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ... Processing triggers for libc-bin (2.24-9ubuntu2) ... /sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link Setting up udev (232-21ubuntu3) ... addgroup: The group `input' already exists as a system group. Exiting. update-initramfs: deferring update (trigger activated) Setting up chromium-codecs-ffmpeg-extra (58.0.3029.81-0ubuntu2.17.04.1350) ... Processing triggers for systemd (232-21ubuntu3) ... Setting up libnss-resolve:amd64 (232-21ubuntu3) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Processing triggers for dbus (1.10.10-1ubuntu2) ... Processing triggers for hicolor-icon-theme (0.15-1) ... Setting up libmozjs-38-0:amd64 (38.2.1~rc0-0ubuntu6) ... Setting up chromium-browser (58.0.3029.81-0ubuntu2.17.04.1350) ... Setting up libpam-systemd:amd64 (232-21ubuntu3) ... Setting up system76-driver-nvidia (17.04.2~bzr689~ubuntu17.04.1) ... INFO:Enable nvidia-375 INFO:Applying quirk System76 PC INFO:Applying quirk system76-0-oryp3-ess Setting up chromium-browser-l10n (58.0.3029.81-0ubuntu2.17.04.1350) ... Processing triggers for initramfs-tools (0.125ubuntu9) ... update-initramfs: Generating /boot/initrd.img-4.10.0-20-generic Traceback (most recent call last): File "/usr/bin/kernelstub", line 282, in main kernelOpts = check_config(configPath) File "/usr/bin/kernelstub", line 186, in check_config raise ConfigError("Missing configuration, cannot continue") NameError: name 'ConfigError' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/kernelstub", line 383, in main() File "/usr/bin/kernelstub", line 283, in main except ConfigError: NameError: name 'ConfigError' is not defined run-parts: /etc/initramfs/post-update.d//zz-kernelstub exited with return code 1 dpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.24-9ubuntu2) ... /sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) oem@system76-pc:~$ sudo nano /etc/default/kernelstub.SAMPLE oem@system76-pc:~$ sudo mv /etc/default/kernelstub.SAMPLE /etc/default/kernelstub oem@system76-pc:~$ sudo dpkg --configure -a Setting up initramfs-tools (0.125ubuntu9) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.125ubuntu9) ... update-initramfs: Generating /boot/initrd.img-4.10.0-20-generic root : INFO NVRAM entry index: -1 root : INFO Boot Number: 0005 root : INFO Drive name is nvme0n1 root : INFO Root FS is on nvme0n1p2 root : INFO ESP data is on nvme0n1p1 root : INFO ESP partition #: 1 root : INFO Root FS UUID is: a1c97cd5-de81-482f-a287-23005b8495cb root : INFO OS running is: Ubuntu 17.04 root : INFO Kernel Params: quiet splash root : INFO Now running the commands root : INFO Copying /boot/vmlinuz-4.10.0-20-generic into /boot/efi/EFI/Ubuntu-kernelstub/linux64.efi root : INFO Copying /boot/initrd.img-4.10.0-20-generic into /boot/efi/EFI/Ubuntu-kernelstub/initrd.img root : INFO No old entry to remove, skipping. root : INFO New NVRAM: BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0006,0000,0001,0002,0003,0004,0005 Boot0000* ubuntu Boot0001* UEFI: IP4 Realtek PCIe GBE Family Controller Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller Boot0003* UEFI:CD/DVD Drive Boot0004* UEFI:Removable Device Boot0005* UEFI:Network Device Boot0006* Ubuntu 17.04 root : INFO Copying /proc/cmdline into /boot/efi/EFI/Ubuntu-kernelstub/cmdline.txt