sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 861 kB of archives.
After this operation, 6,383 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 kali-rolling/main amd64 python3-impacket all 0.9.22-1 [861 kB]
Fetched 861 kB in 1s (816 kB/s)
dpkg-split: error: failed to read archive '/var/cache/apt/archives/python3-impacket_0.9.22-1_all.deb': Invalid argument
dpkg: error processing archive /var/cache/apt/archives/python3-impacket_0.9.22-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)