mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade

Bug #430772 reported by Rachel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

The first thing I did was trying to install lamp server like below:
sudo tasksel install lamp-server. Then I entered the root password for mysql, after few mins the installation stopped at 72%(for very long time), It didn't recover at all. So I just closed the terminal. And when I went to System->administration->synaptic package manager, I came across this bug.

"This usually means that another package manager application(like apt-get or aptitude) is already running. Please close the application first."

This is first time I'm using jaunty, I wanted to work with jaunty.
But I need apache,phpandmysql for my work.
This bug came up while I was trying to do that.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 127
NonfreeKernelModules: ath_hal
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 127
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Rachel (rachelbaskaran) wrote :
Revision history for this message
arky (arky) wrote :

Looks like mysql-server package failed to installed. Assigning it to mysq-dfsg-5.0 pacakge.

summary: - "Unable to get exclusive lock"
+ mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to
+ install/upgrade
affects: ubuntu → mysql-dfsg-5.0 (Ubuntu)
Revision history for this message
Mathias Gug (mathiaz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I can see two errors:

Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...

 * Stopping MySQL database server mysqld

   ...done.

 * Reloading AppArmor profiles ...

   ...done.

 * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz

 * Starting MySQL database server mysqld

   ...done.

/usr/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'

This is bug 153868.

And then:

Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
 * Stopping MySQL database server mysqld 
[ OK ]
 * Reloading AppArmor profiles ... 
[ OK ]
 * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
 * Starting MySQL database server mysqld 
[ OK ]
/etc/init.d/mysql: line 115: /etc/mysql/debian-start: No such file or directory

The configuration files have probably been deleted. Try to purge the package and reinstall it.

Changed in mysql-dfsg-5.0 (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

 We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in mysql-dfsg-5.0 (Ubuntu):
status: Incomplete → Invalid
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.