I get "Segmentation fault (core dumped)"
massage in output of any command in my shell with sudo
. for example sudo install any app
or rm any file
and ...
1 Answer
When you get a segmentation fault for all commands, the issue is generally one of two things:
- Bad memory
⇢ Reboot and usememtester
ormemtest86
to test your memory. You can find this in your Grub menu after booting. - A bad library that is used across multiple programs.
⇢ If you have recently upgraded, there is a possibility that the upgrade was interrupted before completing or some package is interfering with an important library.
Hope this points you in the right direction 👍🏻
pkexec apt update
also tell you something about the segmentation fault?