Getting Segmentation fault (core dumped) in ubutnu16 while running apt-get install... command

1.8k Views Asked by At

Hi I am getting "Segmentation fault (core dumped)" error message in Ubuntu 16, whenever I do any installation like

sudo apt-get install default-jre

sudo apt-get install ns2

1

There are 1 best solutions below

0
On

In my case this happened because the list of packages was very long, I solved it with this.

rm /var/lib/apt/lists/* -vf

[reboot the system]

apt-get update

that´s it. PD: you must to be root or use sudo.