Public bug reported: mysql and mariadb not getting installed. Terminal says you have held broken packages
ProblemType: Package DistroRelease: Ubuntu 20.04 Package: mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 ProcVersionSignature: Ubuntu 5.8.0-41.46~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-41-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Feb 3 05:43:30 2021 ErrorMessage: new mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 InstallationDate: Installed on 2020-10-31 (94 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) Logs.var.log.daemon.log: Logs.var.log.mysql.error.log: MySQLConf.etc.mysql.my.cnf: Error: [Errno 2] No such file or directory: '/etc/mysql/my.cnf' ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.8.0-41-generic root=UUID=d6840be7-0b49-4136-b5a7-ea6baee24b35 ro quiet splash vt.handoff=7 Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4 RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.4 SourcePackage: mysql-8.0 Title: package mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 failed to install/upgrade: new mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** 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/1914305 Title: package mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 failed to install/upgrade: new 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/1914305/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs