I am a noob in linux, stuck at aws ubuntu, sudo apt upgrade giving the below error.
Cant find the problem,
Please help.
Setting up initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.8.0-1041-aws (5.8.0-1041.43~20.04.1) ...
I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-1041-aws
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-1038-aws
cp: cannot stat '/lib/klibc-*.so': No such file or directory
E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.8.0-1038-aws with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-5.8.0-1041-aws (5.8.0-1041.43~20.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-1041-aws
cp: cannot stat '/lib/klibc-*.so': No such file or directory
E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.8.0-1041-aws with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.8.0-1041-aws (--configure):
installed linux-image-5.8.0-1041-aws package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
linux-image-5.8.0-1041-aws
E: Sub-process /usr/bin/dpkg returned an error code (1)