Timothy M Butterworth wrote: > I am unable to install MariaDB on debian 12. apt show says the > mariadb-server is Version: 1:10.11.2-1. > > Failed to stop mariadb.service: Unit mariadb.service not loaded. > invoke-rc.d: initscript mariadb, action "stop" failed. > Failed to stop mysql.service: Unit mysql.service not loaded. > invoke-rc.d: initscript mysql, action "stop" failed. > Attempt to stop MariaDB/MySQL server returned exitcode 5 > There is a MariaDB/MySQL server running, but we failed in our attempts to > stop it. > Stop it yourself and try again!
Have you done that? > new mariadb-server package pre-installation script subprocess returned > error exit status 1 If there is no mariadb or mysql server running, but the system believes that there is, /var/lib/dpkg/info should contain a mariadb.preinst script which can be examined for what mechanism it is using to determine that. -dsr-