package mariadb-common 10.0.29-0ubuntu0.16.04.1 failed to install/upgrade: podproces zainstalowany skrypt post-installation zwrócił kod błędu 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-10.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I installed mariadb, next removed it and installed mysql, next I removed mysql by commands:
```
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install mariadb-server
```
and then error occurred.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mariadb-common 10.0.29-
ProcVersionSign
Uname: Linux 4.4.0-79-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Sat Jun 17 22:55:50 2017
Dependencies: mysql-common 5.7.18-
ErrorMessage: podproces zainstalowany skrypt post-installation zwrócił kod błędu 2
InstallationDate: Installed on 2015-08-30 (657 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: mariadb-10.0
Title: package mariadb-common 10.0.29-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Changed in mariadb-10.0 (Ubuntu): | |
status: | Fix Committed → Invalid |
I fixed it by:
```
sudo rm -rf /etc/mysq
sudo rm -rf /var/lib/mysql
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install mariadb-server
```