[COLUG] Ubuntu synaptic hangs

Rob Funk rfunk at funknet.net
Fri Feb 22 13:24:09 EST 2008


Lynn David Newton wrote:
> The machine came back up without problems, and I tried to
> continue. It told me that because it detected an interrupted
> installation I had to run dpkg --configure -a by hand, so I
> did that. (Smart program.) It would not complete.

Besides doing "dpkg --configure -a" again, another trick to try would 
be "apt-get install -f".

> Setting up mysql-server-5.0 (5.0.45-1ubuntu3.1) ...
>  * Stopping MySQL database server mysqld                               
>  [ OK ] * Starting MySQL database server mysqld                        
>         [fail] invoke-rc.d: initscript mysql, action "start" failed.

Check the logs to see if mysqld is leaving information about why it won't 
start.  Try running "sh -x /etc/init.d/mysql start" to see the details of 
what's happening in the failing startup script.

> Thereafter I opened SPM again and attempted to *un*install
> everything having to do with MySQL. I thought this worked,
> and meanwhile I went on to other tasks. Later I came back
> and tried once again to install MySQL, and experienced the
> same hang.

If other things don't help, try "apt-get install --reinstall 
mysql-server-5.0".  Possibly even "apt-get purge mysql-server-5.0 && 
apt-get install mysql-server-5.0".  ("purge" is like "remove", but it 
also removes files that "remove" leaves.)


-- 
==============================|   "A microscope locked in on one point
 Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"


More information about the colug432 mailing list