PDA

View Full Version : Issues with new Kali 2021.4a



eMVee
2022-01-06, 14:47
Hi all and all offensive security people,

I opened this post because I think the current release 2021.4a has a few (minor) issues.

Today I decided to download a new Kali (2021.4a.iso) and install it on my VirtualBox machine.
After finishing the installation (default, almost anything next/next/finish), I tried to run the apt-get update command and I noticed an error.


Reading package lists... Done

E: Failed to fetch http://ftp2.nluug.nl/os/Linux/distr/kali/dists/kali-rolling/main/Contents-amd64.gz File has unexpected size (40036399 != 40036097). Mirror sync in progress? [IP: 145.220.21.40 80]
Hashes of expected file:
- Filesize:40036097 [weak]
- SHA256:1f5a8791ca04e9dfe1227a0fd0eac36407951d02d2e 227e55079d2e7e8a61e04
- SHA1:645350285a8598108132ad6b22e82ea7b87e449d [weak]
- MD5Sum:a794b2cf512d19236bd289419732650e [weak]
Release file created at: Thu, 06 Jan 2022 06:12:49 +0000
E: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/contrib/Contents-amd64 File has unexpected size (152276 != 152356).

This was an easy fix by adding a new line to the sources file:

echo "deb https://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

After fixing this I wanted to change my working directory to /opt to install some other scripts and tools.
While running the cd /opt command with the tab to autocomplete in the terminal another strange think happened which was not present in the previous release (2021.3)


┌──(user㉿kali)-[/]
└─$ cd /ocomptags: command not found
Command 'comptry' not found, did you mean:
command 'comptty' from deb comptty
Try: sudo apt install <deb name>

After entering the whole directory I was able to navigate to the directory. After rebooting the virtual machine it did not happen again and the autocomplete with tab is possible again.
So I don't experience any other issue for the moment, but I wanted to give a heads up to the offsec people for the next release.