DietPi-Software: Software keeps selected on failed install


As I played around with diepi as pinhole with dnscrypt I had the scenario that software installation failed because of a missing name-server. This part was my fault.
The software I selected for installation was still selected after this failed installation and diet software did count the software as installed, so I could not reselect it and give it another try.
Think this might be good to know if somebody stumbles around installation problems due to whatever reason…

Hi rainer,

Thanks for letting us know. We are looking at improving the installed software detection in DietPi-Software, to be more accurate.

Uninstalling PiHole through DietPi-Software will reset the install state. However, you can manually set PiHole to “not installed”. Simply edit the following file:

nano /DietPi/dietpi/.installed

Find the entry aSOFTWARE_INSTALL_STATE[93]=2 and change it to aSOFTWARE_INSTALL_STATE[93]=0
Once you save changes (CTRL+X, Y, enter), the next time you run DietPi-Software, PiHole will not be flagged as installed.