Fix the apt warning on Kali Linux on Windows 10

---
action: Back 返回
date: Apr 12, 2018
category: Linux & Server
tags:
- Kali Linux
- WSL
---

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

Not the Footnote

The site is proudly powered by Hexo and using a site strcuture from the Hexo theme called Nayo.

The site is powered by the glorious CSS from bettermotherf**kingwebsite.com with some tweaks. Censored the f-word for good.

Possibly the Footnote

Main | Access | RSS | Sitemap
2008 - 2020 | Patrick WU Jinming