Linux Mint 20.1 - apt / dpkg is broken with mysql-server
by SlowCoder from LinuxQuestions.org on (#5EAPF)
I don't know exactly how, but it is.
I began installing each LAMP package separately, including mariadb.
Then I saw a tutorial that said to run
Code:sudo apt install lamp-server^To clean up after myself I ran
Code:sudo apt remove mariadb-serverand that is where my problems started, and got apt errors from then.
Now I cannot remove/install/purge mysql-server, or even run 'apt autoremove' without getting errors like
Code:pkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)I've done everything on this site: https://phoenixnap.com/kb/fix-sub-pr...d-error-code-1
What are my options?


I began installing each LAMP package separately, including mariadb.
Then I saw a tutorial that said to run
Code:sudo apt install lamp-server^To clean up after myself I ran
Code:sudo apt remove mariadb-serverand that is where my problems started, and got apt errors from then.
Now I cannot remove/install/purge mysql-server, or even run 'apt autoremove' without getting errors like
Code:pkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)I've done everything on this site: https://phoenixnap.com/kb/fix-sub-pr...d-error-code-1
What are my options?