package mysql-server-8.0 8.0.28-0ubuntu0.20.04.3 failed to install/upgrade: circular symlink to configuration file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
this is not working.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-
ProcVersionSign
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-
AptOrdering:
mysql-
mysql-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sat Feb 5 10:55:56 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-10-31 (101 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Logs.var.
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLVarLibDirL
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.28-
UpgradeStatus: No upgrade log present (probably fresh install)
information type: | Private Security → Public |
Hello,
Thank you for taking the time to report this bug and helping to make Ubuntu better.
While the symptom is similar to the one observed in https:/ /bugs.launchpad .net/ubuntu/ +source/ mysql-8. 0/+bug/ 1899248, I see an additional error in your logs:
MySQLConf. etc.mysql. my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'
It seems the service needs a restart, but it cannot perform one due to a circular symlink for your configuration file at /etc/mysql/my.cnf.
Could you confirm that this configuration file is an actual circular symbolic link?
Would you mind providing more information on your configuration setup? Namely, it would be interesting to understand how that file turned out to become a circular symlink.
Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.
If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.