Public bug reported: Upon upgrading the following error has been observed. I am not sure what caused this error. So i am attaching the whole list of things happened just before the error observed.
lsb_release -rd Description: Ubuntu 20.04.1 LTS Release: 20.04 $ 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.8.0-38-generic linux-hwe-5.8-headers-5.8.0-38 linux-image-5.8.0-38-generic linux-modules-5.8.0-38-generic linux-modules-extra-5.8.0-38-generic The following packages will be upgraded: linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 linux-libc-dev 4 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 78.4 MB of archives. After this operation, 372 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.8.0-38-generic amd64 5.8.0-38.43~20.04.1 [15.0 MB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.8.0-38-generic amd64 5.8.0-38.43~20.04.1 [9,500 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.8.0-38-generic amd64 5.8.0-38.43~20.04.1 [40.1 MB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic-hwe-20.04 amd64 5.8.0.38.43~20.04.23 [1,932 B] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic-hwe-20.04 amd64 5.8.0.38.43~20.04.23 [2,624 B] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-hwe-5.8-headers-5.8.0-38 all 5.8.0-38.43~20.04.1 [11.3 MB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.8.0-38-generic amd64 5.8.0-38.43~20.04.1 [1,237 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic-hwe-20.04 amd64 5.8.0.38.43~20.04.23 [2,516 B] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-62.70 [1,116 kB] Fetched 78.4 MB in 2min 19s (564 kB/s) Selecting previously unselected package linux-modules-5.8.0-38-generic. (Reading database ... 239086 files and directories currently installed.) Preparing to unpack .../0-linux-modules-5.8.0-38-generic_5.8.0-38.43~20.04.1_amd64.deb ... Unpacking linux-modules-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Selecting previously unselected package linux-image-5.8.0-38-generic. Preparing to unpack .../1-linux-image-5.8.0-38-generic_5.8.0-38.43~20.04.1_amd64.deb ... Unpacking linux-image-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Selecting previously unselected package linux-modules-extra-5.8.0-38-generic. Preparing to unpack .../2-linux-modules-extra-5.8.0-38-generic_5.8.0-38.43~20.04.1_amd64.deb ... Unpacking linux-modules-extra-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Preparing to unpack .../3-linux-generic-hwe-20.04_5.8.0.38.43~20.04.23_amd64.deb ... Unpacking linux-generic-hwe-20.04 (5.8.0.38.43~20.04.23) over (5.8.0.36.40~20.04.21) ... Preparing to unpack .../4-linux-image-generic-hwe-20.04_5.8.0.38.43~20.04.23_amd64.deb ... Unpacking linux-image-generic-hwe-20.04 (5.8.0.38.43~20.04.23) over (5.8.0.36.40~20.04.21) ... Selecting previously unselected package linux-hwe-5.8-headers-5.8.0-38. Preparing to unpack .../5-linux-hwe-5.8-headers-5.8.0-38_5.8.0-38.43~20.04.1_all.deb ... Unpacking linux-hwe-5.8-headers-5.8.0-38 (5.8.0-38.43~20.04.1) ... Selecting previously unselected package linux-headers-5.8.0-38-generic. Preparing to unpack .../6-linux-headers-5.8.0-38-generic_5.8.0-38.43~20.04.1_amd64.deb ... Unpacking linux-headers-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Preparing to unpack .../7-linux-headers-generic-hwe-20.04_5.8.0.38.43~20.04.23_amd64.deb ... Unpacking linux-headers-generic-hwe-20.04 (5.8.0.38.43~20.04.23) over (5.8.0.36.40~20.04.21) ... Preparing to unpack .../8-linux-libc-dev_5.4.0-62.70_amd64.deb ... Unpacking linux-libc-dev:amd64 (5.4.0-62.70) over (5.4.0-60.67) ... Setting up linux-modules-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Setting up linux-libc-dev:amd64 (5.4.0-62.70) ... Setting up linux-image-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.8.0-36-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.8.0-36-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-38-generic I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-38-generic Setting up linux-hwe-5.8-headers-5.8.0-38 (5.8.0-38.43~20.04.1) ... Setting up linux-headers-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 5.8.0-38-generic Kernel preparation unnecessary for this kernel. Skipping... applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild Hunk #1 succeeded at 85 (offset 14 lines). Building module: cleaning build area..... unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j4 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.8.0-38-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modul es/5.8.0-38-generic/build LD=/usr/bin/ld.bfd modules....................................... Signing module: - /var/lib/dkms/nvidia/460.32.03/5.8.0-38-generic/x86_64/module/nvidia-modeset.ko - /var/lib/dkms/nvidia/460.32.03/5.8.0-38-generic/x86_64/module/nvidia-drm.ko - /var/lib/dkms/nvidia/460.32.03/5.8.0-38-generic/x86_64/module/nvidia-uvm.ko - /var/lib/dkms/nvidia/460.32.03/5.8.0-38-generic/x86_64/module/nvidia.ko Secure Boot not enabled on this system. cleaning build area... DKMS: build completed. nvidia.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.8.0-38-generic/updates/dkms/ nvidia-modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.8.0-38-generic/updates/dkms/ nvidia-drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.8.0-38-generic/updates/dkms/ nvidia-uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.8.0-38-generic/updates/dkms/ depmod... DKMS: install completed. ...done. Setting up linux-modules-extra-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... Setting up linux-headers-generic-hwe-20.04 (5.8.0.38.43~20.04.23) ... Setting up linux-image-generic-hwe-20.04 (5.8.0.38.43~20.04.23) ... Setting up linux-generic-hwe-20.04 (5.8.0.38.43~20.04.23) ... Processing triggers for linux-image-5.8.0-38-generic (5.8.0-38.43~20.04.1) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 5.8.0-38-generic ...done. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.8.0-38-generic sync: error syncing '/boot/initrd.img-5.8.0-38-generic': Input/output error run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.8.0-38-generic (--configure): installed linux-image-5.8.0-38-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-5.8.0-38-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: linux-image-5.8.0-38-generic 5.8.0-38.43~20.04.1 ProcVersionSignature: Ubuntu 5.8.0-36.40~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-36-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 CasperMD5CheckResult: skip Date: Thu Jan 14 22:31:39 2021 ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 InstallationDate: Installed on 2020-12-29 (16 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.2 SourcePackage: initramfs-tools Title: package linux-image-5.8.0-38-generic 5.8.0-38.43~20.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911789 Title: package linux-image-5.8.0-38-generic 5.8.0-38.43~20.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1911789/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
