You seem to have had some other version of mysql installed: Setting up mysql-community-server (5.6.38-1ubuntu14.04) ... ./usr/bin/mysqld_safe: 637: /usr/bin/mysqld_safe: cannot create /usr/data/admin-3046.err: Directory nonexistent Logging to '/usr/data/admin-3046.err'.
What is this community server? Version 5.6.38 is not available for trusty in the ubuntu archive: $ rmadison mysql-server-core-5.5 mysql-server-core-5.5 | 5.5.22-0ubuntu1 | precise | amd64, armel, armhf, i386, powerpc mysql-server-core-5.5 | 5.5.35+dfsg-1ubuntu1 | trusty | amd64, arm64, armhf, i386, powerpc, ppc64el mysql-server-core-5.5 | 5.5.54-0ubuntu0.12.04.1 | precise-security | amd64, armel, armhf, i386, powerpc mysql-server-core-5.5 | 5.5.54-0ubuntu0.12.04.1 | precise-updates | amd64, armel, armhf, i386, powerpc mysql-server-core-5.5 | 5.5.58-0ubuntu0.14.04.1 | trusty-security | amd64, arm64, armhf, i386, powerpc, ppc64el mysql-server-core-5.5 | 5.5.58-0ubuntu0.14.04.1 | trusty-updates | amd64, arm64, armhf, i386, powerpc, ppc64el Did you move from this 5.6.38 community version to the ubuntu version which is 5.5.58 and that's when the error happened? ** Changed in: mysql-5.5 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734444 Title: package mysql-server-5.5 5.5.58-0ubuntu0.14.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1734444/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs