Am upgrade keeps you on the same debian version and just install any new releases in that version.
You can't just install ethercat and expect it to work. Please follow my stickyed instructions in the ethercat section of the forum to configure it.
I honestly think you would be better off installing the new Debian Bookworm 2.9.1 ISO from linuxcnc's download page.
Whilst it is possible to use sudo apt-get dist-upgrade to upgrade from Buster to later releases, I would not recommend this path as it is very time consuming and takes a lot longer than installing from the iso
The good news from an email last night is Sasha Ittner's linuxcnc ethercat driver is now hosted in etherlabmaster repository so there is no need to bother with compiling it from source. And I don't need to host it on package.io any longer.