update-initramfs fails: /usr/share/initramfs-tools/hooks/fuse failed with return 1.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuse3 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The system is not fully updated and gives the following error
Setting up initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: initramfs-tools 0.136ubuntu6.7
ProcVersionSign
Uname: Linux 5.4.0-162-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Sep 13 19:39:18 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
PackageArchitec
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python3.8, Python 3.8.10, python-is-python3, 3.8.2-4
RelatedPackageV
dpkg 1.19.7ubuntu3.2
apt 2.0.9
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.136ubuntu6.7 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2023-09-13 (0 days ago)
tags: | removed: need-duplicate-check |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:
E: /usr/share/ initramfs- tools/hooks/ fuse failed with return 1.
Sadly there is no error message explaining the exit code 1. Can you edit /usr/share/ initramfs- tools/hooks/ fuse and add "set -x" (without the quotes) to the script and then run update-initramfs to get more log output?
sudo nano /usr/share/ initramfs- tools/hooks/ fuse
sudo update-initramfs -u
Please attach the output to the bug report then.