Fix the apt warning on Kali Linux on Windows 10

---
date: Apr 12, 2018
tags:
- WSL
- Kali Linux
language: English
---

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

Issue
Issue

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:

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

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

Comments

Navigation