Results 1 to 2 of 2

Thread: initramfs-tools error when updating

  1. #1
    Join Date
    2022-Dec
    Posts
    1

    initramfs-tools error when updating

    I am using Kali Linux in Windows 10 Hyper-V. Last night while updating I encountered error like following:
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up initramfs-tools (0.142) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.142) ...
    update-initramfs: Generating /boot/initrd.img-6.0.0-kali5-amd64
    E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
    update-initramfs: failed for /boot/initrd.img-6.0.0-kali5-amd64 with 1.
    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
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any idea how to resolve this?

    Edit: I am able to resolve the issue by installing two packages from the repository. They are plymouth-themes and plymouth-x11.
    Last edited by rhinjard; 2022-12-22 at 07:18. Reason: Solved the issue myself

  2. #2
    Join Date
    2018-May
    Posts
    14
    I am having a similar issue after I updated and upgraded this morning. The first thing I noticed was vfs couldn't mount on root file system. I ended up using live to fix that issue. Then I had grub issues, got that fixed. But I am still getting the original error when I try to install a package, because update says all packages up to date, but.... I've used synaptic to see if it could fix the dependencies issue. Any insight would be greatly appreciated

Similar Threads

  1. initramfs-tools error
    By ghostly1 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-05-20, 12:07
  2. updating initramfs error: couldn't resolve device
    By skadae2003 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2018-12-31, 21:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •