How to FIX "method http has died unexpectedly"
E: method http has died unexpectedly |
Hi friend, when used Kali Linux if get method http has died unexpectedly then used apt-get.
Ex:
root@mafiaboy:~# apt-get update
Hit:1 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Hit:2 http://ppa.launchpad.net/webupd8team/java/ubuntu vivid InRelease
Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
The cause of this error is one of the repositories of the file you have no dead links. So very simple to fix.Hit:1 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Hit:2 http://ppa.launchpad.net/webupd8team/java/ubuntu vivid InRelease
Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
Follow the steps you are you down there!
Step 1. Open /etc/apt/source.list.d/, backup and delete all content .list
Step 2. Backup file source.list in /etc/apt/, and delete source file.
Step 3. Create a new source.list in folder /etc/apt/ with:
deb http://old.kali.org/kali sana main non-free contrib
# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali sana main non-free contrib
Step 4. Open Terminal and Input:# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali sana main non-free contrib
apt-get update
Such a problem has been solved, the next is that you work from the earlier backed .list on/etc/apt/source.list.d/, each time you use the add command apt-get update to know which files are failing.Done, goodluck !
Post a Comment