| Issue | Kali Linux Update Failed: Disk Space Full |
|---|---|
| Primary Cause | Accumulated APT cache, old kernels, and log files consuming the root partition. |
| Quick Fix | Run sudo apt clean and sudo apt autoremove to reclaim space immediately. |

What is the Kali Linux Update Failed Disk Space Full error?
The “Kali Linux Update Failed Disk Space Full” error occurs when the operating system attempts to download and install new packages but finds no available storage on the target partition.
Kali Linux, being a rolling release distribution, frequently pushes large updates. Over time, the local repository cache (/var/cache/apt/archives) and old software versions fill up the disk, preventing the apt upgrade command from completing successfully.
If you encounter this, your system might freeze, fail to boot into the GUI, or show “No space left on device” errors in the terminal. Resolving this requires manual cleanup of temporary files and unused dependencies.
Step-by-Step Solutions
Step 1: Verify Available Disk Space
First, confirm which partition is full. Usually, it is the root (/) partition.
df -h
Step 2: Clean the APT Cache
Every time you update, Kali stores the .deb installers. Deleting these can free up gigabytes of space.
sudo apt clean
sudo apt autoclean
Step 3: Remove Unused Dependencies
Remove packages that were installed as dependencies but are no longer required by any current software.
sudo apt autoremove --purge
Step 4: Vacuum System Logs
System journals can grow significantly. Limit the logs to the last 24 hours to reclaim space.
sudo journalctl --vacuum-time=1d
Step 5: Identify and Delete Large Files
If the update still fails, find the largest directories on your system to see what is taking up space.
sudo du -ah / | sort -rh | head -n 20
Step 6: Resume the Failed Update
Once you have cleared at least 2-5GB of space, fix the broken installation and resume the update process.
sudo apt update
sudo apt install -f
sudo apt full-upgrade -y