After the latest update, emacs is just outright unable to start. All I get is this:
Loading loadup.el (source)...
Dump mode: nil
Using load-path (/usr/share/emacs/29.1/site-lisp /usr/share/emacs/site-lisp /usr/share/emacs/29.1/lisp /usr/share/emacs/29.1/lisp/emacs-lisp /usr/share/emacs/29.1/lisp/progmodes /usr/share/emacs/29.1/lisp/language /usr/share/emacs/29.1/lisp/international /usr/share/emacs/29.1/lisp/textmodes /usr/share/emacs/29.1/lisp/vc)
Loading emacs-lisp/debug-early...
Symbol's function definition is void: file-name-sans-extension
I have absolutely no idea what is causing it or how to fix this. This is a complete show-stopper for me because I need emacs to do my work.