Page 1 of 1

DietPi-Software: Software keeps selected on failed install

Posted: Tue Aug 09, 2016 2:28 pm
by rainer
Hello!

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...

Re: DietPi-Software: Software keeps selected on failed insta

Posted: Tue Aug 09, 2016 9:51 pm
by Fourdee
rainer wrote:Hello!

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:

Code: Select all

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.