Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:linux:kali_apt-file_unexpected_size [2024/01/25 21:15] – removed psycore | en:linux:kali_apt-file_unexpected_size [2024/02/05 16:47] (current) – old revision restored (2024/01/25 21:16) psycore | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
+ | ====== Kali Linuxc: apt error - File has unexpected size ====== | ||
+ | ===== problem ===== | ||
+ | |||
+ | The following error is displayed when updating via [[wpde> | ||
+ | |||
+ | <code text> | ||
+ | Err:3 http:// | ||
+ | File has unexpected size (225568 != 115516). Mirror sync in progress? | ||
+ | </ | ||
+ | |||
+ | ===== Workaround ===== | ||
+ | |||
+ | The apt update via [[wpde> | ||
+ | |||
+ | <code bash> | ||
+ | echo "deb https:// | ||
+ | apt clean | ||
+ | apt update | ||
+ | apt upgrade | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | The sources.list should then look like this: | ||
+ | |||
+ | <code text> | ||
+ | # See https:// | ||
+ | #deb http:// | ||
+ | |||
+ | # Additional line for source packages | ||
+ | # deb-src http:// | ||
+ | deb https:// | ||
+ | </ |