package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I can't install other app's because this package make me fails.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.3
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Nov 18 21:27:33 2010
ErrorMessage: el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Logs.var.
Logs.var.
Nov 16 13:57:38 jordi-desktop kernel: [ 9.717498] type=1505 audit(128991225
Nov 17 06:30:59 jordi-desktop kernel: [ 10.136631] type=1505 audit(128997185
Nov 18 00:31:36 jordi-desktop kernel: [ 9.706571] type=1505 audit(129003669
Nov 18 20:40:24 jordi-desktop kernel: [ 9.625583] type=1505 audit(129010922
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: el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1
Hello turrailes, thank you for taking the time to file this bug report and help us make Ubuntu better!
The error messages indicating the failures in stopping mysqld seem somewhat inconsistent and confusing.
The first one, while trying to upgrade from 5.1.41-3ubuntu12.3 to 5.1.41-3ubuntu12.6 is here:
S'està preparant per a reemplaçar mysql-server-5.1 5.1.41-3ubuntu12.3 (fent servir .../mysql- server- 5.1_5.1. 41-3ubuntu12. 6_i386. deb) ...
^X^^Vv stop: Job has already been stopped: mysql apt/archives/ mysql-server- 5.1_5.1. 41-3ubuntu12. 6_i386. deb (--unpack):
invoke-rc.d: initscript mysql, action "stop" failed.
invoke-rc.d returned 1
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: s'ha produït un error en processar /var/cache/
el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1
I think this may happen because of an unfortunate race condition in /lib/init/ upstart- job that checks status, and if it has a pid, tries to stop it, but it may die (for some other reason, such a it was already in a stopping state) between this check. So, in this way, it should be possible to repeat the upgrade attempt and have it not fail every time.
S'està preparant per a reemplaçar mysql-server-5.1 5.1.41-3ubuntu12.3 (fent servir .../mysql- server- 5.1_5.1. 41-3ubuntu12. 3_i386. deb) ... apt/archives/ mysql-server- 5.1_5.1. 41-3ubuntu12. 3_i386. deb (--unpack):
Terminated
invoke-rc.d: initscript mysql, action "stop" failed.
invoke-rc.d returned 143
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: s'ha produït un error en processar /var/cache/
el subprocés seqüència pre-installation nova retornà el codi d'eixida d'error 1
This actually supports the same theory, as I believe the 'kill timeout 300' was not present in 5.1.41-3ubuntu12.3, so upstart would kill mysqld after 5 seconds.. which would explain the 'Terminated' error.
Can you try stopping mysql before doing your install/upgrades?
stop mysql
should do it. Please report back on the results of trying that, as I think this is probably reproducible if mysqld takes a long time to stop.
Marking Incomplete pending response from turrailes.