package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: Too many levels of symbolic links: '/etc/mysql/my.cnf'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I've never reported one of these before and not exactly sure what's going on. I tried to install the Open Source Social Network and it said there's some MySQL errors and conflicts? I do have PHP installed on my AWS EC2 server but not I didn't have it on here before I ran this. Not quite sure what's happening?
https:/
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.25-
ProcVersionSign
Uname: Linux 5.8.0-59-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Jul 21 21:16:40 2021
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-06-11 (41 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.25-
UpgradeStatus: No upgrade log present (probably fresh install)
information type: | Private Security → Public |
summary: |
package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to - install/upgrade: installed mysql-server-8.0 package post-installation - script subprocess returned error exit status 1 + install/upgrade: Too many levels of symbolic links: '/etc/mysql/my.cnf' |
Hello,
Thank you for filing this bug report. As I see:
> I tried to install the Open Source Social Network and it
> said there's some MySQL errors and conflicts?
After reading the logs, which say: 22T02:13: 49.189938Z 0 [ERROR] [MY-010285] [Server] mysql// private_ key.pem: error:0909006C:PEM get_name: no start line
> 2021-07-
> Failure to parse RSA private key (file exists):
> /var/lib/
> routines:
It looks like the public key file contents were replaced with the private key file contents or somehow the keys got messed up.
Interestingly, there's a similar known report in upstream tracker: /bugs.mysql. com/bug. php?id= 70115
https:/
Maybe you can manually recover the keys and restart the slaves and things should start to work again normally?
I tried to reproduce but couldn't find a way to do that. So whilst I can think it's a local issue and I am marking as "Incomplete", if you believe that it's actually a bug in the package rather than a local problem, let us know why you think that and if possible, give us some steps to reproduce the issue. Once done, also set the status of the bug to "New" and we'll take a look at it again.
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://
Thank you!