Unable to access update servers

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
inspector71

Unable to access update servers

Post by inspector71 »

Hello

I tried to do a firmware update and/or a dietpi-update (I think, the carnage is all a bit of a blur after the fact). This bricked the installation. I managed to recover it by manually download the RPi firmware from GitHub and extracting the relevant files to the /boot partition.

Dietpi is now running but the welcome message includes:
dietpi-update = Run now to update DietPi (from V152 to V152).
Yet:
dietpi-update
[Info] Checking RootFS R/W access. Please wait...
[Ok] RootFS R/W access.
cat: /DietPi/dietpi.txt: No such file or directory
cat: /DietPi/dietpi.txt: No such file or directory

DietPi-Update
─────────────────────────────────────────────────────
Mode: Checking for DietPi updates
Please wait...

[Info] Checking Mirror : http://dietpi.com/downloads/dietpi-upda ... er_version
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 320 100 320 0 0 306 0 0:00:01 0:00:01 --:--:-- 309
[Info] Invalid server version and/or update file unavailable
[Info] Checking Mirror : https://raw.githubusercontent.com/Fourd ... er_version
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15 100 15 0 0 30 0 --:--:-- --:--:-- --:--:-- 30
[Info] Invalid server version and/or update file unavailable
[Failed] Unable to access update servers. Please check your connection, then run dietpi-update again.
I've done a few apt-get update && apt-get upgrade combinations as well and a bunch of firmware packages are always "kept back":
The following packages have been kept back:
libraspberrypi-bin libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Can anyone suggest how I might get this install back to normal?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Unable to access update servers

Post by Fourdee »

cat: /DietPi/dietpi.txt: No such file or directory
cat: /DietPi/dietpi.txt: No such file or directory
Hi,

It appears your installation may be corrupted. Loss of this file will render DietPi with issues, it contains global information for all the DietPi scripts to access.

Cause most likely be due to insufficient PSU/SD card causing filesystem corruption.

I'd highly recommend reinstalling DietPi using a fresh image write. If problems persist, please let us know PSU/SD/SBC device used and we'll investigate.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
inspector71

Re: Unable to access update servers

Post by inspector71 »

Thanks for your response.

I downloaded

https://raw.githubusercontent.com/Fourd ... dietpi.txt

and moved it to /Dietpi/

dietpi-update works now.

Thanks for you support.
Post Reply