Reading log entries from /var/log/syslog. Updating AppArmor profiles in /etc/apparmor.d. Segmentation fault (core dumped)
Probably, apt update && apt upgrade will solve it:
apt update && apt upgrade