Public bug reported: I was installing mysql-server from command line (sudo apt-get install mysql-server)
The operation did not succeed. All ended with : Des erreurs ont été rencontrées pendant l'exécution : mysql-server-5.7 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) NOTE: I tried to install maria-db first but it didn't succeed either. So I sudo apt-get removed it. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44 Uname: Linux 4.4.0-64-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 Date: Fri Mar 10 10:03:37 2017 ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 InstallationDate: Installed on 2017-01-10 (58 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) Logs.var.log.daemon.log: Logs.var.log.mysql.error.log: ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-64-generic root=UUID=24d60960-8c36-4dd0-891e-3c1665791030 ro quiet splash vt.handoff=7 RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.19 SourcePackage: mysql-5.7 Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1671750 Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1671750/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs