package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Package mysql-server5.1 5.1.41-3ubuntu12.6 failed to update via update manager.
Expected it not to tie up my game servers for hours on end doing NOTHING at all.
No Progress is what happened.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.3
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Aug 12 13:24:36 2010
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Logs.var.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Changed in mysql-dfsg-5.1 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
The Solution:
For me, databases and custom configurations were still intact with uninstalling and reinstalling the mysql packages.
But to be on the safe side open a terminal window typed 'sudo nautilus' [enter] mysql.cnf
Copy my mysql databases from /var/mysql/mysql
Backup your configuration file from /ect/mysql/
Close Nautilus
Ctrl-c the terminal window and close.
Open System --> Administration --> Synaptic Package Manager.
Search 'MySQL'
Mark 'MySQL Server' and 'MySQL Client' for COMPLETE REMOVAL.
Reboot
Install New MySQL Packages.
Resume use as usual. This is how we got around this issue.