Public bug reported: I tried to uninstall mysql-server-5.6, but the post-removal script failed with this message:
Removing mysql-server-5.6 (5.6.23-1~exp1~ubuntu4) ... /usr/bin/deb-systemd-helper: error: unable to link /etc/systemd/system/mysql.service to /dev/null: File exists dpkg: error processing package mysql-server-5.6 (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: mysql-server-5.6 E: Sub-process /usr/bin/dpkg returned an error code (1) This occurs on a fresh install of mysql, no databases, no extra configuration. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: mysql-server-5.6 5.6.23-1~exp1~ubuntu4 ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2 Uname: Linux 3.19.0-10-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.16.2-0ubuntu4 Architecture: amd64 CurrentDesktop: Unity Date: Tue Mar 24 22:56:09 2015 InstallationDate: Installed on 2015-01-20 (64 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150119) SourcePackage: mysql-5.6 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: mysql-5.6 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1436178 Title: Unable to uninstall mysql-server-5.6 properly, post-removal script fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1436178/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs