Finally a solution
Install the obsolete version (repositories not working)
Armbian_20.10_Arm-64_bullseye_current_5.9.0.img
This is the version that I have always been able to get it to start, but since it has outdated repositories, it does not allow Pihole to be updated or installed, which is the main objective.
To solve the problem I extracted the /etc/apt folder from a recent version Armbian_24.2.0_amlogic_s905x3_bullseye_6.1.69_server_2024.01.01.img Then I uploaded this compressed folder to a personal server, deleted the /etc/apt folder and with wget downloaded and unzipped the new folder.
And that's it, I did apt update and upgrade, there were no errors and now I was able to install Pihole.