Error reinstalling Pihole - unable to install Pihole!

The issue I am facing:
unable to install / proceed further past downloading/installing FTL while installing Pihole

Details about my system:
Raspberry Pi3B 2GB

What I have changed since installing Pi-hole:
i was playing with Cloudflare installation, which i couldnt succeed I thought of reinstalling Pihole with Unbound and DNSCrypt proxy

But i am unable to go further pas Downloading and installing FTL, as you can see in the Image i uploaded.
I tried to update all the patches and try installing and without installing patches: everytime it stops at this stage for long time and nothing happens.

I dont know why its happening like that. need help pls.

Thanks!

In this forum, you don't have to use pastebin or other links. You can upload text or images (text preferred) directly to this forum. If you do upload text, use the format tool </> in the reply window and format the output as Preformatted text

Do you currently have Pi-hole installed, or are you doing a fresh install on a clean OS?

Fresh install on Raspbian OS lite

Please run the verbose version of our installer, and post the text output in a reply. It may be lengthy.

curl -sSL https://install.pi-hole.net | sudo bash -x

1 Like

Patches? What exactly did you do?

At this point you're probably going to have to reflash the OS and start over again.

1 Like

After maybe 30 Minutes, i got this error.

That's an OS level error. Not something we can fix.

It was a fresh install on Raspbian OS lite. I mentioned about Updates. With Updates and without Updates it is not going further.

What updates? What exactly did you type?

1 Like

I concur with DanShaper. Your best approach is probably another clean OS install.

Flash a new OS, configure your locale, language and time zone.

Run sudo apt update and sudo apt upgrade to completion.

Install Pi-hole again.

1 Like

What ? Before i could install Pihole on Raspbian OS lite, now i cannot. How could it be an OS error ?

OK, i will try once again. It might take up some time.
Will be right back with Answer

https://github.com/curl/curl/issues/4409#issuecomment-555715213

See the link I just posted. It's not a Pi-hole error. It's an OS error.

Edit: Not knowing what you "patched" or "updated" means we don't know what you did.

edited

Ok, here is the link to my Error Log.
i am posting a link to Pastebin as my error Log was about 95k Words....

curl -sSL --fail https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf -o pihole-FTL-armv7-linux-gnueabihf
-bash: +: command not found

We have no idea what the state of your OS is. I recommend the steps I listed above:

Flash a new OS, configure your locale, language and time zone.

Run sudo apt update and sudo apt upgrade to completion.

Install Pi-hole again.

1 Like

i did the same as you asked for. I flashed the Raspbian OS lite and then your 2 steps before installing Pihole.
I will try to install DietPi and then Pihole.

i really dont know what is wrong with installing Pihole. I could install DietPi without any Error, but once i start installing Pihole, my Raspberry simply freezes. I mean it doesnt move forward with Installation. Whats the matter i dont really understand.
I am giving up.

Thanks