Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7175

E: Sub-process /usr/bin/dpkg returned an error code (1) while removing mysql completely from ubuntu 20.04

$
0
0

I want to uninstall mysql completely from ubuntu 20.04.sudo apt-get remove --purge mysql-server mysql-client mysql-common -y

But every time got errors.

dpkg: error processing package mysql-server-8.0 (--remove):package is in a very bad inconsistent state; you shouldreinstall it before attempting a removaldpkg: too many errors, stoppingErrors were encountered while processing:mysql-server-8.0Processing was halted because there were too many errors.E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried configuring dpkg sudo dpkg --configure -a , but again it says :

dpkg: error processing package mysql-server-8.0 (--configure):package is in a very bad inconsistent state; you shouldreinstall it before attempting configurationErrors were encountered while processing:mysql-server-8.0


Viewing all articles
Browse latest Browse all 7175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>