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

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.

Navigation


Creative Commons License

Unless specified, all the articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


It uses a self-hosted Open Web Analytics to get insights. Click here to optout.

The site is powered by Hexo. The source code of this website is here, so that you can see the spaghetti code behind my blog.


Main | Blog | Comic | Podcasts (Preparing) | RSS | Sitemap
2008 - 2022 | Patrick WU Jinming