Page 2 of 2

Re: Newest update. HELP!

Posted: Thu Jan 31, 2019 5:53 pm
by trembler
Sorry for the late reply, this was on 6.20.6

Re: Newest update. HELP!

Posted: Wed Feb 06, 2019 11:32 am
by unixmit
MichaIng wrote:
Wed Jan 30, 2019 8:40 pm
@trembler
Did this happen just now, so when attempting to update to v6.20.6?

First of all, login via root account. Ignore possible error messages.

Then run the following:

Code: Select all

echo 1 > /DietPi/dietpi/.install_stage
echo 1 > /DietPi/dietpi/.update_stage
> /etc/profile.d/dietpi-unsupported_terminal.sh
dietpi-update 1
If it goes through, everything should be fine, as well after reboot.
If the chmod: cannot access '/etc/profile.d/dietpi-*.sh': No such file or directory prompts. Cancel the update and run:

Code: Select all

sync
sleep 5
dietpi-update 1
This assures the new update code has really been synced to disk and reruns the new update code which should not throw the error again.
Thanks, this fixed the same issue I had when upgrading to v6.20.6.