package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1
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)
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelMo
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)
RelatedPackageV
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)
From the terminal log, it seems you have previously installed MariaDB 10.0: server- 5.7_5.7. 12-0ubuntu1_ amd64.deb ... mysql/debian- *.flag and try installing again. apt/archives/ mysql-server- 5.7_5.7. 12-0ubuntu1_ amd64.deb (--unpack):
Przygotowywanie do rozpakowania pakietu .../mysql-
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/
dpkg: błąd przetwarzania archiwum /var/cache/
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.