# 158 to 159 error in dietpi-software

**URL:** https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747
**Category:** Troubleshooting
**Created:** [17 December 2017 21:25 UTC](https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747 "2017-12-17T21:25:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kazgor](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/k/dfb087/32.png) [@kazgor](https://dietpi.com/forum/u/kazgor)
#### Post date: [17 December 2017 21:25 UTC](https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747/1 "2017-12-17T21:25:01Z")

</div>

Hi there,

first i love this product… so glad i found it… its made the Pi come alive.

i notice when i logged in that there was an upgrade available from 158 to 159… so i did this rebooted and all seemed ok.

However when i run dietpi-software i am now getting the following error.

/dietpi-software: line 16201: unexpected EOF while looking for matching `"’

checking this file and it seems the script has been corrupted and the rest of this script as been lost… it just ends at line 16201

ie…

#SMBCLIENT -  
if (( ${aSOFTWARE\_INSTALL\_STATE[1]} == 1 )); then

WHIP\_TITLE=‘Samba Client - Setup Now?’  
WHIP\_QUESTION=‘Samba Client can be setup and configured by using DietPi-Config. Would you like to go there now? \n\n- Once completed, exit DietPi-Config to resume setup.’  
whiptail --title “$WHIP\_TITLE” --yesno "$WHIP\_QUESTI  
  
  
is there a copy i can get to replace this currupted version?

Cheers.

---

<div class="post-metadata">

### Author: ![k-plan](https://dietpi.com/forum/user_avatar/dietpi.com/k-plan/32/12_2.png) [@k-plan](https://dietpi.com/forum/u/k-plan)
#### Post date: [17 December 2017 21:58 UTC](https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747/2 "2017-12-17T21:58:24Z")

</div>

> [@kazgor](#):
>
> is there a copy i can get to replace this currupted version?

Yes.

[https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/dietpi-software](https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/dietpi-software)

---

<div class="post-metadata">

### Author: ![kazgor](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/k/dfb087/32.png) [@kazgor](https://dietpi.com/forum/u/kazgor)
#### Post date: [17 December 2017 22:07 UTC](https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747/3 "2017-12-17T22:07:15Z")

</div>

Many thanks k-plan. that worked a treat.

---

<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: [18 December 2017 12:03 UTC](https://dietpi.com/forum/t/158-to-159-error-in-dietpi-software/1747/4 "2017-12-18T12:03:26Z")

</div>

Hi,

This could be due to system instability/filesystem corruptions on the device. However, we’ll add a force disk sync after the update for v160 as failsafe.
