Results 1 to 2 of 2

Thread: Failure to fetch kali apt repo. File has unexpected size. Mirror sync in progress?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Failure to fetch kali apt repo. File has unexpected size. Mirror sync in progress?

    Can't update apt. Anyone know if there is an issue with the mirror? Or is a local issue? I tried combinations of apt clean and changing sources to HTTPS versions with no luck.

    /etc/apt/sources.list:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib



    Error output....
    Ign:9 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main amd64 Contents (deb)
    Ign:9 http://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    Err:9 http://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    File has unexpected size (36589138 != 36582583). Mirror sync in progress?
    Get:18 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main i386 Contents (deb) [36.1 MB]
    Ign:18 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main i386 Contents (deb)
    Fetched 30.5 kB in 2s (12.9 kB/s)
    Reading package lists... Done
    E: Failed to fetch http://http.kali.org/kali/dists/kali...Contents-amd64 File has unexpected size (36589138 != 36582583). Mirror sync in progress?
    E: Some index files failed to download. They have been ignored, or old ones used instead.

  2. #2
    Join Date
    2021-May
    Posts
    2

    Unhappy I am also experiencing the same error message

    Quote Originally Posted by cookiemonster View Post
    Can't update apt. Anyone know if there is an issue with the mirror? Or is a local issue? I tried combinations of apt clean and changing sources to HTTPS versions with no luck.

    /etc/apt/sources.list:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib



    Error output....
    Ign:9 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main amd64 Contents (deb)
    Ign:9 http://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    Err:9 http://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    File has unexpected size (36589138 != 36582583). Mirror sync in progress?
    Get:18 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main i386 Contents (deb) [36.1 MB]
    Ign:18 http://mirrors.ocf.berkeley.edu/kali kali-rolling/main i386 Contents (deb)
    Fetched 30.5 kB in 2s (12.9 kB/s)
    Reading package lists... Done
    E: Failed to fetch http://http.kali.org/kali/dists/kali...Contents-amd64 File has unexpected size (36589138 != 36582583). Mirror sync in progress?
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    i need a solution as early as possible to receive future updates of kali.

Similar Threads

  1. Replies: 0
    Last Post: 2022-04-08, 10:03
  2. xrandr shows failure and only one size for Screen 0
    By tokmo in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-06-08, 08:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •