Unable to install pi-hole

Please follow the below template, it will help us to help you!

Expected Behaviour:

[pi-hole shold install fine as I am running the "curl -sSL https://install.pi-hole.net | bash" command.]

Actual Behaviour:

[However, I get this error when running it and I don't know why. I am on Kali Linux by the way. ERROR - Unable to update package cache. Please try "apt-get update"root@Adam]

Debug Token:

[This is what I get when running pihole-d. "bash: pihole: command not found"]

Any help would be greatly appreciated! Thank you and yes I have run the command it asked me to.

What is the output of the apt command? It must be failing in some way.

When I run the command it has a different output than normal as I have added sources to the sources list file. I don't know if that is what is causing it but the reason I added them was because apparently the default ones are broken and don't get updates properly. I'm not too sure how true that is though. Here is the output of the apt-get update command. Thanks a lot for the help! https://hastebin.com/ufuhirodet.swift

You have some lists in your apt sources list that are not valid. What kind of device are you installing on to?

Well I have a Toshiba satellite and am using Kali Linux with additions to the source list as the default ones are apparently broken. Any ideas what I can do? Thanks.

The only way to install Pi-hole is to have an apt process that will update without errors. You would need to fix that problem and remove the lists that are blocking apt from updating.

I'm honestly really new to kali and source lists so I'm not really sure what I would need to remove. Also, if I remove them then me getting updates and all apparently won't work properly. Maybe I can restore to defaults then install pihole then add them back? Thanks.

I don't know Kali myself so I would suggest restoring to defaults and then go from there.