This is the upgrade transaction: # apt -y upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: grub-efi-amd64-signed The following packages will be upgraded: bluez bluez-cups bluez-obexd gdm3 gir1.2-gdm-1.0 gir1.2-gnomedesktop-3.0 gir1.2-mutter-2 gir1.2-snapd-1 gnome-desktop3-data gnome-shell gnome-shell-common grub-common grub-efi-amd64-bin grub-pc grub-pc-bin grub2-common libbluetooth3 libgdm1 libgnome-desktop-3-17 libmutter-2-0 libpython3-dev libpython3-stdlib libsnapd-glib1 libsysmetrics1 mutter mutter-common python3 python3-dev python3-minimal python3-update-manager shim-signed unattended-upgrades update-manager update-manager-core 34 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/10.7 MB of archives. After this operation, 3,444 kB of additional disk space will be used. Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 281621 files and directories currently installed.) Preparing to unpack .../python3-dev_3.6.5-3ubuntu1_amd64.deb ... Unpacking python3-dev (3.6.5-3ubuntu1) over (3.6.5-3) ... Preparing to unpack .../python3-minimal_3.6.5-3ubuntu1_amd64.deb ... Unpacking python3-minimal (3.6.5-3ubuntu1) over (3.6.5-3) ... Setting up python3-minimal (3.6.5-3ubuntu1) ... (Reading database ... 281621 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.5-3ubuntu1_amd64.deb ... running python pre-rtupdate hooks for python3.6... Unpacking python3 (3.6.5-3ubuntu1) over (3.6.5-3) ... Preparing to unpack .../01-libpython3-dev_3.6.5-3ubuntu1_amd64.deb ... Unpacking libpython3-dev:amd64 (3.6.5-3ubuntu1) over (3.6.5-3) ... Preparing to unpack .../02-libpython3-stdlib_3.6.5-3ubuntu1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.6.5-3ubuntu1) over (3.6.5-3) ... Preparing to unpack .../03-gnome-desktop3-data_3.28.2-0ubuntu1_all.deb ... Unpacking gnome-desktop3-data (3.28.2-0ubuntu1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../04-libgnome-desktop-3-17_3.28.2-0ubuntu1_amd64.deb ... Unpacking libgnome-desktop-3-17:amd64 (3.28.2-0ubuntu1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../05-gir1.2-gnomedesktop-3.0_3.28.2-0ubuntu1_amd64.deb ... Unpacking gir1.2-gnomedesktop-3.0:amd64 (3.28.2-0ubuntu1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../06-mutter-common_3.28.2-2~ubuntu18.04.1_all.deb ... Unpacking mutter-common (3.28.2-2~ubuntu18.04.1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../07-gir1.2-mutter-2_3.28.2-2~ubuntu18.04.1_amd64.deb ... Unpacking gir1.2-mutter-2:amd64 (3.28.2-2~ubuntu18.04.1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../08-libmutter-2-0_3.28.2-2~ubuntu18.04.1_amd64.deb ... Unpacking libmutter-2-0:amd64 (3.28.2-2~ubuntu18.04.1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../09-gnome-shell_3.28.2-0ubuntu0.18.04.1_amd64.deb ... Unpacking gnome-shell (3.28.2-0ubuntu0.18.04.1) over (3.28.1-0ubuntu2) ... Preparing to unpack .../10-gdm3_3.28.2-0ubuntu1.3_amd64.deb ... Unpacking gdm3 (3.28.2-0ubuntu1.3) over (3.28.2-0ubuntu1.2) ... Preparing to unpack .../11-libgdm1_3.28.2-0ubuntu1.3_amd64.deb ... Unpacking libgdm1 (3.28.2-0ubuntu1.3) over (3.28.2-0ubuntu1.2) ... Preparing to unpack .../12-mutter_3.28.2-2~ubuntu18.04.1_amd64.deb ... Unpacking mutter (3.28.2-2~ubuntu18.04.1) over (3.28.1-1ubuntu1) ... Preparing to unpack .../13-gir1.2-gdm-1.0_3.28.2-0ubuntu1.3_amd64.deb ... Unpacking gir1.2-gdm-1.0 (3.28.2-0ubuntu1.3) over (3.28.2-0ubuntu1.2) ... Preparing to unpack .../14-gnome-shell-common_3.28.2-0ubuntu0.18.04.1_all.deb ... Unpacking gnome-shell-common (3.28.2-0ubuntu0.18.04.1) over (3.28.1-0ubuntu2) ... Preparing to unpack .../15-python3-update-manager_1%3a18.04.11.3_all.deb ... Unpacking python3-update-manager (1:18.04.11.3) over (1:18.04.11.2) ... Preparing to unpack .../16-update-manager-core_1%3a18.04.11.3_all.deb ... Unpacking update-manager-core (1:18.04.11.3) over (1:18.04.11.2) ... Preparing to unpack .../17-update-manager_1%3a18.04.11.3_all.deb ... Unpacking update-manager (1:18.04.11.3) over (1:18.04.11.2) ... Preparing to unpack .../18-bluez_5.48-0ubuntu3.1_amd64.deb ... Unpacking bluez (5.48-0ubuntu3.1) over (5.48-0ubuntu3) ... Preparing to unpack .../19-bluez-cups_5.48-0ubuntu3.1_amd64.deb ... Unpacking bluez-cups (5.48-0ubuntu3.1) over (5.48-0ubuntu3) ... Preparing to unpack .../20-bluez-obexd_5.48-0ubuntu3.1_amd64.deb ... Unpacking bluez-obexd (5.48-0ubuntu3.1) over (5.48-0ubuntu3) ... Preparing to unpack .../21-gir1.2-snapd-1_1.41-0ubuntu0.18.04.1_amd64.deb ... Unpacking gir1.2-snapd-1:amd64 (1.41-0ubuntu0.18.04.1) over (1.39-0ubuntu1) ... Preparing to unpack .../22-libsnapd-glib1_1.41-0ubuntu0.18.04.1_amd64.deb ... Unpacking libsnapd-glib1:amd64 (1.41-0ubuntu0.18.04.1) over (1.39-0ubuntu1) ... Preparing to unpack .../23-grub-pc_2.02-2ubuntu8.1_amd64.deb ... Unpacking grub-pc (2.02-2ubuntu8.1) over (2.02-2ubuntu8) ... Preparing to unpack .../24-grub-pc-bin_2.02-2ubuntu8.1_amd64.deb ... Unpacking grub-pc-bin (2.02-2ubuntu8.1) over (2.02-2ubuntu8) ... Preparing to unpack .../25-grub2-common_2.02-2ubuntu8.1_amd64.deb ... Unpacking grub2-common (2.02-2ubuntu8.1) over (2.02-2ubuntu8) ... Preparing to unpack .../26-grub-efi-amd64-bin_2.02-2ubuntu8.1_amd64.deb ... Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.1) over (2.02-2ubuntu8) ... Preparing to unpack .../27-grub-common_2.02-2ubuntu8.1_amd64.deb ... Unpacking grub-common (2.02-2ubuntu8.1) over (2.02-2ubuntu8) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../28-grub-efi-amd64-signed_1.93.2+2.02-2ubuntu8.1_amd64.deb ... Unpacking grub-efi-amd64-signed (1.93.2+2.02-2ubuntu8.1) ... Preparing to unpack .../29-libbluetooth3_5.48-0ubuntu3.1_amd64.deb ... Unpacking libbluetooth3:amd64 (5.48-0ubuntu3.1) over (5.48-0ubuntu3) ... Preparing to unpack .../30-libsysmetrics1_1.2.0~bionic_amd64.deb ... Unpacking libsysmetrics1:amd64 (1.2.0~bionic) over (1.1.0) ... Preparing to unpack .../31-shim-signed_1.34.9.2+13-0ubuntu2_amd64.deb ... Unpacking shim-signed (1.34.9.2+13-0ubuntu2) over (1.34.9.1+13-0ubuntu2) ... Preparing to unpack .../32-unattended-upgrades_1.1ubuntu1.18.04.1_all.deb ... Unpacking unattended-upgrades (1.1ubuntu1.18.04.1) over (1.1ubuntu1) ... Setting up libpython3-stdlib:amd64 (3.6.5-3ubuntu1) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for ureadahead (0.100.0-20) ... Setting up python3 (3.6.5-3ubuntu1) ... running python rtupdate hooks for python3.6... E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory') [Errno 2] No such file or directory: '/usr/share/hplip/fax/__init__.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/coverpages.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/fax.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/faxdevice.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/ledmfax.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/ledmsoapfax.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/marvellfax.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/pmlfax.py' [Errno 2] No such file or directory: '/usr/share/hplip/fax/soapfax.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/deviceuricombobox.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr_ext.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabgrouptable.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabnametable.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/filetable.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/loadpapergroupbox.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printernamecombobox.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettings_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingstoolbox.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/queuesconf.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/readonlyradiobutton.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systemtray.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/ui_utils.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog_base.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog.py' [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog_base.py' error running python rtupdate hook hplip-data dpkg: error processing package python3 (--configure): installed python3 package post-installation script subprocess returned error exit status 4 Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ... Processing triggers for install-info (6.5.0.dfsg.1-2) ... Setting up bluez-cups (5.48-0ubuntu3.1) ... Setting up mutter-common (3.28.2-2~ubuntu18.04.1) ... Processing triggers for libglib2.0-0:amd64 (2.56.1-2ubuntu1) ... dpkg: dependency problems prevent configuration of python3-update-manager: python3-update-manager depends on python3:any (>= 3.3.2-2~); however: Package python3 is not configured yet. dpkg: error processing package python3-update-manager (--configure): dependency problems - leaving unconfigured Setting up libbluetooth3:amd64 (5.48-0ubuntu3.1) ... dpkg: dependency problems prevent configuration of python3-dev: python3-dev depends on python3 (= 3.6.5-3ubuntu1); however: Package python3 is not configured yet. dpkg: error processing package python3-dev (--configure): dependency problems - leaving unconfigured Setting up libgdm1 (3.28.2-0ubuntu1.3) ... dpkg: dependency problems prevent configuration of gnome-shell: gnome-shell depends on python3; however: Package python3 is not configured yet. dpkg: error processing package gnome-shell (--configure): dependency problems - leaving unconfigured Setting up gnome-shell-common (3.28.2-0ubuntu0.18.04.1) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Setting up libsnapd-glib1:amd64 (1.41-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up grub-common (2.02-2ubuntu8.1) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Setting up bluez-obexd (5.48-0ubuntu3.1) ... Processing triggers for systemd (237-3ubuntu10) ... dpkg: dependency problems prevent configuration of unattended-upgrades: unattended-upgrades depends on python3; however: Package python3 is not configured yet. dpkg: error processing package unattended-upgrades (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of update-manager: update-manager depends on python3:any (>= 3.3.2-2~); however: Package python3 is not configured yet. update-manager depends on policykit-1-gnome | polkit-kde-agent-1 | lxpolkit | lxqt-policykit | mate-polkit | polkit-1-auth-agent; however: Package policykit-1-gnome is not installed. Package polkit-kde-agent-1 is not installed. Package lxpolkit is not installed. Package lxqt-policykit is not installed. Package mate-polkit is not installed. Package polkit-1-auth-agent is not installed. Package gnome-shell which provides polkit-1-auth-agent is not configured yet. dpkg: error processing package update-manager (--configure): dependency problems - leaving unconfigured Processing triggers for man-db (2.8.3-2) ... Setting up gir1.2-snapd-1:amd64 (1.41-0ubuntu0.18.04.1) ... dpkg: dependency problems prevent processing triggers for gnome-menus: gnome-menus depends on python3:any (>= 3.1~); however: Package python3 is not configured yet. dpkg: error processing package gnome-menus (--configure): dependency problems - leaving triggers unprocessed Processing triggers for dbus (1.12.2-1ubuntu1) ... Setting up libsysmetrics1:amd64 (1.2.0~bionic) ... Setting up bluez (5.48-0ubuntu3.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up gnome-desktop3-data (3.28.2-0ubuntu1) ... Setting up libpython3-dev:amd64 (3.6.5-3ubuntu1) ... Setting up gir1.2-gdm-1.0 (3.28.2-0ubuntu1.3) ... dpkg: dependency problems prevent configuration of update-manager-core: update-manager-core depends on python3:any (>= 3.2~); however: Package python3 is not configured yet. update-manager-core depends on python3-update-manager (= 1:18.04.11.3); however: Package python3-update-manager is not configured yet. dpkg: error processing package update-manager-core (--configure): dependency problems - leaving unconfigured Setting up grub-efi-amd64-bin (2.02-2ubuntu8.1) ... Setting up grub-pc-bin (2.02-2ubuntu8.1) ... dpkg: dependency problems prevent configuration of gdm3: gdm3 depends on gnome-shell (>= 3.19.92); however: Package gnome-shell is not configured yet. dpkg: error processing package gdm3 (--configure): dependency problems - leaving unconfigured Setting up grub2-common (2.02-2ubuntu8.1) ... Setting up libgnome-desktop-3-17:amd64 (3.28.2-0ubuntu1) ... Setting up libmutter-2-0:amd64 (3.28.2-2~ubuntu18.04.1) ... Setting up gir1.2-gnomedesktop-3.0:amd64 (3.28.2-0ubuntu1) ... Setting up grub-pc (2.02-2ubuntu8.1) ... Installing for i386-pc platform. grub-install: warning: File system `ext2' doesn't support embedding. grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. Installation finished. No error reported. Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.15.0-24-generic Found initrd image: /boot/initrd.img-4.15.0-24-generic Found linux image: /boot/vmlinuz-4.15.0-23-generic Found initrd image: /boot/initrd.img-4.15.0-23-generic Adding boot menu entry for EFI firmware configuration done Setting up grub-efi-amd64-signed (1.93.2+2.02-2ubuntu8.1) ... Installing for x86_64-efi platform. Installation finished. No error reported. Setting up gir1.2-mutter-2:amd64 (3.28.2-2~ubuntu18.04.1) ... Setting up mutter (3.28.2-2~ubuntu18.04.1) ... Setting up shim-signed (1.34.9.2+13-0ubuntu2) ... Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: python3 python3-update-manager python3-dev gnome-shell unattended-upgrades update-manager gnome-menus update-manager-core gdm3 E: Sub-process /usr/bin/dpkg returned an error code (1)