Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I believe this problem comes from the following code in mysql-
server-5.6.preinst:

# if there's a symlink, let's store where it's pointing, because otherwise
# it's going to be lost in some situations
for dir in DATADIR LOGDIR; do
    checkdir=`eval echo "$"$dir`
    if [ -L "$checkdir" ]; then
        mkdir -p "$UPGRADEDIR"
        cp -d "$checkdir" "$UPGRADEDIR/$dir.link"
    fi
done

It isn't obvious to me why this would fail in this case, however. Please
can you report the output of "stat /var/lib/mysql", "stat /var/lib
/mysql-upgrade", "stat /var/lib/mysql-upgrade/DATADIR.link" and "stat
/var/lib/mysql-upgrade/DATADIR.link/mysql" and then change the bug
status back to New?

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

** Summary changed:

- package mysql-server-5.6 5.6.30-0ubuntu0.14.04.1 failed to install/upgrade: 
subprocess new pre-installation script returned error exit status 1
+ mysql-server-5.6.postinst fails with: "cp: impossible d'écraser le répertoire 
«/var/lib/mysql-upgrade/DATADIR.link/mysql» par un non répertoire"

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

Title:
  mysql-server-5.6.postinst fails with: "cp: impossible d'écraser le
  répertoire «/var/lib/mysql-upgrade/DATADIR.link/mysql» par un non
  répertoire"

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to