After updating system and changing kernel to zen one, system not booting

I tried it first thing when I arch-chroot it.

[root@EndeavourOS /]# akm
[root@EndeavourOS /]# ==> Config file /etc/akm.conf read.
==> Info: detecting available kernel packages.
Authorization required, but no authorization protocol specified


(yad:66): Gtk-WARNING **: 11:48:34.311: cannot open display: :0.0
/usr/bin/akm: line 521: : command not found
[@EndeavourOS /]$ akm
[@EndeavourOS /]$ ==> Config file /etc/akm.conf read.
==> Info: detecting available kernel packages.
Authorization required, but no authorization protocol specified


(yad:162): Gtk-WARNING **: 11:51:18.158: cannot open display: :0.0
/usr/bin/akm: line 521: : command not found