-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument #869
Comments
I have gotten this same error all day. Two fresh installs on a pi |
me too fresh install today |
Need help with this too |
I have encountered this as well on a fresh Kali armhf on a pi3. The previous time I didn't encounter this. Would be great if there's a resolution to this. |
Running Pi-3 with Kali for months now with no issues. Started encountering this issue today during an attempt to |
Same problem here... |
Same here, I'm on a Rasp Pi 3 model B. I encountered the error when I attempted to run |
Rpi3 here too
…On Sun, Nov 12, 2017 at 3:52 PM, jamall007 ***@***.***> wrote:
Same here, I'm on a Rasp Pi 3 model B. I encountered the error when I
attempted to run
apt-get install linux-headers-$(uname -r)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#869 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYHiFnmxhS-oIPVd3OTVZQWKIK8UMV1Jks5s14SwgaJpZM4QR94a>
.
--
Noah Braunstein
[email protected]
|
One of the following packages is the culprit, everything was fine before I did this upgrade: Start-Date: 2017-11-11 13:48:06 |
how fix? |
getting this error too on my nexus 7, but not my nexus 5 though...hmm |
Day 2 same error thinking it's an issue with arm version my computer apt-get update fine but rpi3 I am receiving the same err there as everyone else |
I have the same problem. I tried to install "raspi3-firmware" but it failed because of a not mounted "/boot". I changed the "/etc/fstab" for "/boot" from "noauto" to "auto", rebooted and since then "apt-get update" returns this error. |
it seemed to try a little harder this morning but still receiving the same error |
Does anyone else have slim installed? Is this issue happening after
"apt-get dist-upgrade"
Have you tried "sudo apt get update -y"
"dkpg --reconfigure -a"
I have also performed a fresh install, I installed one package at a time
and reboot it after each one. Anyone else try ethernet instead wifi?
I have fixed my issue with a fresh install, although I'm not sure what I
did.
…On Nov 16, 2017 07:56, "sgt-pepper920" ***@***.***> wrote:
it seemed to try a little harder this morning but still receiving the same
error
Get:1 http://archive-7.kali.org/kali kali-rolling InRelease [30.5 kB]
Get:2 http://archive-7.kali.org/kali kali-rolling/main Sources [11.6 MB]
Get:3 http://archive-7.kali.org/kali kali-rolling/contrib Sources [66.6
kB] Get:4 http://archive-7.kali.org/kali kali-rolling/main armhf Packages
[15.1 MB] Get:5 http://archive-7.kali.org/kali kali-rolling/contrib armhf
Packages [94.9 kB] Fetched 26.9 MB in 29s (914 kB/s) Reading package
lists... Done W: http: aptMethod::Configuration: could not load seccomp
policy: Invalid argument W: http: aptMethod::Configuration: could not load
seccomp policy: Invalid argument W: store: aptMethod::Configuration: could
not load seccomp policy: Invalid argument
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#869 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYHiFqrhUWjhfJNv9AumT_LQszv7iyiFks5s3FtHgaJpZM4QR94a>
.
|
Same here.
I never did an dist-upgrade. Only "apt-get update && apt-get upgrade" once every 1 to 3 days.
Its the same problem with "apt-get update -y".
"dpkg-reconfigure -a" isn't working. It needs a package specified.
Only Wifi. Edit: |
It means your kernel does not support seccomp, or you are using an emulation layer that does not support seccomp. It is not an error. It is a warning I added temporarily to see if turning that off for people who do not have seccomp works correctly. It will go away in a later apt release. |
@julian-klode Thanks for the clarification, man! |
Was there a fix to this as of yet it's months later and I'm still getting this |
Suddenly that "error" appers . Would really appriciate some help on this issue. Thanks |
So any eta on when this will be fixed ? its been over a month now ? |
@julian-klode when do you plan on remove this? It's a blocking issue now. |
I can't get round this problem.I just installed Kali Linux and i am using android vnc viewer but I can't remove the error w: http: aptMethod:: configuration: could not load seccomp policy: Invalid argument |
same I have this issues on WSL . |
Fresh WSL install on fresh W10 install, got this error! Also W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument |
To be fair... W: is Warning, not necessarily an error. I too had this warning come up, which I'm assuming is something WSL-related. Doesn't seem to be impacting functionality, however.
8.8.8.8 is Google's public DNS nameserver, so if you're using that in Windows it'll use the same in whatever WSL distro you're using. |
Same error |
Same for subsystem on Windows. Just in case that's of any interest. |
Same for subsystem on Windows. |
Same for fresh install of Kali Rolling on Subsystem for Windows on Build 16299.248.
|
no such file or directory ? |
Best to run as root first, type the following You will be prompted to enter your password. The above command sudo allows you to run as different user, Su is super user access then - root is the command to run as Once the cursor shows the user as root instead of the user you created then run the command |
Typo sorry no work word at the end |
for me after runnign that command its show me this: ">" and is waiting for a input, seems like its not echoing the command |
It's all one line no carriage return. The comment box separates it in two lines on github |
thanks i alreayd made the file manuel its fixed now thank god xD |
Thanks @R3dB0b, that did the trick |
LP: #1732030 Closes: #890489 Fixes meefik/linuxdeploy#869
Working with @R3dB0b 's solution here as well! |
TO REITERATE: This is not an error. There is nothing to fix. See #869 (comment) Sudo'ing commands you don't understand from the internet is not a solution. |
The sandboxing mechanism doesn't allow to run certain commands on WSL such as when attempting to do apt-get. Please be careful and ideally only use the commands above to resolve the error you get in Windows Store sources Kali Linux and the issue seccomp works in that hybrid virtualized environment. Redeploy Kali once the issue is fixed. |
Hey @R3dB0b I've run into an isue with You will be prompted to enter your password. The above command sudo allows you to run as different user, Su is super user access then - root is the command to run as Once the cursor shows the user as root instead of the user you created then run the command I recieved the issue -su: /ect/apt/apt.conf.d/999seccomp: No such file or directory. and i am running The kali linux from the windows 10 store. Please help. Thanks. |
to fix this try this, it worked for me seeing the above command is correct but github doesnt like the ">" icoon.
apt::sandbox::seccomp "false"; press CTRL + X , save the file. |
should work now, if not reboot and try step 6 again.
|
sorry i made a typo at step 6: its : sudo apt-get update |
Darkt1981 stuff will work Also make sure the command is run as one line. It's not split in two. Let us know if it still doesn't work |
darkt1981 worked for me with the one tweak that /etc/apt/apt.conf.d is a directory but just putting it in /etc/apt/apt.conf worked. |
i see make another error. step 4. |
Cleaned up Fix: somehow writing the fix told by the other gut didnt work for me so here the longer way to the same result. to fix this try this, it worked for me seeing the above command is correct but github doesnt like the ">" icoon. goto console type : su root input your root password. sudo nano /etc/apt/apt.conf.d/999seccomp (this should open editor nano with the file or create it if its not there) in the editor type : apt::sandbox::seccomp "false"; press CTRL + X , save the file.
if it keeps saying it cant find the repository, check to see if your sources.list has the latest one correctly set. |
Thanks @darkt1981! The only difference is that you need to start at: |
People relax, it is a warning, you can safely ignore it. Apt-get and any other programs should still do their work just fine. |
i updated source.list
it is doing many attempts on different stuffs. |
I disabled the seccomp sandbox in apt 1.6~rc1, so it's been "fixed" for a while now in bionic. It'll probably turn back on again next cycle, though, with some more tweaks. |
Cool thanks having seccomp on WSL working without having to disable it would be sweet. At least learning to troubleshoot the issue has helped me learn more about sandboxing in Linux. :) |
Kem008 check DNS resolution is working on the machine and that the repo source is still valid it may have changed or the source may have been temporarily down |
@Surrogard i disabled seccomp trying to update. Is seccomp only disabled for the duration of my session? If not is there a quick way to disable it? Is there a way to confirm updates or new packages have been applied by navigating the windows file system? Thanks |
@jachin99 if you disabled it via the "/etc/apt/apt.conf.d/999seccomp" method then it is permanent as long as the "999seccomp" file exists in that directory. |
@Surrogard Thanks for help, and I'll investigate. |
This occurs in WSL for Debian Buster (Unstable). Don't have a VM to verify if native Debian Buster does this as well. Far as I can tell though seccomp is a soft fail. Packages do install and can be run without issues. It would be nice to have it working though since this wasn't a thing in Debian stable, Ubuntu 16.04 LTS, etc. |
I got that error when trying apt-get install in KALI Linux deploy using Android Apps Linux Deploy.
Is there something I missing from installation??
The text was updated successfully, but these errors were encountered: