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

in #mysql7 years ago

This is a common problem after MySQL upgrade.

The issue is, the symlink /usr/share/mysql-common/configure-symlinks doesn't exist.

Just create the symlink and run apt upgrade or apt-get upgrade and it will work

We can do the following to fix the issue

touch $$ : this creates a file with a unique name.

touch /tmp/$$.$$ ; cd /usr/share/mysql-common/ ; ln -s /tmp/$$.$$ /usr/share/mysql-common/configure-symlinks ; chmod 777 /usr/share/mysql-common/configure-symlinks ; apt -y upgrade ; rm -f /tmp/$$.$$

Sort:  

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 98129.50
ETH 3322.67
USDT 1.00
SBD 3.05