View Issue Details

IDProjectCategoryView StatusLast Update
0007628Kali LinuxKali Package Bugpublic2025-07-14 09:16
ReporterSc0k1ng37 Assigned ToGamb1t  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2022.1 
Summary0007628: Apt-get update not working and wine32 wont install
Description

I have two problems:

  1. I cannot do apt-get update, I get the following error:

File has unexpected size (40295661 != 40289008). Mirror sync in progress? [IP: 145.220.21.40 80]
Hashes of expected file:

  • Filesize:40289008 [weak]
  • SHA256:3b4b83006100139660fccab86f006b4a17bb4a0fa56276cc5e13d3a80d5292e7
  • SHA1:a8769c10bdfd445e4f9f889d5be2791b45c2888a [weak]
  • MD5Sum:fcabe91815acbfce9528f3dd7cfabf69 [weak]
    Release file created at: Tue, 15 Mar 2022 06:13:14 +0000
    Ign:4 http://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    Reading package lists... Done
    E: Failed to fetch http://ftp2.nluug.nl/os/Linux/distr/kali/dists/kali-rolling/main/Contents-i386.gz File has unexpected size (40295661 != 40289008). Mirror sync in progress? [IP: 145.220.21.40 80]
    Hashes of expected file:
    • Filesize:40289008 [weak]
    • SHA256:3b4b83006100139660fccab86f006b4a17bb4a0fa56276cc5e13d3a80d5292e7
    • SHA1:a8769c10bdfd445e4f9f889d5be2791b45c2888a [weak]
    • MD5Sum:fcabe91815acbfce9528f3dd7cfabf69 [weak]
      Release file created at: Tue, 15 Mar 2022 06:13:14 +0000
      E: Some index files failed to download. They have been ignored, or old ones used instead.

Current /etc/apt/sources.list:

See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

deb http://http.kali.org/kali kali-rolling main contrib non-free

Additional line for source packages

deb-src https://http.kali.org/kali kali-rolling main non-free contrib

Tried with
deb https://http.kali.org/kali kali-rolling main contrib non-free
deb-src https://http.kali.org/kali kali-rolling main non-free contrib

apt-get clean, but the result is the same.
Reboot does not work either.

  1. wine32 is not been found, only libwine. I need this for OSCP course.

cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2022.1"
VERSION_ID="2022.1"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

How can I fix the update function and install wine32?

Activities

Gamb1t

Gamb1t

2022-03-18 00:45

reporter   ~0015902

Have you enabled i386 architecture on your system to install wine32? For your apt issues, this could be caused by a mirror being synced while you were trying to update. Can you give it another try? If you are still having issues, this would best be discussed on the community support forums on https://forums.kali.org/ or on IRC with the #kali-linux channel on irc.oftc.net, as this is not a Kali bug.

Issue History

Date Modified Username Field Change
2022-03-15 13:53 Sc0k1ng37 New Issue
2022-03-18 00:45 Gamb1t Assigned To => Gamb1t
2022-03-18 00:45 Gamb1t Status new => closed
2022-03-18 00:45 Gamb1t Resolution open => fixed
2022-03-18 00:45 Gamb1t Note Added: 0015902
2025-07-14 09:16 g0tmi1k Priority urgent => normal