[Bug 205608] Re: libapache2-mod-php5 can't be configured

Ralph Janke ralph at janke.me.uk
Mon Oct 27 03:04:35 GMT 2008


Since this seem to be happening only in a particular environment, and
there exists a workaround, I am closing this report. If you can provide
the information how to reproduce the problem please feel free to set the
status back to 'New'.

Thanks again for your support.

** Changed in: php5 (Ubuntu)
   Importance: Undecided => Low
       Status: Incomplete => Won't Fix

** Changed in: php5 (Ubuntu)
     Assignee: Ralph Janke (txwikinger) => (unassigned)

** Description changed:

  Binary package hint: php5
  
  hi,
  I tried to install LAMP but when it wants to configure the package "libapache2-mod-php5" it says: 
         Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
         dpkg: error processing libapache2-mod-php5 (--configure):
         subprocess post-installation script returned error exit status 9
  
  I tried to remove/purge/reinstall/configure/reconfigure by apt-get and
  aptitude in 3 systems running (k)ubuntu but the result was same.
  
  its my full story:
  ----------------
  $ sudo apt-get install apache2 php5 mysql-server libapache2-mod-auth-mysql php5-mysql
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  apache2 is already the newest version.
  php5 is already the newest version.
  The following extra packages will be installed:
    mysql-server-5.0
  Suggested packages:
    tinyca mysql-doc-5.0
  Recommended packages:
    mailx
  The following NEW packages will be installed:
    libapache2-mod-auth-mysql mysql-server mysql-server-5.0 php5-mysql
  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  2 not fully installed or removed.
  Need to get 0B/26.9MB of archives.
  After unpacking 84.9MB of additional disk space will be used.
  Do you want to continue [Y/n]?
  Media change: please insert the disc labeled
   'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)'
  in the drive '/cdrom/' and press enter
  
  Preconfiguring packages ...
  Selecting previously deselected package mysql-server-5.0.
  (Reading database ... 200731 files and directories currently installed.)
  Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.45-1ubuntu3.3_i386.deb) ...
  Selecting previously deselected package libapache2-mod-auth-mysql.
  Unpacking libapache2-mod-auth-mysql (from .../libapache2-mod-auth-mysql_4.3.9-4_i386.deb) ...
  Selecting previously deselected package mysql-server.
  Unpacking mysql-server (from .../mysql-server_5.0.45-1ubuntu3.3_all.deb) ...
   * Stopping MySQL database server mysqld                                                                 [ OK ]
  Selecting previously deselected package php5-mysql.
  Unpacking php5-mysql (from .../php5-mysql_5.2.3-1ubuntu6.3_i386.deb) ...
  Setting up libapache2-mod-php5 (5.2.3-1ubuntu6.3) ...
  Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, <GEN0> line 1.
  dpkg: error processing libapache2-mod-php5 (--configure):
   subprocess post-installation script returned error exit status 9
  dpkg: dependency problems prevent configuration of php5:
   php5 depends on libapache2-mod-php5 (>= 5.2.3-1ubuntu6.3) | php5-cgi (>= 5.2.3-1ubuntu6.3); however:
    Package libapache2-mod-php5 is not configured yet.
    Package php5-cgi is not installed.
  dpkg: error processing php5 (--configure):
   dependency problems - leaving unconfigured
  Setting up mysql-server-5.0 (5.0.45-1ubuntu3.3) ...
   * Stopping MySQL database server mysqld                                                                 [ OK ]
   * Starting MySQL database server mysqld                                                                 [ OK ]
   * Checking for corrupt, not cleanly closed and upgrade needing tables.
  
  Setting up libapache2-mod-auth-mysql (4.3.9-4) ...
  Setting up mysql-server (5.0.45-1ubuntu3.3) ...
  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.
    Package php5-cli which provides phpapi-20060613+lfs is not installed.
    Package php5-cgi which provides phpapi-20060613+lfs is not installed.
  dpkg: error processing php5-mysql (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   libapache2-mod-php5
   php5
   php5-mysql
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  --------------------
+ 
+ 
+ WORKAROUND: Run /usr/share/debconf/fix_db.pl as root user

-- 
libapache2-mod-php5 can't be configured
https://bugs.launchpad.net/bugs/205608
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list