# DietPi-Software: Software keeps selected on failed install

**URL:** <https://dietpi.com/forum/t/dietpi-software-software-keeps-selected-on-failed-install/496>\
**Category:** Troubleshooting\
**Created:** [9 August 2016 12:28 UTC](https://dietpi.com/forum/t/dietpi-software-software-keeps-selected-on-failed-install/496 "2016-08-09T12:28:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainer](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/58956e/32.png) [@rainer](https://dietpi.com/forum/u/rainer)\
**Post date:** [9 August 2016 12:28 UTC](https://dietpi.com/forum/t/dietpi-software-software-keeps-selected-on-failed-install/496/1 "2016-08-09T12:28:03Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [9 August 2016 19:51 UTC](https://dietpi.com/forum/t/dietpi-software-software-keeps-selected-on-failed-install/496/2 "2016-08-09T19:51:08Z")

</div>

> [@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…

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:

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