Comment 16 for bug 522185

Revision history for this message
mauri (maurizio-boscaini-gmail) wrote : Re: [Bug 522185] Re: package mysql-server failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

On Fri, Jun 18, 2010 at 6:26 PM, Sinquin David <
<email address hidden> <davidsinquin%<email address hidden>>>wrote:

> When you try to upgrade, do you have an error message like that :
>

> "Setting up mysql-server-5.1 (5.1.37-1ubuntu5.1) ...
> * Stopping MySQL database server mysqld
> ...done.
> * Starting MySQL database server mysqld
> ...fail!
> invoke-rc.d: initscript mysql, action "start" failed.
> dpkg: error processing mysql-server-5.1 (--configure):
> subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of mysql-server:
> mysql-server depends on mysql-server-5.1; however:
> Package mysql-server-5.1 is not configured yet.
> dpkg: error processing mysql-server (--configure):
> dependency problems - leaving unconfigured
> Setting up apache2.2-bin (2.2.12-1ubuntu2.2) ...
> No apport report written because the error message indicates its a followup
> error from a previous failure.
>
> Setting up apache2-utils (2.2.12-1ubuntu2.2)
> ...
> Setting up apache2.2-common (2.2.12-1ubuntu2.2) ...
>
> Setting up apache2-mpm-prefork (2.2.12-1ubuntu2.2) ...
> * Starting web server apache2
> ...done.
>
> Setting up apache2 (2.2.12-1ubuntu2.2) ...
>
> Setting up dpkg-dev (1.15.4ubuntu2.1) ...
> Errors were encountered while processing:
> mysql-server-5.1
> mysql-server
> E: Sub-process /usr/bin/dpkg returned an error code (1)"
>

no, I've no this type of errors

>
> Do you really need mysql on this computer (to know if it is possible to
> test to remove and reinstall mysql package) ?

yes

> You should save your
> databases before removing mysql)
>
>
so, the solution is to remove mysql and reinstall it?
than I think I'll wait some time...

thanks
mauri

> --
> package mysql-server failed to install/upgrade: subprocess new pre-removal
> script returned error exit status 1
> https://bugs.launchpad.net/bugs/522185
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “mysql-dfsg-5.1” package in Ubuntu: New
>
> Bug description:
> While upgrading Ubuntu, mysql 5.1 failed to install due to unknown reasons.
>
> ProblemType: Package
> Architecture: i386
> Date: Fri Feb 12 18:36:54 2010
> DistroRelease: Ubuntu 9.10
> ErrorMessage: subprocess new pre-removal script returned error exit status
> 1
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['ibdata1', 'MyNewDataBase', 'consult',
> 'ib_logfile0', 'debian-5.1.flag', 'ib_logfile1', 'mysql',
> 'mysql_upgrade_info']
> Package: mysql-server-5.1 5.1.37-1ubuntu5
> ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
> SourcePackage: mysql-dfsg-5.1
> Title: package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade:
> subprocess new pre-removal script returned error exit status 1
> Uname: Linux 2.6.31-19-generic i686
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/522185/+subscribe
>

--
mauri

......................................................................
Ing. Maurizio Boscaini
Libero pensatore (un tentativo e una speranza)

email: <email address hidden>
phone +39 045 994492
mobile +39 340 5631571
......................................................................