View Full Version : Getting "http: aptMethod::Configuration: could not load seccomp policy" error
Hi all,
I went to update my Nethunter install today. Did "apt-get update" and got the following message:
http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
No idea why this is happening since Nethunter has been running fine for months.
Any thoughts?
Mister_X
2018-02-14, 00:02
Please take the time to look at google results: https://github.com/meefik/linuxdeploy/issues/869#issuecomment-345659515
It's actually the very first result.
Please take the time to look at google results: https://github.com/meefik/linuxdeploy/issues/869#issuecomment-345659515
It's actually the very first result.
I did take the time to do a search and read that specific bug report but it didn't explain why my Nethunter install that's been working fine for months is now not updating. So before I went off to pave the phone and start from scratch I felt the logical thing to do would be to come here and see if there's a solution since the Julian said that it was a kernel support issue. That seems to make this forum the best place to ask, right?
pwntoken
2018-03-22, 20:24
Use this, and that will fix the seccomp policy as it was intendedly put in WSL for Kali.
echo 'apt::sandbox::seccomp "false";' > /etc/apt/apt.conf.d/999seccomp