*** This bug is a duplicate of bug 1726679 *** https://bugs.launchpad.net/bugs/1726679
Public bug reported: Started receiving this error after upgrade from Ubuntu Gnome 17.04 to Ubuntu 17.10. A crash report will occasionally appear when the system starts. This error can always be seen when doing and apt install upgrade. apt install upgrade output - error shown at the end: sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: augeas-lenses bridge-utils cpu-checker cpulimit dmeventd dynamips ebtables gcc-6-base:i386 gns3-server ipxe-qemu libaio1 libass5 libaugeas0 libboost-random1.62.0 libboost-regex1.62.0 libcuda1-375 libdevmapper-event1.02.1 libdirectfb-1.2-9 libebur128-1 libfdt1 libgtkglext1 libiscsi7 libllvm4.0:i386 liblvm2app2.2 liblvm2cmd2.02 libnetcf1 libopencv-calib3d2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-highgui2.4-deb0 libopencv-imgproc2.4v5 libopencv-objdetect2.4v5 libopencv-video2.4v5 libpangox-1.0-0 libpcre16-3 libphobos2-ldc71 libqgsttools-p1 libqt4-designer libqt4-help libqt4-scripttools libqt4-svg libqt4-test libqt5clucene5 libqt5multimedia5-plugins libqt5multimediawidgets5 libqtassistantclient4 librados2 librbd1 libreadline5 libspice-server1 libvirt-bin libvirt-clients libvirt-daemon libvirt-daemon-system libvirt0 libvncserver1 libwireshark8 libwiretap6 libwsutil7 libx265-110 libxdo3 libxen-4.8 libxen-4.9 libxenstore3.0 linux-headers-4.10.0-35 linux-headers-4.10.0-35-generic linux-image-4.10.0-35-generic linux-image-extra-4.10.0-35-generic linux-signed-image-4.10.0-35-generic lvm2 msr-tools nvidia-opencl-icd-375 python-qt4 qemu-block-extra qemu-kvm qemu-system-arm qemu-system-common qemu-system-x86 qemu-utils seabios ubridge vpcs x11vnc x11vnc-data xdotool Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: gir1.2-gnomedesktop-3.0 gnome-desktop3-data gnome-shell-extension-appindicator gns3-server libcuda1-375 libcuda1-384 libgnome-desktop-3-12 lshw nvidia-375 nvidia-384 nvidia-opencl-icd-375 nvidia-opencl-icd-384 ubuntu-advantage-tools 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0 B/91.0 MB of archives. After this operation, 5,737 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 296447 files and directories currently installed.) Preparing to unpack .../00-gns3-server_2.1.0~artful1_amd64.deb ... Unpacking gns3-server (2.1.0~artful1) over (2.0.3~zesty1) ... Preparing to unpack .../01-ubuntu-advantage-tools_10ubuntu0.17.10.1_all.deb ... Unpacking ubuntu-advantage-tools (10ubuntu0.17.10.1) over (10) ... Preparing to unpack .../02-lshw_02.18-0.1ubuntu4_amd64.deb ... Unpacking lshw (02.18-0.1ubuntu4) over (02.18-0.1ubuntu3) ... Preparing to unpack .../03-gnome-desktop3-data_3.26.1-0ubuntu1pop0_all.deb ... Unpacking gnome-desktop3-data (3.26.1-0ubuntu1pop0) over (3.26.1-0ubuntu1) ... Preparing to unpack .../04-libgnome-desktop-3-12_3.26.1-0ubuntu1pop0_amd64.deb ... Unpacking libgnome-desktop-3-12:amd64 (3.26.1-0ubuntu1pop0) over (3.26.1-0ubuntu1) ... Preparing to unpack .../05-gir1.2-gnomedesktop-3.0_3.26.1-0ubuntu1pop0_amd64.deb ... Unpacking gir1.2-gnomedesktop-3.0:amd64 (3.26.1-0ubuntu1pop0) over (3.26.1-0ubuntu1) ... Preparing to unpack .../06-gnome-shell-extension-appindicator_17.10.2_all.deb ... Unpacking gnome-shell-extension-appindicator (17.10.2) over (17.10.1) ... Preparing to unpack .../07-nvidia-384_384.90-0ubuntu3.17.10.1_amd64.deb ... Removing all DKMS Modules Done. Unpacking nvidia-384 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Preparing to unpack .../08-libcuda1-384_384.90-0ubuntu3.17.10.1_amd64.deb ... Unpacking libcuda1-384 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Preparing to unpack .../09-libcuda1-375_384.90-0ubuntu3.17.10.1_amd64.deb ... Unpacking libcuda1-375 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Preparing to unpack .../10-nvidia-375_384.90-0ubuntu3.17.10.1_amd64.deb ... Unpacking nvidia-375 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Preparing to unpack .../11-nvidia-opencl-icd-384_384.90-0ubuntu3.17.10.1_amd64.deb ... Unpacking nvidia-opencl-icd-384 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Preparing to unpack .../12-nvidia-opencl-icd-375_384.90-0ubuntu3.17.10.1_amd64.deb ... Unpacking nvidia-opencl-icd-375 (384.90-0ubuntu3.17.10.1) over (384.90-0ubuntu3) ... Setting up ubuntu-advantage-tools (10ubuntu0.17.10.1) ... Setting up gnome-shell-extension-appindicator (17.10.2) ... Processing triggers for ureadahead (0.100.0-20) ... Setting up shim-signed (1.32+0.9+1474479173.6c180c6-1ubuntu1) ... Installing for x86_64-efi platform. grub-install: error: cannot open `/boot/efi/EFI/BOOT/BOOTX64.efi': Is a directory. dpkg: error processing package shim-signed (--configure): subprocess installed post-installation script returned error exit status 1 Setting up lshw (02.18-0.1ubuntu4) ... Setting up grub-efi-amd64-signed (1.85+2.02~beta3-4ubuntu7) ... Installing for x86_64-efi platform. grub-install: error: cannot open `/boot/efi/EFI/BOOT/BOOTX64.efi': Is a directory. dpkg: error processing package grub-efi-amd64-signed (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.26-0ubuntu2) ... Setting up gns3-server (2.1.0~artful1) ... Setting up nvidia-384 (384.90-0ubuntu3.17.10.1) ... dpkg: error: version '-' has bad syntax: revision number is empty dpkg: error: version '-' has bad syntax: revision number is empty dpkg: error: version '-' has bad syntax: revision number is empty update-initramfs: deferring update (trigger activated) INFO:Enable nvidia-384 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-bonw11 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-serw10 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-oryp3 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-oryp2 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-oryp3-ess DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-oryp2-ess DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/system76-nvidia-quirks-oryp3-b Loading new nvidia-384-384.90 DKMS files... Building for 4.13.0-16-generic Building for architecture x86_64 Building initial module for 4.13.0-16-generic Done. nvidia_384: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-16-generic/updates/dkms/ nvidia_384_modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-16-generic/updates/dkms/ nvidia_384_drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-16-generic/updates/dkms/ nvidia_384_uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.13.0-16-generic/updates/dkms/ depmod... DKMS: install completed. Processing triggers for man-db (2.7.6.1-2) ... Setting up gnome-desktop3-data (3.26.1-0ubuntu1pop0) ... Setting up libgnome-desktop-3-12:amd64 (3.26.1-0ubuntu1pop0) ... Setting up nvidia-opencl-icd-384 (384.90-0ubuntu3.17.10.1) ... Setting up nvidia-375 (384.90-0ubuntu3.17.10.1) ... Setting up gir1.2-gnomedesktop-3.0:amd64 (3.26.1-0ubuntu1pop0) ... Setting up nvidia-opencl-icd-375 (384.90-0ubuntu3.17.10.1) ... Setting up libcuda1-384 (384.90-0ubuntu3.17.10.1) ... Setting up libcuda1-375 (384.90-0ubuntu3.17.10.1) ... Processing triggers for libc-bin (2.26-0ubuntu2) ... Processing triggers for initramfs-tools (0.125ubuntu12) ... update-initramfs: Generating /boot/initrd.img-4.13.0-16-generic Errors were encountered while processing: shim-signed grub-efi-amd64-signed E: Sub-process /usr/bin/dpkg returned an error code (1) ======================================== ~$ lsb_release -rd Description: Ubuntu 17.10 Release: 17.10 apt-cache policy shim-signed shim-signed: Installed: 1.32+0.9+1474479173.6c180c6-1ubuntu1 Candidate: 1.32+0.9+1474479173.6c180c6-1ubuntu1 Version table: *** 1.32+0.9+1474479173.6c180c6-1ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Package DistroRelease: Ubuntu 17.10 Package: shim-signed 1.32+0.9+1474479173.6c180c6-1ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled' ApportVersion: 2.20.7-0ubuntu3.1 AptOrdering: tzdata:amd64: Install NULL: ConfigurePending Architecture: amd64 Date: Sat Nov 11 09:34:20 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-08-20 (82 days ago) InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1 RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5 SecureBoot: 6 0 0 0 0 SourcePackage: shim-signed Title: package shim-signed 1.32+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to artful on 2017-10-21 (20 days ago) ** Affects: shim-signed (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731642 Title: package shim-signed 1.32+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1731642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs