Ill try to make it quick.
The first failure:
┌──(kali㉿kali-raspberry-pi)-[~/seeed-linux-dtoverlays]
└─$ sudo ./scripts/reTerminal.sh
### Install required tool packages
Hit:1 http://kali.download/kali kali-rolling InRelease
Hit:2 http://http.re4son-kernel.com/re4son kali-pi InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2).
0 upgraded, 0 newly installed, 0 to remove and 1093 not upgraded.
### Will compile with the latest kernel...
### Uninstall previous dkms module
### Install required kernel package
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package raspberrypi-kernel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
kalipi-kernel
Package raspberrypi-kernel-headers is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
kalipi-kernel-headers
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Package 'raspberrypi-kernel-headers' has no installation candidate
E: Package 'raspberrypi-kernel' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-raspi
E: Unable to locate package linux-headers-raspi
E: Unable to locate package linux-image-raspi
E: Can't select candidate version from package raspberrypi-kernel as it has no candidate
--2022-05-24 17:06:44-- http://raspberrypi-kernel__arm64.deb/
Resolving raspberrypi-kernel__arm64.deb (raspberrypi-kernel__arm64.deb)... failed: Name or service not known.
wget: unable to resolve host address ‘raspberrypi-kernel__arm64.deb’
--2022-05-24 17:06:44-- http://raspberrypi-kernel__arm64.deb/
Resolving raspberrypi-kernel__arm64.deb (raspberrypi-kernel__arm64.deb)... failed: Name or service not known.
wget: unable to resolve host address ‘raspberrypi-kernel__arm64.deb’
--2022-05-24 17:06:44-- http://raspberrypi-kernel__arm64.deb/
Resolving raspberrypi-kernel__arm64.deb (raspberrypi-kernel__arm64.deb)... failed: Name or service not known.
wget: unable to resolve host address ‘raspberrypi-kernel__arm64.deb’
dpkg-deb: error: '/tmp/raspberrypi-kernel__arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/raspberrypi-kernel__arm64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/tmp/raspberrypi-kernel__arm64.deb
Error: Install kernel or header failed
After I edited reTerminal.sh to instead have kalipi-kernel and kalipi-kernel-headers
I re-ran the script. Mostly went ok until the very end?
┌──(kali㉿kali-raspberry-pi)-[~/seeed-linux-dtoverlays]
└─$ sudo ./scripts/reTerminal.sh
### Install required tool packages
Hit:1 http://kali.download/kali kali-rolling InRelease
Hit:2 http://http.re4son-kernel.com/re4son kali-pi InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.
### Will compile with the latest kernel...
### Uninstall previous dkms module
### Install required kernel package
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kalipi-kernel is already the newest version (5.10.103-20220504).
kalipi-kernel-headers is already the newest version (5.10.103-20220504).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
grep: /boot/kernel8.img: No such file or directory
gzip: stdin: unexpected end of file
!!! Your kernel version is
Couldn't find *** corresponding *** kernel headers with apt-get.
This may happen if you ran 'rpi-update'.
Choose *** y *** to install kernel-headers to version 5.4.83-Re4son-v8l+ and continue.
Choose *** N *** to exit without this driver support, by default.
Would you like to proceed? (y/N)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kalipi-kernel-headers is already the newest version (5.10.103-20220504).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.
grep: /boot/kernel8.img: No such file or directory
gzip: stdin: unexpected end of file
Creating symlink /var/lib/dkms/mipi_dsi/0.1/source -> /usr/src/mipi_dsi-0.1
Error! Your kernel headers for kernel -m cannot be found at /lib/modules/-m/build or /lib/modules/-m/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Can't compile with this kernel, aborting
Please try to compile with the option --compat-kernel
I don’t know what to do at this point. Plz help.
PLEASE keep in mind that I am a COMPLETE NOOB and getting past the first error was sheer luck (and perhaps the cause of the second error)