How to Fix Dpkg: Error Processing Package Linux-Image-4.7.0-kali1-amd64 (--Configure)?

Oct 22, 2016 02:31 PM
Oct 22, 2016 04:08 PM

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-amd64

WARNING: 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

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!