Comment 9 for bug 627723

Revision history for this message
K2JO (duncancraven) wrote : Re: [Bug 627723] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Hi Serge,

Since i could not uninstall, i could not reinstall, and i could not upgrade,
I decided to be bold and break the installation much more severely in the
hope that it would trigger a more effective repair/reinstall.

I renamed /usr/bin/mysql; /usr/bin/mysqladmin; /usr/lib/mysql;
/usr/sbin/mysqld; /usr/sbin/mysqld-akonadi; /usr/sbin/mysqlmanager

Restarted the computer.

Immediately it ran the package manager and reinstalled the mysql package.

Problem solved, and no additional configuration was required to return the
SugarCRM or other mssql dependent packages to full operation.

Best regards,

Duncan

On Tue, Sep 7, 2010 at 12:32 AM, Serge Hallyn <email address hidden>wrote:

> And if you just run it by hand, i.e.:
>
> /usr/sbin/mysqld
>
> does a subsequent
>
> ps -ef | grep mysqld
>
> show it running?
>
> --
> package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
> subprocess new pre-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/627723
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “mysql-dfsg-5.1” package in Ubuntu: Incomplete
>
> Bug description:
> Update manager tried to update MySQL, but crashes
> Gets as far as "Preparing to replace MySQL...."
> Then nothing
>
> ProblemType: Package
> DistroRelease: Ubuntu 10.04
> Package: mysql-server-5.1 5.1.41-3ubuntu12.3
> ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
> Uname: Linux 2.6.32-24-generic x86_64
> NonfreeKernelModules: nvidia
> Architecture: amd64
> Date: Tue Aug 31 16:31:14 2010
> ErrorMessage: subprocess new pre-installation script returned error exit
> status 1
> Logs.var.log.daemon.log:
>
> Logs.var.log.kern.log:
> Aug 30 19:29:14 ivan kernel: [ 36.788557] type=1505
> audit(1283210954.163:5): operation="profile_load" pid=934
> name="/usr/sbin/mysqld"
> Aug 31 16:22:07 ivan kernel: [ 39.756658] type=1505
> audit(1283286127.133:10): operation="profile_load" pid=954
> name="/usr/sbin/mysqld"
> Aug 31 16:37:07 ivan kernel: [ 21.875719] type=1505
> audit(1283287027.253:5): operation="profile_load" pid=911
> name="/usr/sbin/mysqld"
> Aug 31 19:45:26 ivan kernel: [ 25.621957] type=1505
> audit(1283298326.015:5): operation="profile_load" pid=929
> name="/usr/sbin/mysqld"
> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['debian-5.1.flag', 'ibdata1', 'mysql_upgrade_info',
> 'ib_logfile1', 'phpmyadmin', 'mysql', 'EnGen', 'sugarcrm', 'ib_logfile0',
> 'debian-5.0.flag']
> 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
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/627723/+subscribe
>