[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

unable to install mysql (lamp) (post-installation script returned error exit status 1)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

package: mysql-server

version: 5.0.45-1

Hello,...


debian lenny lest update (29.9.2007 12:00 GMT).

when working on this howto :
http://linux.justinhartman.com/Setting_up_a_LAMP_Server


i did :


apt-get update

apt-get install apache2 php5 libapache2-mod-php5 mysql-server
mysql-client php5-mysql phpmyadmin


acerium:/# apt-get install apache2 php5 libapache2-mod-php5
mysql-server mysql-client php5-mysql phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  apache-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libmcrypt4 php5-common php5-mcrypt
Suggested packages:
  php-pear libmcrypt-dev mcrypt
Recommended packages:
  php5-gd php4-gd
The following packages will be REMOVED:
  libapache2-mod-php4
The following NEW packages will be installed:
  apache2 libapache2-mod-php5 libmcrypt4 mysql-client mysql-server php5
  php5-common php5-mcrypt php5-mysql phpmyadmin
0 upgraded, 10 newly installed, 1 to remove and 305 not upgraded.
1 not fully installed or removed.
Need to get 5948kB/6086kB of archives.
After unpacking 14.9MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirror.isoc.org.il testing/main php5-common 5.2.3-1+b1
[234kB]
Get:2 http://mirror.isoc.org.il testing/main libapache2-mod-php5
5.2.3-1+b1 [2663kB]
Get:3 http://mirror.isoc.org.il testing/main libmcrypt4 2.5.7-5 [86.7kB]
Get:4 http://mirror.isoc.org.il testing/main php5 5.2.3-1 [1034B]
Get:5 http://mirror.isoc.org.il testing/main php5-mcrypt 5.2.3-1+b1
[13.8kB]
Get:6 http://mirror.isoc.org.il testing/main php5-mysql 5.2.3-1+b1
[73.4kB]
Get:7 http://mirror.isoc.org.il testing/main phpmyadmin 4:2.11.0-1
[2875kB]
Fetched 5948kB in 44s (134kB/s)
Preconfiguring packages ...
(Reading database ... 197242 files and directories currently installed.)
Removing libapache2-mod-php4 ...
Module php4 does not exist!
Selecting previously deselected package apache2.
(Reading database ... 197239 files and directories currently installed.)
Unpacking apache2 (from .../apache2_2.2.4-3_all.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.2.3-1+b1_amd64.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from
.../libapache2-mod-php5_5.2.3-1+b1_amd64.deb) ...
Selecting previously deselected package libmcrypt4.
Unpacking libmcrypt4 (from .../libmcrypt4_2.5.7-5_amd64.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.0.45-1_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.45-1_all.deb) ...
Stopping MySQL database server: mysqld.
Selecting previously deselected package php5.
Unpacking php5 (from .../archives/php5_5.2.3-1_all.deb) ...
Selecting previously deselected package php5-mcrypt.
Unpacking php5-mcrypt (from .../php5-mcrypt_5.2.3-1+b1_amd64.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.2.3-1+b1_amd64.deb) ...
Selecting previously deselected package phpmyadmin.
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.11.0-1_all.deb) ...
Setting up mysql-server-5.0 (5.0.45-1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
Setting up apache2 (2.2.4-3) ...
Setting up php5-common (5.2.3-1+b1) ...
Setting up libapache2-mod-php5 (5.2.3-1+b1) ...
Replacing config file /etc/php5/apache2/php.ini with new version

Setting up libmcrypt4 (2.5.7-5) ...

Setting up mysql-client (5.0.45-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 configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Setting up php5 (5.2.3-1) ...
Setting up php5-mcrypt (5.2.3-1+b1) ...

Setting up php5-mysql (5.2.3-1+b1) ...

Setting up phpmyadmin (4:2.11.0-1) ...
Reloading web server config: apache2invoke-rc.d: unknown initscript,
/etc/init.d/apache not found.
invoke-rc.d: unknown initscript, /etc/init.d/apache-ssl not found.
invoke-rc.d: unknown initscript, /etc/init.d/apache-perl not found.

Errors were encountered while processing:
 mysql-server-5.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


I don't if it is a bug or iam doing some thing wrong ...



- --
- --
Could you at least use man ?
    Jabka Atu (aka mha13/Mashrom Head)
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRv5JW29p6JnF9I1qAQLPaA//RiQNdKaQjgAY5SaPVOx5R/vN0MzrTlE/
/Ofjt84N73Ga6pzf4feAHrzdUqBje2nPmyr6MBpnxfsSkHr4IULZY1pkESL4GE3u
BsNzwGt3x1WznEjj8V53H8XkGAZQ8f+YQgegCGf9290ahRvYWSbo+UBsm2zXrMQ8
MLqKQ5dc3FF4jQsiuVqVXRDpehNh9a3DAMB5lQNfIGp4R0L+JLNEeYMJ+T1kPgAM
IOqnSGrC+hDtINQ860hCkHeXeUxzd5f8zNsuMUJ1Jd6HCb3CxDaz0khaz2k60WkQ
ITd0zLB69OMdNYTeInIxfuUdFGw4LHAu64uzYbLwzANIqfuCKPofgrLtdu1PUPnZ
wB8KUB/V/bbwrTaV9veXKjmHQpL1tykgBaYYCcpw5Iylom/XPVQM2HZGIwNOEC26
uC5o3E4lbwIhMG+7n/G1QloT8Aw7i0agboR1m9bBxO2dUzJtwMuo3accyVAY+Xg/
njAErshAgyGvliYPTKN7MxwGqMhtWcKIS+VfKNWMkQxtvMfd7G1eo+nalBK4gBWN
rSqKQWqYqnNzPFGaWYr2Andv0qVO8Z25mlbv3CBleboypeN/zB2XxlDeHxm/2NVN
1EeLmt5tlvw+qcNam0MXhsWkn1WY4oo+nRmYqVpWbK7ceLw0QAlCEjIN1u61HrrM
kMy1T69DfBk=
=RffO
-----END PGP SIGNATURE-----



Reply to: