PDA

View Full Version : Basic Kali system operations failed, error mesg attached



Mato
2017-12-11, 18:04
Hello,

I have strange problem on my Kali Linux. Long time all works correctly. Suddenly without any obvious cause when I run any basic task from terminal for example:
apt-get update or
apt-get upgrade I get this error:



**** Seccomp prevented execution of syscall 0000000041 on architecture amd64 ****

and task is stopped.

I use kali-rolling.


uname -a
4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux

Can you help me please?

_defalt
2017-12-12, 07:08
Similar error: https://www.reddit.com/r/linux4noobs/comments/7flbv4/when_i_do_a_sudo_aptget_update_apt_send_me_error/

Show the output of /etc/apt/sources.list

Mato
2017-12-16, 10:17
@_defalt Thanks for reply.

My /etc/apt/sources.list:


deb http://repo.kali.org/kali kali-rolling main non-free contrib
deb-src http://repo.kali.org/kali kali-rolling main non-free contrib

deb http://download.virtualbox.org/virtualbox/debian jessie contrib

When I comment download.virtualbox.org apt-get is correctly done, but apt-get dist-upgrade shows this error:


**** Seccomp prevented execution of syscall 0000000029 on architecture amd64 ****
E: Method http has died unexpectedly!

What file in
/etc/apt/apt.conf.d can I use for add this?


APT::Sandbox::Seccomp::Allow {
"socket";
};

Mato
2017-12-18, 23:00
@_defalt any other idea please? :-(

bigbiz
2017-12-19, 00:53
@_defalt any other idea please? :-(

Try to change jessy to whezzy. Prettysure kali uses this diffent.

Mato
2018-01-02, 17:13
Thanks all for help. The solution is:
echo 'apt::sandbox::seccomp "false";' > /etc/apt/apt.conf.d/999seccomp