Hello guys,
So I recently got parrot OS and updated all the packages a while ago, I got some questions like what keyboard I used and such and messed up as I couldn’t boot when I restarted as my ramdisk was not enabled or something. So I went to another boot and fixed that.
Now, I am trying apt update and dpkg --configure -a because I couldn’t install some packages like chrome and I always get back the following message or something the same as it:
Building module:
Cleaning build area…
‘make’ -j4 KVER=6.5.0-13parrot1-amd64 KSRC=/lib/modules/6.5.0-13parrot1-amd64/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-13parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20230101.f8ead57/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-13parrot1-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.5.0-13parrot1-amd64 (–configure):
installed linux-image-6.5.0-13parrot1-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-headers-amd64
linux-image-6.5.0-13parrot1-amd64
In short terms, my kernel’s package “linux-image-6.5.0-13parrot1-amd64” is broken or not properly installed which I think was because of the things I mentioned earlier.
I don’t know how to reinstal/fix it as when I tried to delete it it said it would basically just delete my OS.
Does anyone understand what is happening and could offer me some help?