Hi,
update-ca-certificates has problem when executed. The error is Illegal instruction (core dumped)
Please help!
update-ca-certificates is provided by upstream, Debian.
So report also a bug there.
update-ca-certificates is a shell script. So running it with xtrace enabled we can see more closely what exact command is failing.
sudo sh -x /usr/sbin/update-ca-certificates
The output of that might help to isolate the cause.
Wild guess: Kernel Issues
I enabled everything in /etc/default/grub.d/40-cpu* that may disable SMT and this problem was solved after update-grub and restart computer.
I know this topic is old, but I hope you are still around here to answer. I’ve run into the same "illegal instruction (core dumped) problem. Since I’m not that linux savvy, could you explain exactly how to ‘enable everything in /etc/default/grub.d/40-cpu*’ ? I figured I’d try to do what you did. I can display the contents of …grub.d, but that’s about it. Also, I assume that this would involve changing permissions, but would have to done in the persistent-maintenance mode?
Kernel parameter gather_data_sampling=force is likely causing this on some CPUs on Debian bookworm based operating systems such as Kicksecure 17.
Solution: Remove the gather_data_sampling=force kernel parameter. The following commands can accomplish that.
1. Boot into sysmaint mode.
2. Comment out [1] gather_data_sampling=force in the /etc/default/grub.d/40_cpu_mitigations.cfg configuration file, sudo update-grub and reboot.
sudo str_replace 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX gather_data_sampling=force"' '#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX gather_data_sampling=force"' /etc/default/grub.d/40_cpu_mitigations.cfg
3. Update GRUB configuration file.
sudo update-grub
4. Reboot.
sudo reboot
5. Done.
[1] Comment out explanation: Commenting Syntax and Effects
I used * because I forgot the name of the file. And comment everyline that may disable SMT/AVX/AES with #, save it, exit. Then execute update-grub command, then reboot.
Thank you!