Fix the apt warning on Kali Linux on Windows 10

date: Apr 12, 2018
- Kali Linux
language: English
This post is more than 5 years old. If this is a technical post, the post will most likely not working, but feel free to try it and see if it works.

When Running Kali Linux Subsystem on Windows 10, using apt will usually produce the following warning like in the graph:


This warning will not prevent you from using using apt, but it is still really annoying. After some browsing and checking, this is due to the reason that the kernel doesn’t support seccomp as WSL is an emulation layer for Windows to Linux kernel.
Solving the problem is really easy - Disable the seccomp warning using the following command:

echo 'apt::sandbox::seccomp "false";' | sudo tee /etc/apt/apt.conf.d/999seccomp

After that, the apt will run normally without the annoying warning.