Thank you for taking the time to file a bug report.

The mysql-server postinst script is failing because of this:

/var/lib/dpkg/info/mysql-server-8.0.postinst: line 191:
/usr/share/mysql-common/configure-symlinks: No such file or directory

The /usr/share/mysql-common/configure-symlinks file is provided by
mysql-common. Checking the list of package you have I found this:

mysql-client-8.0 8.0.26-0ubuntu0.20.04.2
mysql-client-core-8.0 8.0.26-0ubuntu0.20.04.2
mysql-common 8.0.15-1ubuntu16.04 [origin: unknown]
mysql-server-core-8.0 8.0.26-0ubuntu0.20.04.2

Your mysql-common package was not installed from the Ubuntu archive. In
a system running Ubuntu Focal you need the following:

$ dpkg -l | grep mysql
ii mysql-client-8.0 8.0.26-0ubuntu0.20.04.2 amd64 MySQL database client binaries
ii mysql-client-core-8.0 8.0.26-0ubuntu0.20.04.2 amd64 MySQL database core 
client binaries
ii mysql-common 5.8+1.0.5ubuntu2 all MySQL database common files, e.g. 
/etc/mysql/my.cnf
ii mysql-server 8.0.26-0ubuntu0.20.04.2 all MySQL database server (metapackage 
depending on the latest version)
ii mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 amd64 MySQL database server 
binaries and system database setup
ii mysql-server-core-8.0 8.0.26-0ubuntu0.20.04.2 amd64 MySQL database server 
binaries

Note that you'll need to remove your mysql-common package manually
because its version is greater than the version in the Ubuntu archive
and apt will not override it. With the correct version of mysql-common
you should be able to install mysql-server.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, 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".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community


** Changed in: mysql-8.0 (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to install/upgrade: 
installed mysql-server-8.0 package post-installation script subprocess returned 
error exit status 127
+ package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to install/upgrade: 
/usr/share/mysql-common/configure-symlinks: No such file or directory

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938643

Title:
  package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to
  install/upgrade: /usr/share/mysql-common/configure-symlinks: No such
  file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1938643/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to