package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #585067 reported by Pratik
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
Expired
Low
Unassigned

Bug Description

keeps turning up in repository to update, possibly corrupted source

ProblemType: Package
Architecture: i386
Date: Sat May 22 22:09:30 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)
Logs.var.log.daemon.log:

Logs.var.log.kern.log:
 May 23 15:41:28 ratpik-laptop kernel: [ 9489.714893] type=1503 audit(1274609488.342:34): operation="open" pid=3457 parent=3456 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
 May 23 15:41:28 ratpik-laptop kernel: [ 9490.196883] type=1503 audit(1274609488.823:35): operation="open" pid=3508 parent=3507 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
 May 23 15:41:29 ratpik-laptop kernel: [ 9490.727428] type=1503 audit(1274609489.355:36): operation="open" pid=3561 parent=3560 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
 May 23 15:41:29 ratpik-laptop kernel: [ 9490.962642] type=1503 audit(1274609489.590:37): operation="open" pid=3603 parent=3602 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
 May 23 15:41:29 ratpik-laptop kernel: [ 9491.065547] type=1503 audit(1274609489.694:38): operation="open" pid=3619 parent=3618 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
MySQLConf.etc.mysql.my.cnf: Error: [Errno 2] No such file or directory: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['mysql_upgrade_info', 'ratpik-laptop.err', 'ratpik-laptop.pid', 'ib_logfile0', 'debian-5.1.flag', 'ibdata1', 'ib_logfile1', 'openmrs', 'mds', 'mysql']
NonfreeKernelModules: nvidia
Package: mysql-server-5.1 5.1.37-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.31-21.59-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-21-generic i686
modified.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf: [deleted]
modified.conffile..etc.mysql.debian.start: [deleted]

Revision history for this message
Pratik (pratikmandrekar) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

From the DpkgTerminalLog, the 'stop' script failed to run for mysql. From the content above (apparently in kern.log ?) there may have been no /etc/mysql/my.cnf . (user removal?)

Chuck Short (zulcss)
Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sinquin David (davidsinquin+launchpad) wrote :

I think the problem is the same as https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/522185
I had the same and I fixed it with :
sudo killall mysqld
sudo /etc/init.d/mysql stop
sudo apt-get upgrade

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-dfsg-5.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.