[debian-mysql] Bug#444107: [Fwd: unable to install mysql (lamp) (post-installation script returned error exit status 1)]

Jabka Atu mashrom.head at gmail.com
Sat Sep 29 16:29:53 UTC 2007


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

Im not sure but i guess it is related to this bug

- -------- Original Message --------
Subject:     unable to install mysql (lamp) (post-installation script
returned error exit status 1)
Date:     Sat, 29 Sep 2007 14:47:23 +0200
From:     Jabka Atu
To:     debian-user at lists.debian.org



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 ...



ok i tried running it manualy :
acerium:/# /etc/init.d/mysql start
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

dpkg-reconfigure mysql-server
/usr/sbin/dpkg-reconfigure: mysql-server is broken or not fully installed

apt-get install mysql-server
.
.
.
.

Starting MySQL database server: mysqld . . . . .dpkg: error processing
mysql-server-5.0 (--configure):
 subprocess post-installation script killed by signal (Interrupt)
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):


ok install mysql-server-5.0 ?

acerium:/# apt-get install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server-5.0 is already the newest version.
mysql-server-5.0 set to manual installed.
0 upgraded, 0 newly installed, 0 to remove and 305 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up mysql-server-5.0 (5.0.45-1) ...
Stopping MySQL database server: mysqld.

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
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
Errors were encountered while processing:
 mysql-server-5.0
 mysql-server

wtf ?

acerium:/# apt-cache policy mysql-server
mysql-server:
  Installed: 5.0.45-1
  Candidate: 5.0.45-1
  Version table:
 *** 5.0.45-1 0
        500 http://mirror.isoc.org.il testing/main Packages
        100 /var/lib/dpkg/status
acerium:/# apt-cache policy mysql-server-5.0
mysql-server-5.0:
  Installed: 5.0.45-1
  Candidate: 5.0.45-1
  Version table:
 *** 5.0.45-1 0
        500 http://mirror.isoc.org.il testing/main Packages
        100 /var/lib/dpkg/status


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

iQIVAwUBRv59gW9p6JnF9I1qAQLoWQ//SfIFnFxZrbYGFSZbPH+0+YNpQ4Nbv7+u
oneIEbZUpvf1PXbR9/EPNSsG2U8khlVdZFt6gQQKd+0iiTfT3oU+wurS6JZbXT83
kMYnSUICJ9XuOGaJSuBrPAbE3tO1qayMzhxYCGnpMjVqUIrVN7GEj33O1AklkliO
YBB9YjM+FcgkAwr4/Yxnjyu3Il/CAfIE0FJJqu9/AfdJhfzw2ZPhkIcmN7J9hZxU
XUfgNDjHJOZSV8adOaQQoyWi53W59rTAcT6XMXw/LGAuMGl2yIjJ8Eg2rWYhAc+h
xxixrdHoOGEX68YouXBOItndxLFiTTbPWVOpixS9iEi/hUoQICiSyJN1CUZ9Q3Bd
yv6EQNvX7afxSo+zLT60Q63pjlw3i1+dsv64IG8LUgIIgB0pdFJabuy3bGNGAx3S
BjRzZR2fz47KCOsr3+j49CIhjE7Dx5nJaebWGehqh+F4PtyEBSo60NbSQ0P6TvRw
HVjxoMvY0Ry405eIf1OFXe7ZCydi3IdCrZzDZlMuVCrb93auvmj8+iTm23PP3Jrc
sJAphxR/hRL1KVW274HtHm4n4DBDsB5Dzbul1gvmTtN48ilRgx6fHYhW28quY9vl
F6+D7lNoSmkw6TNYUhh3ug2hT9NroX7ODLgG75f3B20qhnTXjPchOMwzvUegLPu4
L4TkITo8v14=
=NObf
-----END PGP SIGNATURE-----






More information about the pkg-mysql-maint mailing list