Public bug reported: komodo@Oluwatobi:~$ sudo apt install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libterm-readkey-perl mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server-10.3 mariadb-server-core-10.3 socat Suggested packages: libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx mariadb-test tinyca The following packages will be REMOVED: mysql-client-8.0 mysql-client-core-8.0 mysql-server-8.0 mysql-server-core-8.0 The following NEW packages will be installed: galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libterm-readkey-perl mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3 socat 0 upgraded, 12 newly installed, 4 to remove and 1 not upgraded. Need to get 0 B/19.3 MB of archives. After this operation, 23.5 MB disk space will be freed. Do you want to continue? [Y/n] y Preconfiguring packages ... (Reading database ... 256306 files and directories currently installed.) Removing mysql-server-8.0 (8.0.19-0ubuntu5) ... Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. dpkg: error processing package mysql-server-8.0 (--remove): installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 dpkg: too many errors, stopping Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. Failed to start mysql.service: Unit mysql.service not found. invoke-rc.d: initscript mysql, action "start" failed. Unit mysql.service could not be found. dpkg: error while cleaning up: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 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)
ProblemType: Package DistroRelease: Ubuntu 20.04 Package: mysql-server-8.0 8.0.19-0ubuntu5 ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30 Uname: Linux 5.4.0-25-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip Date: Mon Apr 20 19:18:20 2020 ErrorMessage: installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 InstallationDate: Installed on 2019-10-19 (183 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) Logs.var.log.daemon.log: Logs.var.log.mysql.error.log: MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql] MySQLConf.etc.mysql.conf.d.mysqldump.cnf: [mysqldump] quick quote-names max_allowed_packet = 16M MySQLVarLibDirListing: ['server-key.pem', 'aria_log.00000001', 'binlog.000003', 'binlog.index', 'ib_buffer_pool', 'ibdata1', 'private_key.pem', 'aria_log_control', 'mysql.ibd', 'debian-10.3.flag', 'sys', 'mysql', 'auto.cnf', 'undo_002', 'ca.pem', 'performance_schema', 'public_key.pem', 'binlog.000001', 'server-cert.pem', 'ib_logfile1', 'binlog.000002', 'client-cert.pem', 'ca-key.pem', 'undo_001', 'ib_logfile0', '#innodb_temp', 'client-key.pem'] ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-25-generic root=UUID=579ade56-ca9d-4057-9c2a-e6e9538d02d4 ro quiet splash vt.handoff=7 Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4 RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2 SourcePackage: mysql-8.0 Title: package mysql-server-8.0 8.0.19-0ubuntu5 failed to install/upgrade: installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 UpgradeStatus: Upgraded to focal on 2020-04-20 (0 days ago) ** Affects: mysql-8.0 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873931 Title: package mysql-server-8.0 8.0.19-0ubuntu5 failed to install/upgrade: installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1873931/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs