package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1

Bug #1587106 reported by Daniel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Mysql passworw was other than null for root. I always set root pass to mysql as null at home computer.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon May 30 17:08:48 2016
ErrorMessage: podproces nowy skrypt pre-installation zwrócił kod błędu 1
InstallationDate: Installed on 2015-08-30 (273 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.10ubuntu1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel (gustaw-daniel) wrote :
Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

From the terminal log, it seems you have previously installed MariaDB 10.0:
Przygotowywanie do rozpakowania pakietu .../mysql-server-5.7_5.7.12-0ubuntu1_amd64.deb ...
Aborting downgrade from (at least) 10.0 to 5.7.
If are sure you want to downgrade to 5.7, remove the file
/var/lib/mysql/debian-*.flag and try installing again.
dpkg: błąd przetwarzania archiwum /var/cache/apt/archives/mysql-server-5.7_5.7.12-0ubuntu1_amd64.deb (--unpack):
 podproces nowy skrypt pre-installation zwrócił kod błędu 1

You can remove the /var/lib/mysql/debian*.flag file and try again, but since MariaDB and MySQL 5.7 are not really compatible, I suggest making a backup of /var/lib/mysql first.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.