Public bug reported: This is a fresh Ubuntu 22.04 installation in a VM used for debugging bug #1979159. I had modified some files, but checked with "sudo debsums -ac" that I reverted all local changes. The failure still happens after the reboot.
$ LANG=C sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.15.0-43-generic mkdir: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists E: /usr/share/initramfs-tools/hooks/cryptroot.orig failed with return 1. update-initramfs: failed for /boot/initrd.img-5.15.0-43-generic with 1. ProblemType: Package DistroRelease: Ubuntu 22.04 Package: initramfs-tools 0.140ubuntu13 ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39 Uname: Linux 5.15.0-43-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 AptOrdering: cryptsetup-initramfs:amd64: Install NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: pass Date: Wed Aug 3 14:08:39 2022 ErrorMessage: »installiertes initramfs-tools-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück InstallationDate: Installed on 2022-05-20 (75 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) PackageArchitecture: all Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.1 apt 2.4.6 SourcePackage: initramfs-tools Title: package initramfs-tools 0.140ubuntu13 failed to install/upgrade: »installiertes initramfs-tools-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: Invalid ** Tags: amd64 apport-package jammy ** Summary changed: - package initramfs-tools 0.140ubuntu13 failed to install/upgrade: »installiertes initramfs-tools-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück + initramfs-tools 0.140ubuntu13 failed to install/upgrade: update-initramfs fails: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists ** Summary changed: - initramfs-tools 0.140ubuntu13 failed to install/upgrade: update-initramfs fails: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists + update-initramfs -u fails: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1983473 Title: update-initramfs -u fails: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists Status in initramfs-tools package in Ubuntu: Invalid Bug description: This is a fresh Ubuntu 22.04 installation in a VM used for debugging bug #1979159. I had modified some files, but checked with "sudo debsums -ac" that I reverted all local changes. The failure still happens after the reboot. $ LANG=C sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.15.0-43-generic mkdir: cannot create directory '/var/tmp/mkinitramfs_38kRbm/cryptroot': File exists E: /usr/share/initramfs-tools/hooks/cryptroot.orig failed with return 1. update-initramfs: failed for /boot/initrd.img-5.15.0-43-generic with 1. ProblemType: Package DistroRelease: Ubuntu 22.04 Package: initramfs-tools 0.140ubuntu13 ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39 Uname: Linux 5.15.0-43-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 AptOrdering: cryptsetup-initramfs:amd64: Install NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: pass Date: Wed Aug 3 14:08:39 2022 ErrorMessage: »installiertes initramfs-tools-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück InstallationDate: Installed on 2022-05-20 (75 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) PackageArchitecture: all Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.1 apt 2.4.6 SourcePackage: initramfs-tools Title: package initramfs-tools 0.140ubuntu13 failed to install/upgrade: »installiertes initramfs-tools-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1983473/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp