Fail to get update

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
yh961818
Posts: 1
Joined: Mon May 11, 2020 8:13 am

Fail to get update

Post by yh961818 »

Hi can any help me as I am unable to install update on my Dietpi (Raspberry Pi Zero W).

The following is what I saw in the terminal:

Code: Select all

root@DietPi:~# sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 https://archive.raspberrypi.org/debian buster InRelease
Get:3 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.7 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [103 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
  File has unexpected size (13006748 != 13007648). Mirror sync in progress? [IP: 93.93.128.193 80]
  Hashes of expected file:
   - Filesize:13007648 [weak]
   - SHA256:ddb06ca8bfa83c8468678b2439d927a71da7ff7c4942d8f39d87aa1dc677c17a
   - SHA1:ecc58f5dd8336aceaa6b1ef16d5bf0b580863d4f [weak]
   - MD5Sum:0a5e84c3acd7b153c1efecac1fa7cf29 [weak]
  Release file created at: Sun, 10 May 2020 22:51:32 +0000
Fetched 15.0 kB in 3s (4,908 B/s)
Reading package lists... Done
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/main/binary-armhf/Packages.xz  File has unexpected size (13006748 != 13007648). Mirror sync in progress? [IP: 93.93.128.193 80]
   Hashes of expected file:
    - Filesize:13007648 [weak]
    - SHA256:ddb06ca8bfa83c8468678b2439d927a71da7ff7c4942d8f39d87aa1dc677c17a
    - SHA1:ecc58f5dd8336aceaa6b1ef16d5bf0b580863d4f [weak]
    - MD5Sum:0a5e84c3acd7b153c1efecac1fa7cf29 [weak]
   Release file created at: Sun, 10 May 2020 22:51:32 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
User avatar
Joulinar
Posts: 2546
Joined: Sat Nov 16, 2019 12:49 am

Re: Fail to get update

Post by Joulinar »

Hi,

many thanks for your report. This looks more like a temporary issue at raspbian.raspberrypi.org or on downloading the file as file size did not much checksum. Pls try again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply