View Issue Details

IDProjectCategoryView StatusLast Update
0007745Kali LinuxGeneral Bugpublic2025-07-14 09:36
ReporterSc0k1ng37 Assigned Todaniruiz  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2022.2 
Summary0007745: Issue 1# sudo apt-get update and Issue 2# Open-vm-tools not working anymore
Description

(Also posted on the Kali forum, but no response):

Issue 1#
Since couple of days I have a problem with apt-get update.

Error:
Err:8 https://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling/non-free amd64 Contents (deb)
File has unexpected size (1008267 != 1008111). Mirror sync in progress? [IP: 145.220.21.40 443]
Hashes of expected file:

  • Filesize:1008111 [weak]
  • SHA256:93f6503d4e530ba16e185df7b004cea76ddc4eeb543 6dca6af8fafd85c00f4f1
  • SHA1:1da9f3bc1e5d25a424796715ddd4b30a7f60a862 [weak]
  • MD5Sum:5a808d26952db518e5f316c69cd15fe2 [weak]
    Release file created at: Tue, 07 Jun 2022 00:04:53 +0000
    Ign:9 https://http.kali.org/kali kali-rolling/non-free i386 Contents (deb)
    Ign:4 https://http.kali.org/kali kali-rolling/main i386 Contents (deb)
    Ign:5 https://http.kali.org/kali kali-rolling/main amd64 Contents (deb)
    Fetched 37.4 MB in 8s (4,695 kB/s)
    Reading package lists... Done
    E: Failed to fetch https://ftp2.nluug.nl/os/Linux/distr...tents-amd64.gz File has unexpected size (1008267 != 1008111). Mirror sync in progress? [IP: 145.220.21.40 443]
    Hashes of expected file:
  • Filesize:1008111 [weak]
  • SHA256:93f6503d4e530ba16e185df7b004cea76ddc4eeb543 6dca6af8fafd85c00f4f1
  • SHA1:1da9f3bc1e5d25a424796715ddd4b30a7f60a862 [weak]
  • MD5Sum:5a808d26952db518e5f316c69cd15fe2 [weak]
    Release file created at: Tue, 07 Jun 2022 00:04:53 +0000
    E: Failed to fetch https://http.kali.org/kali/dists/kal.../Contents-i386 File has unexpected size (956807 != 956667). Mirror sync in progress? [IP: 145.220.21.40 443]
    E: Some index files failed to download. They have been ignored, or old ones used instead.

My OS:
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2022.2"
VERSION_ID="2022.2"
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/"

/etc/apt/sources.list:

See https://www.kali.org/docs/general-us...t-repositories

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

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

Additional line for source packages

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

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

Installed apt-transport-https:
sudo apt install apt-transport-https

Tested with the following repo's config's:
Config 1#:

See https://www.kali.org/docs/general-us...t-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

Config 2#:

See https://www.kali.org/docs/general-us...t-repositories

deb https://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

Config 3#:

See https://www.kali.org/docs/general-us...t-repositories

deb https://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

None of these config works, get the same error.
Also clean the cache directory:
sudo apt clean
sudo apt autoclean.
sudo apt update.

No result.

Issue 2#
A side affect is that open-vm-tools-desktop also not works any more, cannot drag/drop between host and vm and copy/paste.
Tried to reinstall as the documentation described

sudo apt remove open-vm-tools open-vm-tools-desktop fuse
sudo apt purge open-vm-tools open-vm-tools-desktop fuse

sudo apt install -y --reinstall open-vm-tools-desktop fuse
error:
Reading package lists ... .Done
Building dependency tree ... Done
Reading state information ... Done
Package fuse is not available , but is referred to by another package.
This may mean that the package is missing, has been obsoleted or is only available from another source.

How can I resolve the first issue and then the second issue?

both problems were there before I upgraded to 2022.2

So I hope someony of the Kali team can help me!!!

Steps To Reproduce

See above ^

Activities

Michu

Michu

2022-06-11 15:47

reporter   ~0016253

possible repo key is not added or it changed about secondary issue don't expect too much from vm's because they are free

Sc0k1ng37

Sc0k1ng37

2022-06-11 16:17

reporter   ~0016257

Dear Michu,

The second issue#2 seems to be resolved, drag/drop and copy/paste works.
But the first issue still remains and I have download a new vm image from kali and also in the new vm I get mirror sync progress when I tried to install shellter. apt update works sometimes.

Sc0k1ng37

Sc0k1ng37

2022-06-11 17:23

reporter   ~0016259

┌──(kali㉿kali)-[~]
└─$ sudo apt install shellter
[sudo] password for kali:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libdav1d5
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
shellter
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 222 kB of archives.
After this operation, 743 kB of additional disk space will be used.
Get:1 http://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling/non-free amd64 shellter amd64 7.2-0kali2 [222 kB]
Err:1 http://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling/non-free amd64 shellter amd64 7.2-0kali2
File has unexpected size (24382 != 221852). Mirror sync in progress? [IP: 145.220.21.40 80]
Hashes of expected file:

  • SHA256:cd6f02d2f3734d2c3e861e1c988b558e2a60a509a78b2d1a97e4d80dcecdd58e
  • SHA1:553871acd09759f462dc7ea5e7a2cb44d171434e [weak]
  • MD5Sum:85bf5924338f69a5f70f2957ecbcc04a [weak]
  • Filesize:221852 [weak]
    E: Failed to fetch http://ftp2.nluug.nl/os/Linux/distr/kali/pool/non-free/s/shellter/shellter_7.2-0kali2_amd64.deb File has unexpected size (24382 != 221852). Mirror sync in progress? [IP: 145.220.21.40 80]
    Hashes of expected file:
    • SHA256:cd6f02d2f3734d2c3e861e1c988b558e2a60a509a78b2d1a97e4d80dcecdd58e
    • SHA1:553871acd09759f462dc7ea5e7a2cb44d171434e [weak]
    • MD5Sum:85bf5924338f69a5f70f2957ecbcc04a [weak]
    • Filesize:221852 [weak]
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Sc0k1ng37

Sc0k1ng37

2022-06-11 17:25

reporter   ~0016260

┌──(kali㉿kali)-[~]
└─$ cat /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 http://http.kali.org/kali kali-rolling main contrib non-free

Sc0k1ng37

Sc0k1ng37

2022-06-11 19:59

reporter   ~0016261

It seems everything works now, I have change the repo to:
┌──(kali㉿kali)-[~]
└─$ cat /etc/apt/sources.list

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

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

Additional line for source packages

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

So this bug can now beclosed.

Issue History

Date Modified Username Field Change
2022-06-09 20:39 Sc0k1ng37 New Issue
2022-06-11 15:47 Michu Note Added: 0016253
2022-06-11 16:17 Sc0k1ng37 Note Added: 0016257
2022-06-11 17:23 Sc0k1ng37 Note Added: 0016259
2022-06-11 17:25 Sc0k1ng37 Note Added: 0016260
2022-06-11 19:59 Sc0k1ng37 Note Added: 0016261
2022-06-15 18:55 daniruiz Assigned To => daniruiz
2022-06-15 18:55 daniruiz Status new => closed
2022-06-15 18:55 daniruiz Resolution open => no change required
2025-07-14 09:36 g0tmi1k Priority high => normal