[Solved] Newest update. HELP!

Having issues with your DietPi installation or found a bug? Post it here.
Posts: 4
Joined: Wed Jan 30, 2019 9:17 pm

Re: Newest update. HELP!

Post by trembler »

Sorry for the late reply, this was on 6.20.6
Posts: 45
Joined: Wed Jun 13, 2018 7:37 pm

Re: Newest update. HELP!

Post by unixmit »

MichaIng wrote: Wed Jan 30, 2019 9: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

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