I have currently installed kali linux rolling on my machine, while upgrading i got error:-
root@kali:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
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 linux-image-4.7.0-kali1-amd64 (4.7.6-1kali1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.7.0-kali1-amd64WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will be removed in a future release! Use /etc/cryptsetup-initramfs/conf-hook instead.
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 33: /etc/default/grub: 3: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-4.7.0-kali1-amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-4.7.0-kali1-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank you in advance
Comments
No Comments Exist
Be the first, drop a comment!