Linux Ubuntu apt - Failed to fetch - File has unexpected size - Some index files failed to download

Linux Ubuntu apt - Failed to fetch - File has unexpected size - Some index files failed to download

Dobrý den, používám Linux Ubuntu a když jsem přerušil jeden sudo apt upgrade během stahování, tak mám od té doby problémy s tím provést operace s apt, mám chyby v tomto smyslu:
Failed to fetch - File has unexpected size - Some index files failed to download

Zkusil jsem:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt update
sudo apt update --fix-missing
sudo apt upgrade

a nepomohlo to, výsledek je stále stejný = sudo apt update a chyba:

Hit:1 http://cz.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://cz.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:3 http://cz.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Ign:5 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata
Get:6 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73,8 kB]
Get:6 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73,8 kB]
Ign:6 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons
Ign:9 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons
Ign:10 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 128x128 Icons
Ign:11 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata
Ign:12 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons
Ign:13 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons
Ign:14 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 128x128 Icons
Ign:15 http://cz.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata
Get:5 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Err:5 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata
File has unexpected size (294596 != 294676). Mirror sync in progress? [IP: 217.31.202.63 80]
Hashes of expected file:
- Filesize:294676 [weak]
- SHA256:fe3f2067e549e502450e0e211d7c5b309aedc3c24d9f6c22581ed9e56a9b8e16
- SHA1:3c08c1bf9146b437a67a668b0358a8bda20f883c [weak]
- MD5Sum:951b01f847f324c905cc05ad09fbabbf [weak]
Release file created at: Thu, 14 Nov 2019 07:26:26 +0000
Get:6 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73,8 kB]
Err:6 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons

Get:9 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [143 kB]
Err:9 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons

Get:10 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 128x128 Icons [355 kB]
Err:10 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 128x128 Icons

Get:11 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB]
Err:11 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata

Get:12 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [195 kB]
Err:12 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons

Get:13 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [435 kB]
Err:13 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons

Get:14 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 128x128 Icons [981 kB]
Err:14 http://cz.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 128x128 Icons

Get:15 http://cz.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Err:15 http://cz.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata

Fetched 166 kB in 1s (229 kB/s)
Reading package lists... Done
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/dep11/Components-amd64.yml.xz File has unexpected size (294596 != 294676). Mirror sync in progress? [IP: 217.31.202.63 80]
Hashes of expected file:
- Filesize:294676 [weak]
- SHA256:fe3f2067e549e502450e0e211d7c5b309aedc3c24d9f6c22581ed9e56a9b8e16
- SHA1:3c08c1bf9146b437a67a668b0358a8bda20f883c [weak]
- MD5Sum:951b01f847f324c905cc05ad09fbabbf [weak]
Release file created at: Thu, 14 Nov 2019 07:26:26 +0000
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/dep11/icons-48x48.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/dep11/icons-64x64.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/dep11/icons-128x128.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/dep11/Components-amd64.yml.xz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/dep11/icons-48x48.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/dep11/icons-64x64.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/dep11/icons-128x128.tar.gz
E: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/bionic-updates/multiverse/dep11/Components-amd64.yml.xz
E: Some index files failed to download. They have been ignored, or old ones used instead.


ODPOVĚĎ


Dobrý den,

chybu "Failed to fetch - File has unexpected size - Some index files failed to download" při sudo apt update opravte obnovením /etc/apt/sources.list do původního nastavení:

sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt update
sudo apt upgrade

Komentáře

Vaše reakce na Linux Ubuntu apt - Failed to fetch - File has unexpected size - Some index files failed to download

Související obsah

linux

bash

terminal

apt

package

ubuntu

Reference

Podívejte se na naše reference

Prohlédnout

Aplikace

Podívejte se na naše aplikace

Prohlédnout

Co umíme?

Podívejte se co umíme

Prohlédnout

Co umíme?

Vytváříme sofistikované aplikace pro náročné

Od webových aplikací přes android až po převodové můstky či složité informační systémy.

Podívejte se k nám

Máte ještě čas? Podívejte se na další rubriky

Tento web používá soubory cookie. Dalším procházením tohoto webu vyjadřujete souhlas s jejich používáním.. Více informací zde.