Hi,
surely for my errors in uninstalling the previous version ,
I'm receiving the following:

$ sudo apt remove --purge ucsf-chimerax
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libosmesa6 libxcb-cursor0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ucsf-chimerax*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 524167 files and directories currently installed.)
Removing ucsf-chimerax (1.9ubuntu24.04) ...
Deregister desktop menu and associated mime types
/var/lib/dpkg/info/ucsf-chimerax.prerm: 4: chimerax: not found
dpkg: error processing package ucsf-chimerax (--remove):
installed ucsf-chimerax package pre-removal script subprocess returned error exit status 127
dpkg: too many errors, stopping
Errors were encountered while processing:
ucsf-chimerax
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ dpkg --get-selections | grep ucsf
ucsf-chimerax install


$ chimerax
chimerax: command not found

Any suggestions to recover?

Thanks.

Saverio