Public bug reported:

Did the latest upgrade for Ubuntu 9, the ran the apt-get install mysql-
server-5.1, went through install and failed to start server.

tste...@lserver:~$ sudo apt-get install mysql-server-4.1
[sudo] password for tsteele:                            
Reading package lists... Done                           
Building dependency tree                                
Reading state information... Done                       
Package mysql-server-4.1 is not available, but is referred to by another 
package.
This may mean that the package is missing, has been obsoleted, or               
 
is only available from another source                                           
 
However the following packages replace it:                                      
 
  mysql-server-5.1                                                              
 
E: Package mysql-server-4.1 has no installation candidate                       
 
tste...@lserver:~$ sudo apt-get install mysql-server-5.1
Reading package lists... Done                           
Building dependency tree                                
Reading state information... Done                       
The following extra packages will be installed:         
  bsd-mailx libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl 
libplrpc-perl mailx
  mysql-client-5.1 postfix                                                      
                 
Suggested packages:                                                             
                 
  dbishell tinyca procmail postfix-mysql postfix-pgsql postfix-ldap 
postfix-pcre sasl2-bin resolvconf
  postfix-cdb                                                                   
                     
The following NEW packages will be installed:                                   
                     
  bsd-mailx libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl 
libplrpc-perl mailx    
  mysql-client-5.1 mysql-server-5.1 postfix                                     
                     
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.                 
                     
Need to get 23.4MB of archives.                                                 
                     
After this operation, 55.1MB of additional disk space will be used.             
                     
Do you want to continue [Y/n]? y                                                
                     
Get:1 http://us.archive.ubuntu.com jaunty/main libnet-daemon-perl 0.43-1 
[46.9kB]                    
Get:2 http://us.archive.ubuntu.com jaunty/main libplrpc-perl 0.2020-1 [36.0kB]  
                     
Get:3 http://us.archive.ubuntu.com jaunty/main libdbi-perl 1.607-1 [791kB]      
                     
Get:4 http://us.archive.ubuntu.com jaunty/main libdbd-mysql-perl 4.008-1 
[133kB]                       
Get:5 http://us.archive.ubuntu.com jaunty/universe libmysqlclient16 
5.1.31-1ubuntu2 [1892kB]           
Get:6 http://us.archive.ubuntu.com jaunty/universe mysql-client-5.1 
5.1.31-1ubuntu2 [8628kB]           
Get:7 http://us.archive.ubuntu.com jaunty/universe mysql-server-5.1 
5.1.31-1ubuntu2 [10.5MB]           
Get:8 http://us.archive.ubuntu.com jaunty/main postfix 2.5.5-1.1 [1219kB]       
                       
Get:9 http://us.archive.ubuntu.com jaunty/main bsd-mailx 
8.1.2-0.20081101cvs-2ubuntu1 [160kB]          
Get:10 http://us.archive.ubuntu.com jaunty/main mailx 1:20081101-2ubuntu1 
[8516B]                      
Fetched 23.4MB in 2min 38s (148kB/s)                                            
                       
Preconfiguring packages ...                                                     
                       
Selecting previously deselected package libnet-daemon-perl.                     
                       
(Reading database ... 103530 files and directories currently installed.)        
                       
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...   
                       
Selecting previously deselected package libplrpc-perl.                          
                       
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-1_all.deb) ...           
                       
Selecting previously deselected package libdbi-perl.                            
                       
Unpacking libdbi-perl (from .../libdbi-perl_1.607-1_i386.deb) ...               
                       
Selecting previously deselected package libdbd-mysql-perl.                      
                       
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.008-1_i386.deb) ...   
                       
Selecting previously deselected package libmysqlclient16.                       
                       
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.31-1ubuntu2_i386.deb) 
...                    
Selecting previously deselected package mysql-client-5.1.                       
                       
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.31-1ubuntu2_i386.deb) 
...                    
Selecting previously deselected package mysql-server-5.1.                       
                       
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.31-1ubuntu2_i386.deb) 
...                    
Selecting previously deselected package postfix.                                
                       
Unpacking postfix (from .../postfix_2.5.5-1.1_i386.deb) ...                     
                       
Selecting previously deselected package bsd-mailx.                              
                       
Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20081101cvs-2ubuntu1_i386.deb) 
...                     
Selecting previously deselected package mailx.                                  
                       
Unpacking mailx (from .../mailx_1%3a20081101-2ubuntu1_all.deb) ...              
                       
Processing triggers for man-db ...                                              
                       
Processing triggers for ufw ...                                                 
                       
Setting up libnet-daemon-perl (0.43-1) ...                                      
                       
Setting up libplrpc-perl (0.2020-1) ...                                         
                       
Setting up libdbi-perl (1.607-1) ...                                            
                       
Setting up libdbd-mysql-perl (4.008-1) ...                                      
                       
Setting up libmysqlclient16 (5.1.31-1ubuntu2) ...                               
                       

Setting up mysql-client-5.1 (5.1.31-1ubuntu2) ...

Setting up mysql-server-5.1 (5.1.31-1ubuntu2) ...
 * Stopping MySQL database server mysqld                                        
                 [ OK ] 
090709 12:51:02  InnoDB: Started; log sequence number 0 46409                   
                        
090709 12:51:02  InnoDB: Starting shutdown...                                   
                        
090709 12:51:03  InnoDB: Shutdown completed; log sequence number 0 46409        
                        
090709 12:51:03 [Warning] Forcing shutdown of 1 plugins                         
                        
 * Starting MySQL database server mysqld                                        
                 [fail] 
invoke-rc.d: initscript mysql, action "start" failed.                           
                        
dpkg: error processing mysql-server-5.1 (--configure):                          
                        
 subprocess post-installation script returned error exit status 1               
                        
Setting up postfix (2.5.5-1.1) ...                                              
                        
Adding group `postfix' (GID 126) ...                                            
                        
Done.                                                                           
                        
Adding system user `postfix' (UID 122) ...                                      
                        
Adding new user `postfix' (UID 122) with group `postfix' ...                    
                        
Not creating home directory `/var/spool/postfix'.                               
                        
Creating /etc/postfix/dynamicmaps.cf                                            
                        
Adding tcp map entry to /etc/postfix/dynamicmaps.cf                             
                        
Adding group `postdrop' (GID 127) ...                                           
                        
Done.                                                                           
                        
/etc/aliases does not exist, creating it.                                       
                        

Postfix was not set up.  Start with 
  cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
.  If you need to make changes, edit                       
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).                                                   

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.


Setting up bsd-mailx (8.1.2-0.20081101cvs-2ubuntu1) ...

Setting up mailx (1:20081101-2ubuntu1) ...
Processing triggers for libc6 ...         
ldconfig deferred processing now taking place
Errors were encountered while processing:    
 mysql-server-5.1

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.1 5.1.31-1ubuntu2
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: 
subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-13-server i686

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386

-- 
package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/397534
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to