MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of
symbolic links: '/etc/mysql/my.cnf'
That error may mean that /etc/mysql/my.cnf is symlinked to itself. (And
if that's the case, then an obvious workaround would be to delete the
file and reinstall.)
As to how that got caused, without steps to reproduce it's hard to be
sure. This bit of code from mysql-server-8.0.postinst might have
something to do with it:
mysql_cfgdir=/etc/mysql
...
/usr/share/mysql-common/configure-symlinks install mysql
"$mysql_cfgdir/mysql.cnf"
The corresponding logic in configure-symlinks would be:
install)
variant="$2"
my_cnf_path="$3"
update-alternatives --install /etc/mysql/my.cnf my.cnf "$my_cnf_path" 200
In my system, this gets set up properly in alternatives:
lrwxrwxrwx 1 root root 24 Mar 22 17:50 my.cnf ->
/etc/alternatives/my.cnf
@ Moisés: Can you provide the output of "ls -l /etc/mysql"? Thanks ahead of
time.
Você pode fornecer a saída de "ls -l / etc / mysql"? Obrigado antecipadamente.
** Changed in: mysql-8.0 (Ubuntu)
Status: Confirmed => Incomplete
** Summary changed:
- package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to install/upgrade: o
subprocesso instalado, do pacote mysql-server-8.0, o script post-installation
retornou erro do status de saída 2
+ package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to install/upgrade:
Too many symbolic link levels: '/etc/mysql/my.cnf'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943373
Title:
package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to
install/upgrade: Too many symbolic link levels: '/etc/mysql/my.cnf'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1943373/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs