emoving mysql-server-8.0 (8.0.36-0ubuntu0.23.10.1) …
update-alternatives: warning: alternative /etc/mysql/my.cnf.fallback (part of link group my.cnf) doesn’t exist; removing from li
st of alternatives
update-alternatives: warning: alternative /etc/mysql/mysql.cnf (part of link group my.cnf) doesn’t exist; removing from list of
alternatives
update-alternatives: error: cannot stat file ‘/etc/alternatives/my.cnf’: Invalid argument
dpkg: error processing package mysql-server-8.0 (–remove):
installed mysql-server-8.0 package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
mysql-server-8.0
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
every other installation and uninstall is being effected by this.
how to fix this?