Nothing logged to /var/log/daemon.log.  This is the error I get when
trying to install MySQL as part of a LAMP install:

E: /var/cache/apt/archives/mysql-
server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb: subprocess pre-
installation script returned error exit status 1


Then, I copied this from the terminal after the failed install;

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
(Reading database ... 
dpkg: serious warning: files list file for package `mysql-server-5.0' missing, 
assuming package has no files currently installed.
162660 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 (using 
.../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: error processing 
/var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb
 (--unpack):
 subprocess pre-installation script returned error exit status 1
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 
/var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ufw (0.27-0ubuntu2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: error processing ufw (--configure):
 subprocess post-installation script returned error exit status 1
Setting up libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: error processing libapache2-mod-php5 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.0; however:
  Package mysql-server-5.0 is not installed.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mysql:
 php5-mysql depends on phpapi-20060613+lfs; however:
  Package phpapi-20060613+lfs is not installed.
  Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not 
configured yet.
dpkg: error processing php5-mysql (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ufw
 libapache2-mod-php5
 mysql-server
 php5-mysql


** Changed in: mysql-dfsg-5.0 (Ubuntu)
       Status: Invalid => New

-- 
package mysql-server-5.0 None [modified: 
/var/lib/dpkg/info/mysql-server-5.0.list] failed to install/upgrade: subprocess 
pre-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/357274
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

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

Reply via email to