Public bug reported: Hello, I had some problems during my most recent apt upgrade. A confounding factor to these problems was removing my laptop from its docking station a few minutes earlier.
$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: linux-headers-5.4.0-42 linux-headers-5.4.0-42-generic linux-image-5.4.0-42-generic linux-modules-5.4.0-42-generic linux-modules-extra-5.4.0-42-generic python3-click python3-colorama The following packages will be upgraded: base-files libnss-mymachines libnss-systemd libpam-systemd libpulse-mainloop-glib0 libpulse0 libpulsedsp libseccomp2 libsystemd0 libudev1 libvirt-clients libvirt-daemon libvirt-daemon-driver-qemu libvirt-daemon-driver-storage-rbd libvirt-daemon-driver-storage-zfs libvirt-daemon-system libvirt-daemon-system-systemd libvirt0 linux-firmware linux-generic linux-headers-generic linux-image-generic pulseaudio pulseaudio-utils python3-distupgrade sudo systemd systemd-container systemd-journal-remote systemd-sysv systemd-timesyncd ubuntu-drivers-common ubuntu-release-upgrader-core udev 34 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 110 MB/184 MB of archives. After this operation, 360 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://wopr.domain/ubuntu focal-proposed/main amd64 base-files amd64 11ubuntu5.1 [60.1 kB] Get:2 http://wopr.domain/ubuntu focal-proposed/main amd64 libnss-systemd amd64 245.4-4ubuntu3.2 [95.6 kB] Get:3 http://wopr.domain/ubuntu focal-proposed/universe amd64 systemd-journal-remote amd64 245.4-4ubuntu3.2 [61.9 kB] Get:4 http://wopr.domain/ubuntu focal-proposed/main amd64 udev amd64 245.4-4ubuntu3.2 [1,363 kB] Get:5 http://wopr.domain/ubuntu focal-proposed/main amd64 libudev1 amd64 245.4-4ubuntu3.2 [78.9 kB] Get:6 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-daemon-system amd64 6.0.0-0ubuntu8.2 [67.5 kB] Get:7 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-clients amd64 6.0.0-0ubuntu8.2 [343 kB] Get:8 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-daemon-driver-qemu amd64 6.0.0-0ubuntu8.2 [605 kB] Get:9 http://wopr.domain/ubuntu focal-proposed/universe amd64 libvirt-daemon-driver-storage-zfs amd64 6.0.0-0ubuntu8.2 [21.4 kB] Get:10 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-daemon-driver-storage-rbd amd64 6.0.0-0ubuntu8.2 [28.3 kB] Get:11 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt0 amd64 6.0.0-0ubuntu8.2 [1,444 kB] Get:12 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-daemon amd64 6.0.0-0ubuntu8.2 [404 kB] Get:13 http://wopr.domain/ubuntu focal-proposed/main amd64 libnss-mymachines amd64 245.4-4ubuntu3.2 [131 kB] Get:14 http://wopr.domain/ubuntu focal-proposed/main amd64 libseccomp2 amd64 2.4.3-1ubuntu3.20.04.3 [42.4 kB] Get:15 http://wopr.domain/ubuntu focal-proposed/main amd64 systemd-container amd64 245.4-4ubuntu3.2 [317 kB] Get:16 http://wopr.domain/ubuntu focal-proposed/main amd64 libvirt-daemon-system-systemd amd64 6.0.0-0ubuntu8.2 [12.3 kB] Get:17 http://wopr.domain/ubuntu focal-proposed/main amd64 systemd-sysv amd64 245.4-4ubuntu3.2 [10.3 kB] Get:18 http://wopr.domain/ubuntu focal-proposed/main amd64 systemd-timesyncd amd64 245.4-4ubuntu3.2 [28.0 kB] Get:19 http://wopr.domain/ubuntu focal-proposed/main amd64 libpam-systemd amd64 245.4-4ubuntu3.2 [186 kB] Get:20 http://wopr.domain/ubuntu focal-proposed/main amd64 systemd amd64 245.4-4ubuntu3.2 [3,796 kB] Get:21 http://wopr.domain/ubuntu focal-proposed/main amd64 libsystemd0 amd64 245.4-4ubuntu3.2 [271 kB] Get:22 http://wopr.domain/ubuntu focal-proposed/main amd64 libpulse-mainloop-glib0 amd64 1:13.99.1-1ubuntu3.5 [11.7 kB] Get:23 http://wopr.domain/ubuntu focal-proposed/main amd64 libpulsedsp amd64 1:13.99.1-1ubuntu3.5 [21.7 kB] Get:24 http://wopr.domain/ubuntu focal-proposed/main amd64 pulseaudio-utils amd64 1:13.99.1-1ubuntu3.5 [55.0 kB] Get:25 http://wopr.domain/ubuntu focal-proposed/main amd64 pulseaudio amd64 1:13.99.1-1ubuntu3.5 [815 kB] Get:26 http://wopr.domain/ubuntu focal-proposed/main amd64 libpulse0 amd64 1:13.99.1-1ubuntu3.5 [263 kB] Get:27 http://wopr.domain/ubuntu focal/main amd64 python3-colorama all 0.4.3-1build1 [23.9 kB] Get:28 http://wopr.domain/ubuntu focal/main amd64 python3-click all 7.0-3 [64.8 kB] Get:29 http://wopr.domain/ubuntu focal-proposed/main amd64 ubuntu-drivers-common amd64 1:0.8.4~0.20.04.1 [45.2 kB] Get:30 http://wopr.domain/ubuntu focal-proposed/main amd64 sudo amd64 1.8.31-1ubuntu1.1 [513 kB] Get:31 http://wopr.domain/ubuntu focal-proposed/main amd64 ubuntu-release-upgrader-core all 1:20.04.23 [23.6 kB] Get:32 http://wopr.domain/ubuntu focal-proposed/main amd64 python3-distupgrade all 1:20.04.23 [103 kB] Get:33 http://wopr.domain/ubuntu focal-proposed/main amd64 linux-firmware all 1.187.2 [98.8 MB] Fetched 110 MB in 15s (7,164 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 214052 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu5.1_amd64.deb ... Warning: Stopping motd-news.service, but it can still be activated by: motd-news.timer Unpacking base-files (11ubuntu5.1) over (11ubuntu5) ... Failed to reload daemon: Connection timed out Failed to reload daemon: Connection timed out Setting up base-files (11ubuntu5.1) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Failed to reload daemon: Connection timed out Failed to get unit file state for motd-news.timer: Connection timed out Failed to retrieve unit state: Connection timed out motd-news.timer is a disabled or a static unit, not starting it. Failed to reload daemon: Connection timed out Failed to get unit file state for motd-news.service: Connection timed out Failed to retrieve unit state: Connection timed out motd-news.service is a disabled or a static unit, not starting it. (Reading database ... 214052 files and directories currently installed.) Preparing to unpack .../libnss-systemd_245.4-4ubuntu3.2_amd64.deb ... Unpacking libnss-systemd:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../systemd-journal-remote_245.4-4ubuntu3.2_amd64.deb ... Unpacking systemd-journal-remote (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../udev_245.4-4ubuntu3.2_amd64.deb ... Unpacking udev (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../libudev1_245.4-4ubuntu3.2_amd64.deb ... Unpacking libudev1:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Setting up libudev1:amd64 (245.4-4ubuntu3.2) ... (Reading database ... 214052 files and directories currently installed.) Preparing to unpack .../0-libvirt-daemon-system_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon-system (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Failed to reload daemon: Connection timed out Failed to reload daemon: Connection timed out Preparing to unpack .../1-libvirt-clients_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-clients (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../2-libvirt-daemon-driver-qemu_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon-driver-qemu (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../3-libvirt-daemon-driver-storage-zfs_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon-driver-storage-zfs (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../4-libvirt-daemon-driver-storage-rbd_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon-driver-storage-rbd (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../5-libvirt0_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt0:amd64 (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../6-libvirt-daemon_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../7-libnss-mymachines_245.4-4ubuntu3.2_amd64.deb ... Unpacking libnss-mymachines:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../8-libseccomp2_2.4.3-1ubuntu3.20.04.3_amd64.deb ... Unpacking libseccomp2:amd64 (2.4.3-1ubuntu3.20.04.3) over (2.4.3-1ubuntu3.20.04.2) ... Setting up libseccomp2:amd64 (2.4.3-1ubuntu3.20.04.3) ... (Reading database ... 214052 files and directories currently installed.) Preparing to unpack .../0-systemd-container_245.4-4ubuntu3.2_amd64.deb ... Unpacking systemd-container (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../1-libvirt-daemon-system-systemd_6.0.0-0ubuntu8.2_amd64.deb ... Unpacking libvirt-daemon-system-systemd (6.0.0-0ubuntu8.2) over (6.0.0-0ubuntu8.1) ... Preparing to unpack .../2-systemd-sysv_245.4-4ubuntu3.2_amd64.deb ... Unpacking systemd-sysv (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../3-systemd-timesyncd_245.4-4ubuntu3.2_amd64.deb ... Unpacking systemd-timesyncd (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Failed to reload daemon: Connection timed out Preparing to unpack .../4-libpam-systemd_245.4-4ubuntu3.2_amd64.deb ... Unpacking libpam-systemd:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../5-systemd_245.4-4ubuntu3.2_amd64.deb ... Unpacking systemd (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Preparing to unpack .../6-libsystemd0_245.4-4ubuntu3.2_amd64.deb ... Unpacking libsystemd0:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3.1) ... Setting up libsystemd0:amd64 (245.4-4ubuntu3.2) ... (Reading database ... 214052 files and directories currently installed.) Preparing to unpack .../00-libpulse-mainloop-glib0_1%3a13.99.1-1ubuntu3.5_amd64.deb ... Unpacking libpulse-mainloop-glib0:amd64 (1:13.99.1-1ubuntu3.5) over (1:13.99.1-1ubuntu3.3) ... Preparing to unpack .../01-libpulsedsp_1%3a13.99.1-1ubuntu3.5_amd64.deb ... Unpacking libpulsedsp:amd64 (1:13.99.1-1ubuntu3.5) over (1:13.99.1-1ubuntu3.3) ... Preparing to unpack .../02-pulseaudio-utils_1%3a13.99.1-1ubuntu3.5_amd64.deb ... Unpacking pulseaudio-utils (1:13.99.1-1ubuntu3.5) over (1:13.99.1-1ubuntu3.3) ... Preparing to unpack .../03-pulseaudio_1%3a13.99.1-1ubuntu3.5_amd64.deb ... Unpacking pulseaudio (1:13.99.1-1ubuntu3.5) over (1:13.99.1-1ubuntu3.3) ... Preparing to unpack .../04-libpulse0_1%3a13.99.1-1ubuntu3.5_amd64.deb ... Unpacking libpulse0:amd64 (1:13.99.1-1ubuntu3.5) over (1:13.99.1-1ubuntu3.3) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../05-python3-colorama_0.4.3-1build1_all.deb ... Unpacking python3-colorama (0.4.3-1build1) ... Selecting previously unselected package python3-click. Preparing to unpack .../06-python3-click_7.0-3_all.deb ... Unpacking python3-click (7.0-3) ... Preparing to unpack .../07-ubuntu-drivers-common_1%3a0.8.4~0.20.04.1_amd64.deb ... Unpacking ubuntu-drivers-common (1:0.8.4~0.20.04.1) over (1:0.8.1.1) ... Preparing to unpack .../08-sudo_1.8.31-1ubuntu1.1_amd64.deb ... Unpacking sudo (1.8.31-1ubuntu1.1) over (1.8.31-1ubuntu1) ... Preparing to unpack .../09-ubuntu-release-upgrader-core_1%3a20.04.23_all.deb ... Unpacking ubuntu-release-upgrader-core (1:20.04.23) over (1:20.04.21) ... Preparing to unpack .../10-python3-distupgrade_1%3a20.04.23_all.deb ... Unpacking python3-distupgrade (1:20.04.23) over (1:20.04.21) ... Preparing to unpack .../11-linux-firmware_1.187.2_all.deb ... Unpacking linux-firmware (1.187.2) over (1.187.1) ... Selecting previously unselected package linux-modules-5.4.0-42-generic. Preparing to unpack .../12-linux-modules-5.4.0-42-generic_5.4.0-42.46_amd64.deb ... Unpacking linux-modules-5.4.0-42-generic (5.4.0-42.46) ... Selecting previously unselected package linux-image-5.4.0-42-generic. Preparing to unpack .../13-linux-image-5.4.0-42-generic_5.4.0-42.46_amd64.deb ... Unpacking linux-image-5.4.0-42-generic (5.4.0-42.46) ... Selecting previously unselected package linux-modules-extra-5.4.0-42-generic. Preparing to unpack .../14-linux-modules-extra-5.4.0-42-generic_5.4.0-42.46_amd64.deb ... Unpacking linux-modules-extra-5.4.0-42-generic (5.4.0-42.46) ... Preparing to unpack .../15-linux-generic_5.4.0.42.45_amd64.deb ... Unpacking linux-generic (5.4.0.42.45) over (5.4.0.41.44) ... Preparing to unpack .../16-linux-image-generic_5.4.0.42.45_amd64.deb ... Unpacking linux-image-generic (5.4.0.42.45) over (5.4.0.41.44) ... Selecting previously unselected package linux-headers-5.4.0-42. Preparing to unpack .../17-linux-headers-5.4.0-42_5.4.0-42.46_all.deb ... Unpacking linux-headers-5.4.0-42 (5.4.0-42.46) ... Selecting previously unselected package linux-headers-5.4.0-42-generic. Preparing to unpack .../18-linux-headers-5.4.0-42-generic_5.4.0-42.46_amd64.deb ... Unpacking linux-headers-5.4.0-42-generic (5.4.0-42.46) ... Preparing to unpack .../19-linux-headers-generic_5.4.0.42.45_amd64.deb ... Unpacking linux-headers-generic (5.4.0.42.45) over (5.4.0.41.44) ... Setting up linux-headers-5.4.0-42 (5.4.0-42.46) ... Setting up libpulse0:amd64 (1:13.99.1-1ubuntu3.5) ... Setting up python3-colorama (0.4.3-1build1) ... Setting up linux-firmware (1.187.2) ... update-initramfs: Generating /boot/initrd.img-5.4.0-41-generic cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu cryptsetup: WARNING: Couldn't determine root device update-initramfs: Generating /boot/initrd.img-5.4.0-40-generic cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu cryptsetup: WARNING: Couldn't determine root device update-initramfs: Generating /boot/initrd.img-5.4.0-37-generic cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu cryptsetup: WARNING: Couldn't determine root device Setting up linux-headers-5.4.0-42-generic (5.4.0-42.46) ... Setting up libpulsedsp:amd64 (1:13.99.1-1ubuntu3.5) ... Setting up linux-headers-generic (5.4.0.42.45) ... Setting up python3-click (7.0-3) ... Setting up python3-distupgrade (1:20.04.23) ... Setting up linux-modules-5.4.0-42-generic (5.4.0-42.46) ... Setting up libpulse-mainloop-glib0:amd64 (1:13.99.1-1ubuntu3.5) ... Setting up pulseaudio-utils (1:13.99.1-1ubuntu3.5) ... Setting up udev (245.4-4ubuntu3.2) ... Failed to reload daemon: Connection timed out Failed to reload daemon: Connection timed out Failed to retrieve unit state: Connection timed out Failed to restart udev.service: Connection timed out See system logs and 'systemctl status udev.service' for details. Progress: [ 69%] [###############################################################.............................] I couldn't use firefox any longer, no new pages would load. I couldn't use ip a to check my IP address; it hung and gave no output. I could continue to use mosh to my IRC host. I could read incoming messages on matterhorn but my replies never made it to the server. sudo would hang before executing the commands. Running shutdown -r now, hung for a very long time before reporting the APT lock. Trying to bypass the apt lock preventing shutdown with the reported systemctl command returned "Connection timed out" messages. Starting top took several minutes but it worked fine when it was running. Starting new terminals was instant. I held down the power button to reboot. Thanks ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: systemd 245.4-4ubuntu3.2 ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip Date: Tue Jul 21 23:53:36 2020 MachineType: LENOVO 20KHCTO1WW ProcEnviron: TERM=rxvt-unicode-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu@/vmlinuz-5.4.0-42-generic root=ZFS=rpool/ROOT/ubuntu ro root=ZFS=rpool/ROOT/ubuntu quiet splash acpi_osi=! "acpi_osi=Windows 2015" vt.handoff=1 SourcePackage: systemd SystemdDelta: [EXTENDED] /usr/lib/systemd/system/rc-local.service → /usr/lib/systemd/system/rc-local.service.d/debian.conf [EXTENDED] /usr/lib/systemd/system/user@.service → /usr/lib/systemd/system/user@.service.d/timeout.conf 2 overridden configuration files found. UpgradeStatus: Upgraded to focal on 2020-01-24 (179 days ago) dmi.bios.date: 04/30/2020 dmi.bios.vendor: LENOVO dmi.bios.version: N23ET73W (1.48 ) dmi.board.asset.tag: Not Available dmi.board.name: 20KHCTO1WW dmi.board.vendor: LENOVO dmi.board.version: SDK0J40709 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN23ET73W(1.48):bd04/30/2020:svnLENOVO:pn20KHCTO1WW:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KHCTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad X1 Carbon 6th dmi.product.name: 20KHCTO1WW dmi.product.sku: LENOVO_MT_20KH_BU_Think_FM_ThinkPad X1 Carbon 6th dmi.product.version: ThinkPad X1 Carbon 6th dmi.sys.vendor: LENOVO ** Affects: systemd (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal package-from-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1888442 Title: upgrade did not go well To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1888442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs